]> granicus.if.org Git - pdns/commitdiff
auth: Don't complain that glues are occluded by a delegation
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 Nov 2017 11:42:22 +0000 (12:42 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 13 Nov 2017 11:42:22 +0000 (12:42 +0100)
pdns/pdnsutil.cc

index 189d39f6d1943300ecb30c67808ef26c2a4ae3c9..7edc39d574fc5f913dfa6901404e9723551ec5e9 100644 (file)
@@ -524,7 +524,7 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect
 
   for(const auto &qname : checkOcclusion) {
     for (const auto &q : recs) {
-      if (q.first.isPartOf(qname.first)) {
+      if (q.first.isPartOf(qname.first) && !checkglue.count(q.first)) {
         cout<<"[Warning] '"<<q.first<<"|"<<q.second.getName()<<"' in zone '"<<zone<<"' is occluded by a ";
         if (qname.second == QType::NS) {
           cout<<"delegation";