|
2061 |
return 0; |
2061 |
return 0; |
2062 |
} |
2062 |
} |
2063 |
|
2063 |
|
2064 |
if(iq->minimisation_state == INIT_MINIMISE_STATE) { |
2064 |
if(iq->minimisation_state == INIT_MINIMISE_STATE |
|
|
2065 |
&& !(iq->chase_flags & BIT_RD)) { |
2065 |
/* (Re)set qinfo_out to (new) delegation point, except when |
2066 |
/* (Re)set qinfo_out to (new) delegation point, except when |
2066 |
* qinfo_out is already a subdomain of dp. This happens when |
2067 |
* qinfo_out is already a subdomain of dp. This happens when |
2067 |
* increasing by more than one label at once (QNAMEs with more |
2068 |
* increasing by more than one label at once (QNAMEs with more |
|
2586 |
sock_list_insert(&qstate->reply_origin, |
2587 |
sock_list_insert(&qstate->reply_origin, |
2587 |
&qstate->reply->addr, qstate->reply->addrlen, |
2588 |
&qstate->reply->addr, qstate->reply->addrlen, |
2588 |
qstate->region); |
2589 |
qstate->region); |
2589 |
if(iq->minimisation_state != DONOT_MINIMISE_STATE) { |
2590 |
if(iq->minimisation_state != DONOT_MINIMISE_STATE |
|
|
2591 |
&& !(iq->chase_flags & BIT_RD)) { |
2590 |
if(FLAGS_GET_RCODE(iq->response->rep->flags) != |
2592 |
if(FLAGS_GET_RCODE(iq->response->rep->flags) != |
2591 |
LDNS_RCODE_NOERROR) { |
2593 |
LDNS_RCODE_NOERROR) { |
2592 |
if(qstate->env->cfg->qname_minimisation_strict) |
2594 |
if(qstate->env->cfg->qname_minimisation_strict) |