From: menakite <29005531+menakite@users.noreply.github.com> Date: Thu, 29 Aug 2024 04:14:27 +0000 (+0200) Subject: resolver: update documentation for flag KR_RANK_AUTH. X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fenvironments%2Fdocs-develop-twea-cxeq9z%2Fdeployments%2F5083;p=thirdparty%2Fknot-resolver.git resolver: update documentation for flag KR_RANK_AUTH. fixup! resolver: update documentation for flag KR_RANK_AUTH. --- diff --git a/lib/resolve.h b/lib/resolve.h index 856d7ae15..8de56a6bf 100644 --- a/lib/resolve.h +++ b/lib/resolve.h @@ -118,6 +118,11 @@ enum kr_rank { KR_RANK_AUTH = 16, KR_RANK_SECURE = 32, /**< Verified whole chain of trust from the closest TA. */ + + /** Authoritative data from the resolver itself (e.g. local data rules). + * It is meant to be alternative to KR_RANK_AUTH (can't have both), + * and is normally paired with KR_RANK_OMIT. + * Its presence determines if the AA bit is set in the response. */ KR_RANK_AUTH_LOCAL = 33, /* @note Rank must not exceed 6 bits */ };