From: Kees Monshouwer Date: Tue, 26 Mar 2019 23:51:57 +0000 (+0100) Subject: auth: fix referral response for DS queries X-Git-Tag: rec-4.2.0-rc1~36^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd65c85dc9ae30fb8734cf6b5d6a81f6136e1778;p=thirdparty%2Fpdns.git auth: fix referral response for DS queries --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 72888474af..40ae41871d 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -1448,19 +1448,38 @@ DNSPacket *PacketHandler::doQuestion(DNSPacket *p) return 0; } - if(rrset.empty()) { - DLOG(g_log<<"checking if qtype is DS"<qtype.getCode() == QType::DS) - { + + // referral for DS query + if(p->qtype.getCode() == QType::DS) { + DLOG(g_log<<"Qtype is DS"<