]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove find_deepest_zonecut() from qpcache
authorEvan Hunt <each@isc.org>
Sat, 21 Mar 2026 04:45:29 +0000 (21:45 -0700)
committerColin Vidal <colin@isc.org>
Mon, 30 Mar 2026 18:41:13 +0000 (20:41 +0200)
commitdc6202479f00aade2ada48e72ce35d45a1062235
tree5287e21c28d82a7dcf8ca64b691607f723ac3910
parentf20a612ae78fd43d929169501b854c3e218b597e
remove find_deepest_zonecut() from qpcache

because the cache no longer stores delegation (parent-side) NS rrsets,
and authoritative (child-side) NS rrsets don't affect recursion,
it no longer makes sense for qpcache_find() to look for NS rrsets
and return DNS_R_DELEGATION. that code has been removed.

the cache still does search for covering DNAME records. the
check_zonecut() function has been renamed to check_dname() for clarity.

related changes:
- one test case has been removed from the mirror system test, because it
  tested the behavior of a cached delegation.
- query_checkrrl() and rpz_rrset_find() have been updated so they no
  longer expect cache responses to have DNS_R_DELEGATION response codes.
bin/tests/system/mirror/tests.sh
lib/dns/include/dns/db.h
lib/dns/qpcache.c
lib/ns/query.c