]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
resolver: update documentation for flag KR_RANK_AUTH. docs-develop-twea-cxeq9z/deployments/5083 tweak-ad-set-aa
authormenakite <29005531+menakite@users.noreply.github.com>
Thu, 29 Aug 2024 04:14:27 +0000 (06:14 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 9 Sep 2024 11:14:37 +0000 (13:14 +0200)
fixup! resolver: update documentation for flag KR_RANK_AUTH.

lib/resolve.h

index 856d7ae1513d8628e94c90246342f523c1cde4dc..8de56a6bf089acd54f620e564a91a22c1acb6b81 100644 (file)
@@ -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 */
 };