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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f02f830f47eeea6575c5062ef1114ffe40899ae1;p=pdns 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 b9fe44834..1c1bf3264 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;