From f0bb9f51f8c0a38ee93d7daa7855799b47a6f90f Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Wed, 12 Jul 2017 21:29:52 +0200 Subject: [PATCH] auth: xternal child zones did confuse getAuth() for qytpe DS --- pdns/ueberbackend.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/ueberbackend.cc b/pdns/ueberbackend.cc index 008f28144..40665bea1 100644 --- a/pdns/ueberbackend.cc +++ b/pdns/ueberbackend.cc @@ -337,7 +337,6 @@ bool UeberBackend::getAuth(const DNSName &target, const QType& qtype, SOAData* s DNSZoneRecord rr; rr.dr.d_name = sd->qname; rr.dr.d_type = QType::SOA; - rr.dr.d_content = makeSOAContent(*sd); rr.dr.d_ttl = sd->ttl; rr.domain_id = sd->domain_id; @@ -347,7 +346,7 @@ bool UeberBackend::getAuth(const DNSName &target, const QType& qtype, SOAData* s } found: - if(found == (qtype == QType::DS)){ + if(found == (qtype == QType::DS) || target != choppedOff) { DLOG(L<qname<