]> git.ipfire.org Git - thirdparty/bind9.git/commit
ensure RPZ lookups handle CD=1 correctly
authorEvan Hunt <each@isc.org>
Tue, 18 Oct 2022 20:48:52 +0000 (13:48 -0700)
committerEvan Hunt <each@isc.org>
Wed, 19 Oct 2022 20:16:51 +0000 (13:16 -0700)
commit8e4a1f3483bedf262504583605ec07205bd17c2a
tree3cb7a3def68bb1fd86105a352f1db585adc39633
parent8097e97d9b3b7c6bad92b70537b901277662b302
ensure RPZ lookups handle CD=1 correctly

RPZ rewrites called dns_db_findext() without passing through the
client database options; as as result, if the client set CD=1,
DNS_DBFIND_PENDINGOK was not used as it should have been, and
cache lookups failed, resulting in failure of the rewrite.

(cherry picked from commit 305a50dbe12a43b0ee429c2e9bee04f35a8047c4)
lib/ns/query.c