]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: do not use the metadata cache for AXFR
authorKees Monshouwer <mind04@monshouwer.org>
Sun, 17 Jul 2022 19:18:30 +0000 (21:18 +0200)
committermind04 <mind04@monshouwer.org>
Sun, 17 Jul 2022 22:06:43 +0000 (00:06 +0200)
pdns/slavecommunicator.cc

index 7c8d76af8e77fafe595d8813bbc4cfbd4de5cf1b..6bd209aea5d328ee04bee42be0f53c8c27b76f4c 100644 (file)
@@ -718,10 +718,10 @@ void CommunicatorClass::suck(const DNSName &domain, const ComboAddress& remote,
 
 
     vector<DNSResourceRecord> rrs;
-    if(dk.isSecuredZone(domain)) {
+    if (dk.isSecuredZone(domain, false)) {
       hadDnssecZone=true;
-      hadPresigned=dk.isPresigned(domain);
-      if (dk.getNSEC3PARAM(domain, &zs.ns3pr, &zs.isNarrow)) {
+      hadPresigned = dk.isPresigned(domain, false);
+      if (dk.getNSEC3PARAM(domain, &zs.ns3pr, &zs.isNarrow, false)) {
         hadNSEC3 = true;
         hadNs3pr = zs.ns3pr;
         hadNarrow = zs.isNarrow;
@@ -779,7 +779,7 @@ void CommunicatorClass::suck(const DNSName &domain, const ComboAddress& remote,
     }
 
     if(!zs.isPresigned) {
-      DNSSECKeeper::keyset_t keys = dk.getKeys(domain);
+      DNSSECKeeper::keyset_t keys = dk.getKeys(domain, false);
       if(!keys.empty()) {
         zs.isDnssecZone = true;
         zs.isNSEC3 = hadNSEC3;