]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
expand any-to-tcp to direct RRSIG queries
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 18 Jun 2013 17:02:13 +0000 (19:02 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 18 Jun 2013 17:02:13 +0000 (19:02 +0200)
pdns/packethandler.cc

index 27fcd1b09666186ac2ac1bcb4d901b613551d116..f9eaa2dc01ff6e3aae71d0b52625a8565d0d6206 100644 (file)
@@ -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;