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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e96f1744f96c12f145313d18e8a4c30dff439073;p=pdns pdnsutil: Fix rectify message for non-DNSSEC zones Closes: #3392 --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 1e5b1c08a..ffb2c34fa 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 "<