]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
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)
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


Trivial merge