From: Kees Monshouwer Date: Fri, 23 Feb 2024 15:22:05 +0000 (+0100) Subject: auth: do not disable ns records at apex in consumer zones X-Git-Tag: dnsdist-1.10.0-alpha0~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4057f3d0af4e0b6c23cb7a85838c2d3c4e667dca;p=thirdparty%2Fpdns.git auth: do not disable ns records at apex in consumer zones --- diff --git a/pdns/auth-secondarycommunicator.cc b/pdns/auth-secondarycommunicator.cc index fb0e73c7a8..9f21e81256 100644 --- a/pdns/auth-secondarycommunicator.cc +++ b/pdns/auth-secondarycommunicator.cc @@ -331,6 +331,9 @@ static bool catalogProcess(const DomainInfo& di, vector& rrs, hasSOA = true; continue; } + if (rr.qtype == QType::NS) { + continue; + } } else if (rr.qname == DNSName("version") + di.zone && rr.qtype == QType::TXT) {