From: Pieter Lexis Date: Tue, 22 Mar 2016 15:00:06 +0000 (+0100) Subject: pdnsutil: Fix rectify message for non-DNSSEC zones X-Git-Tag: dnsdist-1.0.0-beta1~63^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3611%2Fhead;p=thirdparty%2Fpdns.git pdnsutil: Fix rectify message for non-DNSSEC zones Closes: #3392 --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 1e5b1c08ad..ffb2c34fa8 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -179,7 +179,7 @@ bool rectifyZone(DNSSECKeeper& dk, const DNSName& zone) bool narrow; bool haveNSEC3=dk.getNSEC3PARAM(zone, &ns3pr, &narrow); bool isOptOut=(haveNSEC3 && ns3pr.d_flags); - if(sd.db->doesDNSSEC()) + if(dk.isSecuredZone(zone)) { if(!haveNSEC3) cerr<<"Adding NSEC ordering information "<