]> git.ipfire.org Git - thirdparty/bind9.git/commit
Test that an expired RRset does not block negative caching
authorOndřej Surý <ondrej@isc.org>
Mon, 20 Jul 2026 05:52:03 +0000 (07:52 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 20 Jul 2026 05:52:03 +0000 (07:52 +0200)
commit70a2ba16b18f4469a842e708be377f8939f8eb5d
treeb01d28b4e717ff135986d166de7dc663f934e56e
parent89b0572f3a26c25eff51ca0888e37f8f14ec3dcb
Test that an expired RRset does not block negative caching

Cover the inverse of the CD=1 NXDOMAIN guard: a validated RRset that
has passed its TTL, but has not yet been cleaned from the cache, must
not block the unvalidated negative entry. Before the fix the CD=1
query failed with SERVFAIL until the expired header was reaped.

Assisted-by: Claude:claude-fable-5
bin/tests/system/cdnxdomain/tests_cdnxdomain.py