From: Peter van Dijk Date: Tue, 18 Jun 2013 17:02:13 +0000 (+0200) Subject: expand any-to-tcp to direct RRSIG queries X-Git-Tag: auth-3.3-rc2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ee9ba2930a1fc1aa037ff7e1d5d425ae980f7cd;p=thirdparty%2Fpdns.git expand any-to-tcp to direct RRSIG queries --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 27fcd1b096..f9eaa2dc01 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -1183,7 +1183,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse) if(doVersionRequest(p,r,target)) // catch version.bind requests goto sendit; - if(p->qtype.getCode() == QType::ANY && !p->d_tcp && g_anyToTcp) { + if((p->qtype.getCode() == QType::ANY || p->qtype.getCode() == QType::RRSIG) && !p->d_tcp && g_anyToTcp) { r->d.tc = 1; r->commitD(); return r;