From: bert hubert Date: Tue, 16 Aug 2016 11:10:40 +0000 (+0200) Subject: fix up attempting to do additional processing on SRV records where we have nothing... X-Git-Tag: rec-4.0.2~27^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=148affac384ecc1dcd17001c8202b4c6c7aa15b2;p=thirdparty%2Fpdns.git fix up attempting to do additional processing on SRV records where we have nothing to resolve. This may in fact be a root SRV issue. --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index e0f61d4651..0aa925aa8f 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -411,6 +411,8 @@ int PacketHandler::doAdditionalProcessingAndDropAA(DNSPacket *p, DNSPacket *r, c if (parts.size() >= 3) { B.lookup(QType(d_doIPv6AdditionalProcessing ? QType::ANY : QType::A), DNSName(parts[2]), p); } + else + continue; } else { B.lookup(QType(d_doIPv6AdditionalProcessing ? QType::ANY : QType::A), DNSName(content), p);