From 5139e8e2131a29dec167bf2f49f6edabaf181c18 Mon Sep 17 00:00:00 2001 From: menakite <29005531+menakite@users.noreply.github.com> Date: Thu, 29 Aug 2024 06:14:27 +0200 Subject: [PATCH] resolver: update documentation for flag KR_RANK_AUTH. fixup! resolver: update documentation for flag KR_RANK_AUTH. --- lib/resolve.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ }; -- 2.47.2