Skip to content

Commit 2ee9ba2

Browse files
author
Peter van Dijk
committed
expand any-to-tcp to direct RRSIG queries
1 parent 1ff23d4 commit 2ee9ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdns/packethandler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse)
11831183
if(doVersionRequest(p,r,target)) // catch version.bind requests
11841184
goto sendit;
11851185

1186-
if(p->qtype.getCode() == QType::ANY && !p->d_tcp && g_anyToTcp) {
1186+
if((p->qtype.getCode() == QType::ANY || p->qtype.getCode() == QType::RRSIG) && !p->d_tcp && g_anyToTcp) {
11871187
r->d.tc = 1;
11881188
r->commitD();
11891189
return r;

0 commit comments

Comments
 (0)