From: bert hubert Date: Tue, 28 Apr 2015 11:36:24 +0000 (+0200) Subject: added a commented-out line to change auth traffic into recursive traffic X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~88^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=590a5b4aa35460b2d353cd1a0fb99fc5244e29cb;p=pdns added a commented-out line to change auth traffic into recursive traffic --- 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;