From 590a5b4aa35460b2d353cd1a0fb99fc5244e29cb Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 28 Apr 2015 13:36:24 +0200 Subject: [PATCH] added a commented-out line to change auth traffic into recursive traffic --- pdns/dnsreplay.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsreplay.cc b/pdns/dnsreplay.cc index 9e8135617..dbe36bed4 100644 --- a/pdns/dnsreplay.cc +++ b/pdns/dnsreplay.cc @@ -553,6 +553,7 @@ bool sendPacketFromPR(PcapPacketReader& pr, const ComboAddress& remote) qd.d_assignedID = s_idmanager.getID(); uint16_t tmp=dh->id; dh->id=htons(qd.d_assignedID); + // dh->rd=1; // useful to replay traffic to auths to a recursor s_socket->sendTo((const char*)pr.d_payload, pr.d_len, remote); sent=true; dh->id=tmp; -- 2.49.0