]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: external child zones did confuse getAuth() for qytpe DS
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 12 Jul 2017 19:29:52 +0000 (21:29 +0200)
committermind04 <mind04@monshouwer.org>
Thu, 13 Jul 2017 13:16:50 +0000 (15:16 +0200)
pdns/ueberbackend.cc

index 8934146d92f142d6b909ec551107d67d2dd732a9..34ba5b025f99a8e0848bd92c9cdf5868ee6bf4d5 100644 (file)
@@ -349,7 +349,7 @@ bool UeberBackend::getAuth(DNSPacket *p, SOAData *sd, const DNSName &target)
     }
 
 found:
-    if(found == (p->qtype == QType::DS)){
+    if(found == (p->qtype == QType::DS) || target != choppedOff) {
       DLOG(L<<Logger::Error<<"found: "<<sd->qname<<endl);
       return true;
     } else {