From: Matthijs Mekking Date: Mon, 13 Feb 2023 13:36:20 +0000 (+0100) Subject: Add 'dns_dnssec_syncupdate' argument descriptions X-Git-Tag: v9.19.11~14^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2c0c4ed4ef5f7a7dd730b6ed8c45d2dc0f2a58d;p=thirdparty%2Fbind9.git Add 'dns_dnssec_syncupdate' argument descriptions --- diff --git a/lib/dns/include/dns/dnssec.h b/lib/dns/include/dns/dnssec.h index 40a3c531efe..7b776444595 100644 --- a/lib/dns/include/dns/dnssec.h +++ b/lib/dns/include/dns/dnssec.h @@ -356,6 +356,22 @@ dns_dnssec_syncupdate(dns_dnsseckeylist_t *keys, dns_dnsseckeylist_t *rmkeys, /*%< * Update the CDS and CDNSKEY RRsets, adding and removing keys as needed. * + * For each key in 'keys', check if corresponding CDS and CDNSKEY records + * need to be published. If needed, there will be one CDNSKEY record added to + * the 'cdnskey' RRset and one CDS record to the 'cds' RRset for each digest + * type in 'digests'. + * + * For each key in 'rmkeys', remove any associated CDS and CDNSKEY records from + * the RRsets 'cds' and 'cdnskey'. + * + * 'hint_ttl' is the TTL to use for the CDS and CDNSKEY RRsets if there is no + * existing RRset. + * + * Any changes made also cause a dns_difftuple to be added to 'diff'. + * + * Requires: + *\li 'digests' is not NULL. + * * Returns: *\li ISC_R_SUCCESS *\li Other values indicate error