if (super->return_rcode != LDNS_RCODE_NOERROR)
super->return_rcode = qstate->return_rcode;
+ /* Since the super qstate has a new response, its errinf is removed. */
+ super->errinf = NULL;
+
/* Generate a response suitable for the original query. */
if (qstate->qinfo.qtype == LDNS_RR_TYPE_A) {
dns64_adjust_a(id, super, qstate);
Qifan Zhang, Palo Alto Networks, for the report.
- Fix integer overflow in infra-cache-max-rtt calculation.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
+ - Fix erroneous DNS error report values after bogus AAAA
+ query caused error information that was not cleared by
+ a successful A subquery. Thanks to Qifan Zhang, Palo Alto
+ Networks, for the report.
12 June 2026: Wouter
- Fix that for auth-zone and rpz zones the allow-notify
}
}
- if(mstate->reply_list && mstate->s.env->cfg->dns_error_reporting)
+ if(mstate->reply_list && mstate->s.env->cfg->dns_error_reporting
+ && (!rep || rep->security != sec_status_secure))
dns_error_reporting(&mstate->s, rep);
for(r = mstate->reply_list; r; r = r->next) {