From: Kees Monshouwer Date: Wed, 29 Apr 2015 22:52:21 +0000 (+0200) Subject: import pdnssec checkZone() from master X-Git-Tag: auth-3.3.2~2^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79addc08987c5575ad5a592109c7c3f470d9818;p=thirdparty%2Fpdns.git import pdnssec checkZone() from master --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index f3d36fa12d..8bda743303 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -350,10 +350,19 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone) SOAData sd; sd.db=(DNSBackend*)-1; if(!B.getSOA(zone, sd)) { - cout<<"No SOA for zone '"<list(zone, sd.domain_id); DNSResourceRecord rr; uint64_t numrecords=0, numerrors=0, numwarnings=0; @@ -396,20 +405,14 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone) if (rr.qtype.getCode() != QType::AAAA) { if (!pdns_iequals(tmp, rr.content)) { cout<<"[Warning] Parsed and original record content are not equal: "<(toLower(content.str()), rr.ttl)); if (ret.second == false && ret.first->second != rr.ttl) { cout<<"[Error] TTL mismatch in rrset: '"<second<<" != "<