]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Add more debug information to `getDenial()`
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 29 Jun 2026 15:45:39 +0000 (17:45 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 5 Aug 2026 10:10:45 +0000 (12:10 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/validate.cc

index 29d7abf43c3c40b21b82a3385e941813d7155558..f52aca8a36414cd338f3ba64faa3d0004d5da063 100644 (file)
@@ -748,7 +748,7 @@ dState getDenial(const cspmap_t& validrrsets, const DNSName& qname, const uint16
         numberOfLabelsOfParentZone = std::min(numberOfLabelsOfParentZone, static_cast<uint8_t>(signer.countLabels()));
 
         if (!qname.isPartOf(signer)) {
-          VLOG(log, qname << ": is not part of the signer (" << signer << ")!" << endl);
+          VLOG(log, qname << ": Qname " << qname << " is not part of the signer " << signer << ", ignoring" << endl);
           continue;
         }
 
@@ -860,6 +860,7 @@ dState getDenial(const cspmap_t& validrrsets, const DNSName& qname, const uint16
             }
 
             if (!closestEncloser.isPartOf(signer)) {
+              VLOG(log, qname << ": Closest encloser " << closestEncloser << " is not part of the signer " << signer << ", ignoring" << endl);
               continue;
             }
 
@@ -970,6 +971,7 @@ dState getDenial(const cspmap_t& validrrsets, const DNSName& qname, const uint16
             }
 
             if (!nextCloser.isPartOf(signer)) {
+              VLOG(log, qname << ": Next closer " << nextCloser << " is not part of the signer " << signer << ", ignoring" << endl);
               continue;
             }