- For #1207: [FR] Support for RESINFO RRType 261 (RFC9606), add

LDNS_RR_TYPE_RESINFO similar to LDNS_RR_TYPE_TXT.
This commit is contained in:
Yorgos Thessalonikefs 2024-12-20 15:04:34 +01:00
parent 71d821fde9
commit e57e537c85
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
20 December 2024: Yorgos
- For #1207: [FR] Support for RESINFO RRType 261 (RFC9606), add
LDNS_RR_TYPE_RESINFO similar to LDNS_RR_TYPE_TXT.
13 December 2024: Yorgos 13 December 2024: Yorgos
- Merge #1204: ci: set persist-credentials: false for actions/checkout - Merge #1204: ci: set persist-credentials: false for actions/checkout
per zizmor suggestion. per zizmor suggestion.

View file

@ -617,6 +617,12 @@ static sldns_rr_descriptor rdata_field_descriptors[] = {
{(enum sldns_enum_rr_type)0, "TYPE258", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 }, {(enum sldns_enum_rr_type)0, "TYPE258", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
#endif #endif
{(enum sldns_enum_rr_type)0, "TYPE259", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
{(enum sldns_enum_rr_type)0, "TYPE260", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
/* 261 */
{LDNS_RR_TYPE_RESINFO, "RESINFO", 1, 0, NULL, LDNS_RDF_TYPE_STR, LDNS_RR_NO_COMPRESS, 0 },
/* split in array, no longer contiguous */ /* split in array, no longer contiguous */
#ifdef DRAFT_RRTYPES #ifdef DRAFT_RRTYPES

View file

@ -229,6 +229,8 @@ enum sldns_enum_rr_type
LDNS_RR_TYPE_CAA = 257, /* RFC 6844 */ LDNS_RR_TYPE_CAA = 257, /* RFC 6844 */
LDNS_RR_TYPE_AVC = 258, LDNS_RR_TYPE_AVC = 258,
LDNS_RR_TYPE_RESINFO = 261, /* RFC 9606 */
/** DNSSEC Trust Authorities */ /** DNSSEC Trust Authorities */
LDNS_RR_TYPE_TA = 32768, LDNS_RR_TYPE_TA = 32768,
/* RFC 4431, 5074, DNSSEC Lookaside Validation */ /* RFC 4431, 5074, DNSSEC Lookaside Validation */