From: Colin Vidal Date: Mon, 19 Jan 2026 12:46:03 +0000 (+0100) Subject: fix resolver query response doc X-Git-Tag: v9.21.18~20^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e63d5d02a7685ba2e4c4d7b7bf6d986e54163dc;p=thirdparty%2Fbind9.git fix resolver query response doc In case on positive response, the `rctx_authority_positive()` function is called to scan the AUTHORITY section to find NS servers and related RR (glues) to be cached. The doc says the function was called `rctx_authority_scan()`, but it is called `rctx_authority_positive()`. --- diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 6615158261d..e68686b4ebf 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -861,7 +861,7 @@ get_attached_fctx(dns_resolver_t *res, isc_loop_t *loop, const dns_name_t *name, * or any records returned in response to a query of type ANY * (rctx_answer_any()). * - Scan the authority section for NS or other records that may be - * included with a positive answer (rctx_authority_scan()). + * included with a positive answer (rctx_authority_positive()). * * 4. rctx_answer_none(): * - Determine whether this is an NXDOMAIN, NXRRSET, or referral.