From: Kees Monshouwer Date: Fri, 15 Mar 2019 11:14:57 +0000 (+0100) Subject: auth: small optimization in the rectify code for optout narrow zones X-Git-Tag: auth-4.1.8~3^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F7609%2Fhead;p=thirdparty%2Fpdns.git auth: small optimization in the rectify code for optout narrow zones (cherry picked from commit 2885750af64e945ba475fd02f7f3cd5194052202) --- diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index b9fe448341..1c1bf32648 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -691,7 +691,7 @@ bool DNSSECKeeper::rectifyZone(const DNSName& zone, string& error, string& info, } set nsec3set; - if (haveNSEC3) { + if (haveNSEC3 && (!narrow || !isOptOut)) { for (auto &loopRR: rrs) { bool skip=false; DNSName shorter = loopRR.qname;