From: Kees Monshouwer Date: Mon, 9 Sep 2013 20:19:01 +0000 (+0200) Subject: check for duplicate records with pdnssec check-all-zones (Issue #607) X-Git-Tag: auth-3.3.1~34^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd53bd06d4851d0f90434ffce1374be7716193aa;p=thirdparty%2Fpdns.git check for duplicate records with pdnssec check-all-zones (Issue #607) --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index f2aeaf7daa..1f67417c02 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -339,7 +339,7 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone) DNSResourceRecord rr; uint64_t numrecords=0, numerrors=0, numwarnings=0; - set cnames, noncnames; + set records, cnames, noncnames; while(sd.db->get(rr)) { if(!endsOn(rr.qname, zone)) { @@ -351,6 +351,18 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone) if(!rr.qtype.getCode()) continue; + ostringstream content; + content<