Permalink
Browse files

expand any-to-tcp to direct RRSIG queries

  • Loading branch information...
1 parent 1ff23d4 commit 2ee9ba2930a1fc1aa037ff7e1d5d425ae980f7cd @Habbie Habbie committed Jun 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 2ee9ba2

Please sign in to comment.