From: Peter van Dijk Date: Mon, 29 Oct 2012 11:17:27 +0000 (+0000) Subject: make pdnssec warn about out-of-zone data. Patch by Kees Monshouwer, closing #604 X-Git-Tag: auth-3.2-rc1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b191a8357b9093317d4e918ca9f756f508afccb1;p=thirdparty%2Fpdns.git make pdnssec warn about out-of-zone data. Patch by Kees Monshouwer, closing #604 git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2826 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index eed3f6405b..cc62b2b3dd 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -272,6 +272,12 @@ int checkZone(UeberBackend *B, const std::string& zone) uint64_t numrecords=0, numerrors=0, numwarnings=0; while(sd.db->get(rr)) { + if(!endsOn(rr.qname, zone)) { + cout<<"[Warning] The record "<