]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: rpz_rrset_find() now recurses on ISC_R_NOTFOUND
authorEvan Hunt <each@isc.org>
Tue, 24 Mar 2026 00:14:10 +0000 (00:14 +0000)
committerEvan Hunt <each@isc.org>
Tue, 24 Mar 2026 00:14:10 +0000 (00:14 +0000)
commitb9aa862b77cf75e5c100384bc97a3e8e167a802c
tree99af8cc3350f22695b24f99e3ba2a3946ddb4b65
parentb3115825c8fa492d4ac9e4f06888abcf98142bfe
parentae67c1851dcd4ce3e03012f7a6ac6cfa0eb6b37f
fix: dev: rpz_rrset_find() now recurses on ISC_R_NOTFOUND

Previously, `rpz_rrset_find()` behaved differently depending on whether
a cache lookup returned `DNS_R_DELEGATION` or `ISC_R_NOTFOUND`.  The former
indicates the presence of a cached NS rrset, and the latter indicates
that the cache is cold or that all NS rrsets above the query name have
expired. Both results indicate that the caller should recurse, but
`rpz_rrset_find()` only recursed in the case of `DNS_R_DELEGATION`. This
has been fixed and the test updated to match.

Merge branch 'each-rpz-recursion' into 'main'

See merge request isc-projects/bind9!11741