]> 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:12:31 +0000 (13:12 -0700)
commit2cc8874c90e1af5bdbac70434459eb5545dc4ca1
tree861c4bf49b0c97c76864da77ceed395613d3c3b7
parentff5823fa12089df7dd75eea62ec083faf2713aa0
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