rfc-6975

Signaling Cryptographic Algorithm Understanding in DNS Security Extensions (DNSSEC)

S. Crocker, S. Rose
date2013-07 streamIETF areaint wgdnsext statusPROPOSED STANDARD pages9 canonicalhttps://www.rfc-editor.org/rfc/rfc6975 doi10.17487/RFC6975
The DNS Security Extensions (DNSSEC) were developed to provide origin authentication and integrity protection for DNS data by using digital signatures. These digital signatures can be generated using different algorithms. This document specifies a way for validating end-system resolvers to signal to a server which digital signature and hash algorithms they support. The extensions allow the signaling of new algorithm uptake in client code to allow zone administrators to know when it is possible to complete an algorithm rollover in a DNSSEC-signed zone.

Extracted elements (18)

design-rationale §4

Clients are under no obligation to list every algorithm they implement and MAY choose to list only the algorithms they wish to signal. PRIVATEDNS (253) and PRIVATEOID (254) codes are noted as unlikely to be useful to a server and need not be included.

dns, crypto

design-rationale §1

The DAU, DHU, and N3U options are intended to let zone administrators measure client adoption of new algorithms so they can determine when it is safe to complete a DNSSEC algorithm rollover. The survey may span years before a tipping point is reached.

dns, crypto

design-rationale §1

The document explicitly does not introduce a new process for approving DNSSEC algorithms nor recommend which algorithms are mandatory or preferred; it only specifies the signaling mechanism.

dns, crypto

interoperability-note §5

Intermediate DNS proxies are RECOMMENDED to behave like a comparable recursive resolver when dealing with the DAU, DHU, and N3U options, per the guidance in RFC 5625 Section 4.4.2.

dns

normative-requirement §4 MUST

A validating end-system resolver that sets DAU/DHU/N3U options MUST also set the DNSSEC OK (DO) bit to indicate it wishes to receive DNSSEC RRs in the response.

dns, crypto

normative-requirement §6 MUST NOT

Authoritative servers MUST NOT perform any special processing (e.g., RRSIG filtering) triggered by the DAU, DHU, or N3U options, and MUST NOT set these options in any responses.

dns

normative-requirement §4 MUST NOT

Clients MUST NOT include RESERVED algorithm codes in any of the DAU, DHU, or N3U options.

dns, crypto

normative-requirement §4 MUST

If a client sees DAU, DHU, or N3U options in a response, it MUST ignore the option values; these options are only meaningful in queries.

dns

normative-requirement §4.2.2 MUST

Non-validating recursive resolvers MUST copy the DAU, DHU, and/or N3U option(s) from received queries unchanged, as they represent the wishes of the validating downstream resolver.

dns

normative-requirement §4.1.2 MUST NOT

Non-validating stub resolvers MUST NOT include the DAU, DHU, or N3U EDNS0 options in queries.

dns

normative-requirement §3 MUST NOT

The order of ALG-CODE values within a DAU, DHU, or N3U option MUST NOT be used to infer preference.

dns, crypto

normative-requirement §4.2.1 MUST NOT

Validating recursive resolvers MUST NOT set the DAU, DHU, and/or N3U option(s) in the final response to the stub client.

dns

normative-requirement §4.1.1 SHOULD

Validating stub resolvers SHOULD include the DAU, DHU, and/or N3U option(s) in the OPT RR when sending a query.

dns, crypto

normative-requirement §4.2.1 MUST

When a validating recursive resolver receives a query with DAU/DHU/N3U options set, it MUST set the algorithm list for outgoing iterative queries to the union of the stub client's list and the resolver's own list.

dns, crypto

protocol-element §3

Three new EDNS0 options are defined for clients to signal algorithm support: DAU (DNSSEC Algorithm Understood, option code 5), DHU (DS Hash Understood, option code 6), and N3U (NSEC3 Hash Understood, option code 7). Each option is carried in the OPT meta-RR and is OPTIONAL to implement and use.

dns, crypto, registry

registry §8

IANA allocated option codes 5 (DAU), 6 (DHU), and 7 (N3U) in the 'DNS EDNS0 Option Codes (OPT)' registry, each with status 'standard'. Existing DNSSEC algorithm, DS hash, and NSEC3 hash registries are unchanged.

dns, registry

security-consideration §9

An eavesdropper or server could infer the DNSSEC validator implementation in use by a client from the presence and content of the DAU/DHU/N3U options. This fingerprinting could narrow down the validator software and potentially expose known vulnerabilities to an attacker.

dns, security, privacy

wire-format §3

Each DAU/DHU/N3U option is encoded with a 16-bit OPTION-CODE, a 16-bit LIST-LENGTH (number of octets in the algorithm list), and a variable-length ALG-CODE list where each algorithm code occupies a single octet.

dns, crypto