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/?a=commitdiff_plain;h=refs%2Fpull%2F13841%2Fhead;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) {