4204. [bug] 'dig +trace' failed to lookup the correct type if

the initial root ns query was retried. [RT #40296]
`

(cherry picked from commit 295a711b72)
This commit is contained in:
Mark Andrews
2015-09-12 09:04:37 +10:00
parent 411259a6f2
commit 0ee0aafa30
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
4204. [bug] 'dig +trace' failed to lookup the correct type if
the initial root ns query was retried. [RT #40296]
4202. [bug] isccc_cc_fromwire() could return an incorrect
result. [RT #40614]

View File

@@ -3400,6 +3400,8 @@ recv_done(isc_task_t *task, isc_event_t *event) {
n = requeue_lookup(l, ISC_TRUE);
n->tcp_mode = ISC_TRUE;
n->origin = query->lookup->origin;
if (l->trace && l->trace_root)
n->rdtype = l->qrdtype;
dns_message_destroy(&msg);
isc_event_free(&event);
clear_query(query);