From 2ee9ba2930a1fc1aa037ff7e1d5d425ae980f7cd Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 18 Jun 2013 19:02:13 +0200 Subject: [PATCH] expand any-to-tcp to direct RRSIG queries --- pdns/packethandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3