]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: do not disable ns records at apex in consumer zones 13841/head
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 23 Feb 2024 15:22:05 +0000 (16:22 +0100)
committermind04 <mind04@monshouwer.org>
Sun, 25 Feb 2024 21:53:39 +0000 (22:53 +0100)
pdns/auth-secondarycommunicator.cc

index fb0e73c7a8a9c8ae099a13460d2c88e63eaac777..9f21e81256b6cbe17f20eccd59fe8f710db40e6a 100644 (file)
@@ -331,6 +331,9 @@ static bool catalogProcess(const DomainInfo& di, vector<DNSResourceRecord>& rrs,
         hasSOA = true;
         continue;
       }
+      if (rr.qtype == QType::NS) {
+        continue;
+      }
     }
 
     else if (rr.qname == DNSName("version") + di.zone && rr.qtype == QType::TXT) {