From: Kees Monshouwer Date: Sun, 29 Sep 2013 17:11:32 +0000 (+0200) Subject: pdnssec check-zone, fix record counting and improve out of zone check X-Git-Tag: auth-3.3.1~34^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dde9d060b0ddeef811b30113f54bf10e328dddd;p=thirdparty%2Fpdns.git pdnssec check-zone, fix record counting and improve out of zone check --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 1ced8182f3..e8c0cae543 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -351,11 +351,7 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone) if(!rr.qtype.getCode()) continue; - if(!endsOn(rr.qname, zone)) { - cout<<"[Warning] Record '"<parts; @@ -393,6 +389,12 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone) continue; } + if(!endsOn(rr.qname, zone)) { + cout<<"[Warning] Record '"<::const_iterator i = cnames.begin(); i != cnames.end(); i++) {