]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix resolver query response doc
authorColin Vidal <colin@isc.org>
Mon, 19 Jan 2026 12:46:03 +0000 (13:46 +0100)
committerColin Vidal <colin@isc.org>
Thu, 22 Jan 2026 06:31:00 +0000 (07:31 +0100)
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()`.

lib/dns/resolver.c

index 6615158261ddf9cb7c6f293b0bcf61dc18b75b5c..e68686b4ebfb160601c61e7234ea1b3367618054 100644 (file)
@@ -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.