From: Remi Gacogne Date: Thu, 13 Feb 2020 14:24:42 +0000 (+0100) Subject: rec: Lookup RPZ Client IP rules before qname ones X-Git-Tag: auth-4.3.0-beta2~11^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7e329b836f7ccf4e8cd0c99b5e8aa01865a79f1;p=thirdparty%2Fpdns.git rec: Lookup RPZ Client IP rules before qname ones --- diff --git a/pdns/filterpo.cc b/pdns/filterpo.cc index dbcd59ea5d..273cd7cb71 100644 --- a/pdns/filterpo.cc +++ b/pdns/filterpo.cc @@ -248,6 +248,7 @@ DNSFilterEngine::Policy DNSFilterEngine::getQueryPolicy(const DNSName& qname, co ++count; continue; } + if (z->findClientPolicy(ca, pol)) { // cerr<<"Had a hit on the IP address ("<