From 01c357e651d557f3624ddac9bc70f81ff097174c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 27 Jun 2010 21:40:48 +1200 Subject: [PATCH] Author: Henrik Nordstrom Restart DNS retransmission count when restarting the query as an A lookup --- src/dns_internal.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dns_internal.cc b/src/dns_internal.cc index 5d99c83a7d..3a1d254934 100644 --- a/src/dns_internal.cc +++ b/src/dns_internal.cc @@ -1060,6 +1060,8 @@ idnsGrokReply(const char *buf, size_t sz) // remove the hashed query info idnsDropMessage(message, q); + // reset the query as an A query + q->nsends = 0; q->start_t = current_time; q->id = idnsQueryID(); rfc1035SetQueryID(q->buf, q->id); -- 2.47.3