From: Remi Gacogne Date: Wed, 20 Jul 2016 12:49:04 +0000 (+0200) Subject: rec: RPZ default policy should also override local data RRs X-Git-Tag: auth-4.0.1~22^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db7dcbb1fb2a728a86efeb83b6e0598da5349fec;p=pdns rec: RPZ default policy should also override local data RRs --- diff --git a/pdns/rpzloader.cc b/pdns/rpzloader.cc index 90a2dace3..46bd4c168 100644 --- a/pdns/rpzloader.cc +++ b/pdns/rpzloader.cc @@ -62,9 +62,14 @@ void RPZRecordToPolicy(const DNSRecord& dr, DNSFilterEngine& target, const std:: } } else { - pol.d_kind = DNSFilterEngine::PolicyKind::Custom; - pol.d_custom = dr.d_content; - // cerr<<"Wants custom "<getZoneRepresentation()<<" for "<getZoneRepresentation()<<" for "<