Commit 295a711b authored by Mark Andrews's avatar Mark Andrews
Browse files

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

                        the initial root ns query was retried. [RT #40296]
`
parent 6db5cee1
4204. [bug] 'dig +trace' failed to lookup the correct type if
the initial root ns query was retried. [RT #40296]
4203. [test] The rrchecker system test now tests conversion
to and from unkonwn-type format. [RT #40584]
......
......@@ -3794,6 +3794,8 @@ recv_done(isc_task_t *task, isc_event_t *event) {
l->edns = newedns;
n = requeue_lookup(l, 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);
......@@ -3811,6 +3813,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);
......@@ -3831,6 +3835,8 @@ recv_done(isc_task_t *task, isc_event_t *event) {
n->tcp_mode = ISC_TRUE;
n->seenbadcookie = 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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment