Extensible Delegation for DNS

IETF Datatracker

55 min read Original article ↗
deleg                                                          P. Špaček
Internet-Draft                                                       ISC
Updates: 1034, 1035 (if approved)                               R. Weber
Intended status: Standards Track                     Akamai Technologies
Expires: 1 May 2027                                          D. Lawrence
                                                              Salesforce
                                                         28 October 2026

                     Extensible Delegation for DNS
                          draft-ietf-deleg-13

Abstract

   This document specifies a new extensible method for the delegation of
   authority for a domain in the Domain Name System (DNS) using DELEG
   and DELEGPARAM records.

   A delegation in the DNS enables efficient and distributed management
   of the DNS namespace.  The traditional DNS delegation is based on NS
   records which contain only hostnames of servers and no other
   parameters.  In classic DNS, both parent and child zones contain
   copies of NS delegation records, which can potentially be out of sync
   and confusing.  The new delegation records are extensible, can be
   secured with DNSSEC, and eliminate the problem of having two sources
   of truth for delegation information.

About This Document

   This note is to be removed before publishing as an RFC.

   The latest revision of this draft can be found at https://github.com/
   ietf-wg-deleg/draft-ietf-deleg-base/tree/gh-pages.  Status
   information for this document may be found at
   https://datatracker.ietf.org/doc/draft-ietf-deleg/.

   Discussion of this document takes place on the deleg Working Group
   mailing list (mailto:dd@ietf.org), which is archived at
   https://mailarchive.ietf.org/arch/browse/dd/.  Subscribe at
   https://www.ietf.org/mailman/listinfo/dd/.

   Source for this draft and an issue tracker can be found at
   https://github.com/ietf-wg-deleg/draft-ietf-deleg-base/.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

Špaček, et al.             Expires 1 May 2027                   [Page 1]
Internet-Draft                    DELEG                     October 2026

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 1 May 2027.

Copyright Notice

   Copyright (c) 2026 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Revised BSD License text as
   described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Revised BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   5
   2.  Protocol Overview . . . . . . . . . . . . . . . . . . . . . .   5
   3.  DELEG and DELEGPARAM Resource Record Types  . . . . . . . . .   7
     3.1.  Presentation Format . . . . . . . . . . . . . . . . . . .   8
     3.2.  RDATA Wire Format . . . . . . . . . . . . . . . . . . . .   8
     3.3.  Semantics . . . . . . . . . . . . . . . . . . . . . . . .   9
     3.4.  Name Server Information for Delegation  . . . . . . . . .  10
     3.5.  Metadata keys . . . . . . . . . . . . . . . . . . . . . .  12
   4.  Signaling DELEG Support . . . . . . . . . . . . . . . . . . .  12
   5.  Use of DELEG Records in the Protocols . . . . . . . . . . . .  13
     5.1.  Resolvers . . . . . . . . . . . . . . . . . . . . . . . .  13
       5.1.1.  Delegation point types, QTYPE=DELEG . . . . . . . . .  13
       5.1.2.  Populating the SLIST from DELEG and DELEGPARAM
               Records . . . . . . . . . . . . . . . . . . . . . . .  14
     5.2.  Authoritative Servers . . . . . . . . . . . . . . . . . .  15
       5.2.1.  DELEG-aware Clients . . . . . . . . . . . . . . . . .  15
       5.2.2.  DELEG-unaware Clients . . . . . . . . . . . . . . . .  16
     5.3.  DNSSEC Signers  . . . . . . . . . . . . . . . . . . . . .  18
   6.  Operational Considerations  . . . . . . . . . . . . . . . . .  18

Špaček, et al.             Expires 1 May 2027                   [Page 2]
Internet-Draft                    DELEG                     October 2026

     6.1.  Forwarding  . . . . . . . . . . . . . . . . . . . . . . .  19
     6.2.  NS Not Required by Protocol . . . . . . . . . . . . . . .  19
     6.3.  NS Maybe Required in Practice . . . . . . . . . . . . . .  19
     6.4.  NS and DELEG Combined . . . . . . . . . . . . . . . . . .  20
     6.5.  Authoritative Deployment  . . . . . . . . . . . . . . . .  20
       6.5.1.  Enabling the DNSKEY-ADT Flag  . . . . . . . . . . . .  21
     6.6.  Interaction with Dynamic DNS Update . . . . . . . . . . .  22
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  22
     7.1.  Preventing Over-work Attacks  . . . . . . . . . . . . . .  22
     7.2.  Preventing Downgrade Attacks  . . . . . . . . . . . . . .  22
     7.3.  DELEG Is Stronger Than NS . . . . . . . . . . . . . . . .  22
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  23
     8.1.  Changes to Existing Registries  . . . . . . . . . . . . .  23
     8.2.  New Registry for Delegation Information . . . . . . . . .  23
       8.2.1.  Procedure . . . . . . . . . . . . . . . . . . . . . .  24
       8.2.2.  Initial Contents  . . . . . . . . . . . . . . . . . .  24
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  25
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  25
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  27
   Appendix A.  Examples . . . . . . . . . . . . . . . . . . . . . .  28
     A.1.  Root zone file  . . . . . . . . . . . . . . . . . . . . .  28
     A.2.  Example.org zone file . . . . . . . . . . . . . . . . . .  29
     A.3.  Example.net zone file . . . . . . . . . . . . . . . . . .  29
     A.4.  Responses . . . . . . . . . . . . . . . . . . . . . . . .  29
       A.4.1.  DO bit clear, DE bit clear  . . . . . . . . . . . . .  30
       A.4.2.  DO bit set, DE bit clear  . . . . . . . . . . . . . .  31
       A.4.3.  DO bit clear, DE bit set  . . . . . . . . . . . . . .  33
       A.4.4.  DO bit set, DE bit set  . . . . . . . . . . . . . . .  33
     A.5.  DELEGPARAM Interpretation . . . . . . . . . . . . . . . .  35
     A.6.  An example of a valid delegation tree . . . . . . . . . .  35
     A.7.  Failure Cases . . . . . . . . . . . . . . . . . . . . . .  36
   Appendix B.  Test Vectors . . . . . . . . . . . . . . . . . . . .  37
   Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . .  39
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  39

1.  Introduction

   In the Domain Name System, authority for each subdomain within the
   domain name hierarchy can be delegated to different servers, which
   makes them authoritative for their portion of the namespace.

Špaček, et al.             Expires 1 May 2027                   [Page 3]
Internet-Draft                    DELEG                     October 2026

   Traditionally, a delegation is represented by an NS RRset, which
   contains the hostnames of name servers, though no other parameters.
   The resolver resolves these names into usable addresses and uses
   default protocol parameters, for transport protocol and any other
   protocol features.  Moreover, the NS RRset exists in two places--one
   at the delegation point, and the other at the apex of the delegated
   zone, which might not match the NS records at the delegation.  DNSSEC
   authenticates the authoritative NS RRset in the delegated zone but
   does not authenticate the delegation NS RRset.

   The lack of properties of delegation NS RRsets limits resolvers to
   unauthenticated transport on default ports, and this initial contact
   is not protected with DNSSEC.  These limitations are a barrier for
   the efficient introduction of new DNS technology.

   The DELEG and DELEGPARAM resource record (RR) types remedy this
   problem by providing extensible parameters to indicate authoritative
   name server capabilities and additional information, such as other
   transport protocols that a resolver may use.

   The DELEG RRset creates a new delegation.  It is a Delegation Type
   record as defined in [I-D.ietf-dnsop-delext].  It is authoritative in
   the delegating zone and can be signed with DNSSEC.  This makes it
   possible to authenticate the delegation parameters carried by DELEG,
   including future extensions.

   The DELEG RRset can be used alongside, or instead of, an NS RRset to
   create a delegation.  The combination of DELEG and NS RRsets is
   compatible with resolvers that do not support DELEG, facilitating the
   incremental rollout of this new method.

   The DELEGPARAM record is an auxiliary record which contains the same
   data as DELEG, but does not create a delegation.  Instead it is used
   as the target when DELEG is optionally using indirection.  This
   indirection can, for example, be used to share the same delegation
   information across multiple zones and simplify operational management
   by reducing the number of locations for the delegation information
   for those zones.  For example, if the customers of a DNS operator
   create a DELEG record pointing to a DELEGPARAM record managed by the
   DNS operator, then the operator will be able to make delegation
   information changes without further customer involvement, and affect
   all of those customer's delegations with a single change.

   Future documents can define additional delegation parameters, for
   example to advertise support for encrypted transports.

Špaček, et al.             Expires 1 May 2027                   [Page 4]
Internet-Draft                    DELEG                     October 2026

1.1.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP
   14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

   Terminology regarding the Domain Name System comes from [BCP219],
   with additional terms defined here:

   *  legacy delegation: A delegation that is done with an NS RRset

   *  Delegation Type: Defined in [I-D.ietf-dnsop-delext].

   *  Delegation-Extension-aware: Defined in [I-D.ietf-dnsop-delext].

   *  DELEG-aware: DNS software that follows the protocol defined in
      this document.  DELEG-aware software is inherently Delegation-
      Extension-aware.

   *  DELEG-unaware: DNS software that does not follow the protocol
      defined in this document.

   *  non-DELEG specifications: DNS protocols that predate this
      protocol, or are written after this protocol is published but are
      not related to this protocol.

   *  Delegation NS RRset: An NS RRset that delegates authority of a
      subdomain to a set of authoritative servers.

   *  Authoritative NS RRset: An NS RRset at the apex of a zone.

2.  Protocol Overview

   This section is a brief overview of the DELEG protocol.  It is meant
   for people who want to understand the protocol before they dive
   deeper into the specifics.

   The DELEG protocol is built on top of [I-D.ietf-dnsop-delext].

   When a DELEG-aware resolver sends DNS queries, it sets the DE bit in
   the EDNS0 header to 1 in queries to authoritative servers, as a
   signal that it is DELEG-aware.

   DELEG-unaware authoritative servers intrinsically ignore this signal.

Špaček, et al.             Expires 1 May 2027                   [Page 5]
Internet-Draft                    DELEG                     October 2026

   A DELEG-aware authoritative server uses that signal to determine the
   type of response it will send.  If the response is a referral (i.e.,
   a delegation), the authoritative server checks if there is a DELEG
   RRset for the queried zone.  If so, it returns the DELEG RRset
   instead of any NS RRset in the response.  If the response is not a
   referral, the authoritative server generally doesn't change about how
   it responds.

   Records in the DELEG RRset for a zone describe how to find name
   servers for that zone (Section 3).  The RDATA for DELEG records has
   key=value pairs (Section 3.4).

   *  "server-ipv4" and "server-ipv6" keys contain one or more IP
      addresses for the delegated name servers

   *  "server-name" key contains one or more hostnames for the delegated
      name servers; the addresses must be resolved separately

   *  "include-delegparam" key contains one or more domain names which
      in turn have more information about the delegation

   *  "mandatory" key contains a list of other keys which must be
      present in the same record, and which the resolver must understand
      in order to use that record

   The DELEG-aware resolver uses the information in the DELEG RRset to
   form the list of best servers to ask about the delegated zone
   (Section 5.1.2).  If the DELEG RRset contains "include-delegparam",
   the resolver queries those hostnames for DELEGPARAM RRsets.
   DELEGPARAM records have the same format as DELEG records; thus, they
   can have the same key=value pairs.

   DELEG RR type is a Delegation Type, thus authoritative at the
   delegation point, signed and validated as authoritative data, similar
   to DS records.

   A zone might be delegated with only DELEG records but no NS records.
   Such a zone would be invisible to DELEG-unaware resolvers.

   In order to protect validators from downgrade attacks, this document
   mandates the use of DNSKEY-ADT flag described in
   [I-D.ietf-dnsop-delext].

   There are many parts of the DELEG protocol that are not included in
   this brief overview.  For example, DELEG-aware authoritative servers
   have choices to make depending both on the request and the contents
   of the zone file.  For those readers who learn better from examples
   than the definitive text, see Appendix A.

Špaček, et al.             Expires 1 May 2027                   [Page 6]
Internet-Draft                    DELEG                     October 2026

3.  DELEG and DELEGPARAM Resource Record Types

   The DELEG record has an RR type that is TBD1.  It is an NS-Omitting
   Delegation Type, as defined in [I-D.ietf-dnsop-delext]; thus, TBD1
   will be from the 0xF000-0xF07F range.  The DELEGPARAM record has an
   RR type of TBD2.  It is not a Delegation Type, and thus will not come
   from the range defined in [I-D.ietf-dnsop-delext].

   The DELEG record and the DELEGPARAM record have the same wire and
   presentation formats, but their semantics are different as described
   in a following section.

   The record format is based on the extensible key=value list that was
   originally defined as "SvcParams" for the SVCB record type [RFC9460].
   Unlike SVCB, the DELEG protocol does not have "SvcPriority" and
   "TargetName" fields.  The keys in the DELEG protocol are also
   different than those used in SVCB.  To avoid confusion between the
   two protocols, the list of key=value parameters used by the DELEG
   protocol are called DelegInfos and are tracked in their own IANA
   registry for Delegation Information.

   The following rules are adapted from SVCB, but with changed names:

   *  The whole RDATA consists of a single list called "DelegInfos".

   *  The DelegInfos list consists of individual DelegInfo element
      key=value pairs.

   *  Each DelegInfo element has a DelegInfoKey and an optional
      DelegInfoValue.

   *  Each DelegInfo element has a specified presentation format and
      associated wire format.

   *  Each DelegInfoKey has a presentation name and a registered key
      number.

   *  Each DelegInfoValue is in a format specific to its DelegInfoKey.

   Implementations can reuse the same code to parse SvcParams and
   DelegInfos and only plug in a different list of key=value pairs for
   the SVCB/HTTPS and DELEG/DELEGPARAM record families.

   The initial set of DelegInfoKeys and associated DelegInfoValues, plus
   their presentation and wire formats, are defined in Section 3.4.

Špaček, et al.             Expires 1 May 2027                   [Page 7]
Internet-Draft                    DELEG                     October 2026

3.1.  Presentation Format

   The RDATA presentation format of the DELEG and DELEGPARAM resource
   records consists of a single list, DelegInfos.

   The DelegInfos presentation format is defined exactly the same as
   SvcParams in Section 2.1 of [RFC9460].  The following rules are
   adapted from SVCB, but with changed names:

   *  DelegInfos is a whitespace-separated list with each DelegInfo
      consisting of a DelegInfoKey=DelegInfoValue pair, or a standalone
      DelegInfoKey.

   *  Individual element definitions are the same as [RFC9460]:

      -  The DelegInfo syntax is the same as SvcParam, but it references
         DelegInfo elements instead of SvcParam elements.

      -  The DelegInfoKey syntax is the same as SvcParamKey.

      -  The syntax for unknown keys in Section 2.1 of [RFC9460]
         applies.

      -  The DelegInfoValue syntax is the same as SvcParamValue.

      -  The rules from Appendix A of [RFC9460] apply.

   *  All the requirements in Section 2.1 of [RFC9460] apply.

   DelegInfos MAY be zero-length; this is similar to what is allowed in
   SVCB records.  Note that a zero-length DelegInfos provides no
   information to the resolution algorithm, and thus will be not be
   processed in step 1 of Section 5.1.2.

3.2.  RDATA Wire Format

   The RDATA portion of the DELEG and DELEGPARAM resource record is
   variable length and entirely consists of a single "DelegInfos"
   element:

   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   /                         DelegInfos                            /
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The format of the DelegInfo element is identical to the format of the
   SvcParams element defined in [RFC9460] Section 2.2, including the
   requirements for strictly increasing numeric order to keys and no key
   duplication allowed.

Špaček, et al.             Expires 1 May 2027                   [Page 8]
Internet-Draft                    DELEG                     October 2026

   All the requirements in Section 2.2 of [RFC9460] apply.

   The DelegInfos list is a sequence of individual DelegInfo elements
   and MAY be empty.  The wire format of an individual DelegInfo element
   is the same as for a SvcParam element, but it references DelegInfo
   elements instead of SvcParam elements.

   The structure of a single "DelegInfo" element is:

                   +0 (MSB)                            +1 (LSB)
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   0:  |                          DelegInfoKey                         |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   2:  |                length of DelegInfoValue                       |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   4:  /                          DelegInfoValue ...                   /
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   The permissible lengths depend on the DelegInfoKey value.  Some
   future keys may have no DelegInfoValue, which would be indicated with
   an explicit 0 length.

3.3.  Semantics

   The following is a brief summary of semantic differences between the
   DELEG and DELEGPARAM types.

   *  DELEG has special processing for being included in answers.

   *  DELEG creates a delegation for its owner name, similar to the NS
      RR type.

   *  DELEG and NS RR types can coexist at the same owner name.

   *  DELEG is authoritative at the delegation point, similar to the DS
      RR type, and unlike the NS RR type.

   *  DELEG is signed when using DNSSEC, similar to the DS RR type, and
      unlike the NS RR type.

   *  DELEG cannot be present at the apex of the delegated zone, similar
      to the DS RR type, and unlike the NS RR type.

   Conversely,

   *  DELEGPARAM is an ordinary RR and doesn't require any special
      processing.

Špaček, et al.             Expires 1 May 2027                   [Page 9]
Internet-Draft                    DELEG                     October 2026

   *  DELEGPARAM does not create a delegation for its owner name.

   *  DELEGPARAM cannot exist at a delegation point.

   *  DELEGPARAM DNSSEC-signing and record-placement rules are the same
      as for any ordinary RR type.

   *  DELEGPARAM is used as the target of the DELEG protocol's "include-
      delegparam" mechanism, as described in Section 5.1.2.

   Note that neither DELEG nor DELEGPARAM trigger Additional
   Section processing like NS does.  The significance of this difference
   is addressed more in the next section.

3.4.  Name Server Information for Delegation

   The DELEG and DELEGPARAM records have four keys that describe
   information about name servers.  The purpose of this information is
   to populate the SLIST (see Section 5.1.2) with IP addresses of the
   name servers for a zone.

   The types of information defined in this document are:

   *  server-ipv4: an unordered collection of IPv4 addresses for name
      servers

   *  server-ipv6: an unordered collection of IPv6 addresses for name
      servers

   *  server-name: an unordered collection of hostnames of name servers;
      the addresses must be fetched separately

   *  include-delegparam: an unordered collection of domain names that
      point to DELEGPARAM RRsets, which in turn have more information
      about the delegation

   These keys MUST have a non-empty DelegInfoValue.

   The presentation values for server-ipv4 and server-ipv6 are comma-
   separated lists of one or more IP addresses of the appropriate family
   in standard textual format [RFC5952] [RFC4001].  The wire formats for
   server-ipv4 and server-ipv6 are a sequence of IP addresses, in
   network byte order, for the respective address family.

Špaček, et al.             Expires 1 May 2027                  [Page 10]
Internet-Draft                    DELEG                     October 2026

   The presentation values for server-name and include-delegparam are an
   unordered collection of fully-qualified domain names and relative
   domain names, separated by commas.  Relative names in the
   presentation format are interpreted according to the origin rules in
   Section 5.1 of [RFC1035].  Parsing the comma-separated list is
   specified in Section A.1 of [RFC9460].

   The DELEG protocol allows the use of all valid domain names, as
   defined in [RFC1035] and Section 11 of [RFC2181].  The presentation
   format for names with special characters requires both double-
   escaping by applying rules of Section 5.1 of [RFC1035] together with
   the escaping rules from Section A.1 of [RFC9460].

   For example, assume a list of two relative domain names.  The first
   domain name is "simple.example".  The second domain name is under
   ".example" whose leftmost label is "abc" followed by a escape
   character (U+001B), followed by "def", followed by a comma, followed
   by "ghi".  This list would have a presentation value of
   "simple.example,abc\027def\,ghi.example".

   The wire format for server-name and include-delegparam are each a
   concatenated unordered collection of wire-format domain names, where
   the root label provides the separation between names:

   +-+-+-+-+-+-+-+-+-+-+-+-+-+-
   | name | name | name | ... |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-

   The names in the wire format MUST NOT be compressed, per [RFC3597].

   For interoperability with the resolver algorithm defined in
   Section 5.1.2, a DELEG or DELEGPARAM record that has a non-empty
   DelegInfos MUST have one, and only one, set of server information
   keys, chosen from the following:

   *  one server-ipv4 key

   *  one server-ipv6 key

   *  a pair consisting of one server-ipv4 key and one server-ipv6 key

   *  one server-name key

   *  one include-delegparam key

Špaček, et al.             Expires 1 May 2027                  [Page 11]
Internet-Draft                    DELEG                     October 2026

   This restriction only applies to a single DELEG or DELEGPARAM record;
   a DELEG or DELEGPARAM RRset can have records with different server
   information keys.  Authoritative servers MAY refuse to load zones
   which have a disallowed combination of keys in a single record.

   When using server-name or include-delegparam, the addresses for the
   names in the set must be fetched as if they were referenced by NS
   records.  Because of the lack of Additional Section processing, there
   are no "glue" records provided for these names, so they cannot be for
   names inside the delegated domain.

   With this initial DELEG specification, servers are still expected to
   be reached on the standard DNS port for both UDP and TCP, 53.  While
   a future specification is expected to address other transports using
   other ports, its eventual semantics are not covered here.

3.5.  Metadata keys

   This specification defines a key which serves as a protocol
   extensibility mechanism, but is not directly used for contacting DNS
   servers.

   Any DELEG or DELEGPARAM record can have a key named "mandatory" which
   is similar to the key of the same name in [RFC9460].

   The presentation format for the value MUST be a comma-separated list
   of one or more valid DelegInfoKeys, either by their registered name
   or in the unknown-key format.

   The wire format for the value is a sequence of DelegInfoKey numeric
   values in network byte order, concatenated, in strictly increasing
   numeric order.

   The "mandatory" key is optional, but when it is present, the RR in
   which it appears MUST also contain all of the DelegInfoKeys
   referenced in its DelegInfoValue.  Resolvers MUST handle non-
   compliant RRs as specified in Section 5.1.2.

   A resolver MUST NOT use an RR with a "mandatory" key in the
   resolution process unless all of the DelegInfoKeys referenced by the
   "mandatory" DelegInfoValue are supported in the resolver's
   implementation.  See Section 5.1.2.

4.  Signaling DELEG Support

   This document requires the use of the EDNS0 DE flag and its
   requirements from [I-D.ietf-dnsop-delext].

Špaček, et al.             Expires 1 May 2027                  [Page 12]
Internet-Draft                    DELEG                     October 2026

   A resolver that is DELEG-aware MUST signal in queries that it is
   Delegation-Extension-aware by setting the DE bit to 1.

   The DE bit set to 0 indicates the resolver is can only be served
   referrals with NS records and other data according to
   non-[I-D.ietf-dnsop-delext] specifications.  Other special scenarios
   with DE=0 queries to DELEG-aware authorities are addressed in
   Section 5.2.

5.  Use of DELEG Records in the Protocols

   The DELEG RRset MAY contain multiple records.  A DELEG RRset MAY be
   present with or without NS or DS RRsets at the delegation point,
   though without NS records then DELEG-unaware software will not be
   able to resolve records in the delegated zone.

   DELEG RRsets MUST NOT appear at a zone's apex.  The erroneous
   inclusion of DELEG RRset at zone's apex will cause DNSSEC validation
   failures.  Servers MAY refuse to load such an invalid zone, similar
   to the DS RR type.

5.1.  Resolvers

   Resolvers use DELEG records for referrals following the rules from
   [I-D.ietf-dnsop-delext].

   A resolver that is DELEG-aware MUST signal in queries that it
   supports the DELEG protocol by setting the DE bit to 1 (see
   Section 4).  This indicates that the resolver understands the DELEG
   semantics and does not need NS records to follow a referral.

   The DE bit set to 0 indicates the resolver is not DELEG-aware, and
   therefore can only be served referrals with NS records and other data
   according to non-DELEG specifications.  Other special scenarios with
   DE=0 queries to DELEG-aware authorities are addressed in Section 5.2.

5.1.1.  Delegation point types, QTYPE=DELEG

   DELEG RR type is one of NS-Omitting Delegation Types with special
   handling defined in [I-D.ietf-dnsop-delext].

   DELEG-unaware resolvers can get different types of answers for
   QTYPE=DELEG queries based on the configuration of the server, such as
   whether it is DELEG-aware and whether it also is authoritative for
   subdomains.  For example, a DELEG-unaware authoritative name server
   which has loaded DELEG records via the [RFC3597] unknown types
   mechanism would answer with them only if there were no NS records at
   the owner name, and answer with an NS delegation otherwise.

Špaček, et al.             Expires 1 May 2027                  [Page 13]
Internet-Draft                    DELEG                     October 2026

5.1.2.  Populating the SLIST from DELEG and DELEGPARAM Records

   Each individual DELEG record inside a DELEG RRset, or each individual
   DELEGPARAM record in a DELEGPARAM RRset, can cause the addition of
   zero or more entries to SLIST.

   A resolver processes each individual DELEG record within a DELEG
   RRset, or each individual DELEGPARAM record in a DELEGPARAM RRset,
   using the following steps:

   1.  Discard all DelegInfo elements with DelegInfoKey values that are
       not supported by the resolver implementation.  If no DelegInfo
       elements remain after this filtering, stop processing the record.
       Otherwise, continue using only the supported DelegInfo elements.

   2.  If a DelegInfo element with the "mandatory" DelegInfoKey is
       present, check its DelegInfoValue.  The DelegInfoValue is a list
       of keys which MUST have corresponding DelegInfo elements in the
       record after the filtering in the previous steps.  If any of the
       listed DelegInfo elements is not present, stop processing this
       record.

   3.  If a record has more than one type of server information key
       (excluding the IPv4/IPv6 case, see Section 3.4), or if it has
       multiple server information keys of the same type, that record is
       malformed.  Stop processing this record.

   4.  If any DNS name referenced by server-name key or the include-
       delegparam key is equal to or is a subdomain of the delegated
       domain (i.e. the DELEG record owner), that record is malformed.
       Stop processing this record.

       This check MUST be performed against the original owner name of
       the DELEG record even if the currently-processed record is a
       DELEGPARAM record that was included by the original DELEG record.
       The purpose of this check is to ensure deterministic behavior.
       Not performing this check would allow delegations to be reachable
       only with certain cache content and/or a specific algorithm for
       server selection from SLIST.

   5.  If server-ipv4 and/or server-ipv6 keys are present inside the
       record, copy all of the address values into SLIST.  Stop
       processing this record.

   6.  If a server-name key is present in the record, resolve each name
       in the value into IPv4 and/or IPv6 addresses.  Copy these
       addresses into SLIST.  Stop processing this record.

Špaček, et al.             Expires 1 May 2027                  [Page 14]
Internet-Draft                    DELEG                     October 2026

   7.  If an include-delegparam key is present in the record, resolve
       each name in the value using the DELEGPARAM RR type.  Recursively
       apply the algorithm described in this section, after checking
       that the maximum loop count described in Section 7.1 has not been
       reached.

   8.  If none of the above applies, SLIST is not modified by this
       particular record.

   Note that the resolution algorithm in [I-D.ietf-dnsop-delext] section
   5.3 terminates even if the SLIST is empty.

   A DELEG-aware resolver MAY implement lazy filling of SLIST, such as
   by deferring processing of remaining records, or even individual
   names or query types, if SLIST already has what the resolver
   considers a sufficiently large pool of addresses to contact.

   The order in which to try the servers in the final SLIST is outside
   the scope of this document.

5.2.  Authoritative Servers

   The DELEG RR type defines a zone cut in a similar way as the NS RR
   type.  [I-D.ietf-dnsop-delext] section 4 applies.  A notable example
   of this is that the occlusion (usually accidentally) created by
   delegation NS records would also be created by DELEG records at the
   same name (see Appendix A.4.1.3).

   DELEG-aware authoritative servers act differently when handling
   queries from DELEG-unaware clients (those with DE=0) than from DELEG-
   aware clients (those with DE=1).  See Section 4 and Section 5.1.

5.2.1.  DELEG-aware Clients

   When the client indicates that it is DELEG-aware by setting DE=1 in
   the query, DELEG-aware authoritative servers treat DELEG records as
   delegations, and the servers are authoritative.  This new zone cut
   has priority over a legacy delegation.

5.2.1.1.  DELEG-aware Clients Requesting QTYPE=DELEG

   An explicit query for the DELEG RR type at a delegation point behaves
   much like a query for the DS RR type: the server answers
   authoritatively from the delegating zone.  All non-DELEG
   specifications for the special handling of queries with QTYPE=DS
   apply equally to QTYPE=DELEG.  In summary, the server either provides
   an authoritative DELEG RRset or declares its non-existence, with
   relevant DNSSEC proofs when requested and available.

Špaček, et al.             Expires 1 May 2027                  [Page 15]
Internet-Draft                    DELEG                     October 2026

5.2.1.2.  DELEG-aware Clients with NS RRs Present but No DELEG RRs

   According to specification in [I-D.ietf-dnsop-delext], if the
   delegation does not have any NS-omitting types, the authoritative
   server puts the NS RRset into the authority section of the referral.
   The absence of the DELEG RRset needs to be proven.

   Similarly, rules for DS RRset inclusion into referrals apply as
   specified by the DNSSEC protocol.  Please note that, in practice, the
   same process and records are used to prove the non-existence of both
   DELEG and DS RRsets.

5.2.2.  DELEG-unaware Clients

   A general principle for DELEG-aware authoritative servers is that
   they respond to a DELEG-unaware client by following non-DELEG
   specifications.

   DELEG-unaware clients do not recognize DELEG records as a delegation
   point and are not aware of the special handling rules for DELEG
   records.  They understand a DELEG RRset as an ordinary unknown RR
   type.

   In summary, DELEG records are not returned in referral responses to
   DELEG-unaware clients, and DELEG-unaware clients do not consider
   DELEG records authoritative at a delegation point.

   An authoritative server responding to DELEG-unaware clients has to
   handle three distinct situations:

   *  No DELEG RRset is present.  In this case, the authoritative server
      follows the non-DELEG specifications.

   *  An NS RRset and a DELEG RRset are both present.  In this case, the
      authoritative server uses the NS RRset when constructing referral
      responses, following the non-DELEG specifications.  See also
      Section 5.3 and Appendix A.

   *  A DELEG RRset is present, but an NS RRset is not.  This is
      addressed in the next section.

Špaček, et al.             Expires 1 May 2027                  [Page 16]
Internet-Draft                    DELEG                     October 2026

5.2.2.1.  DELEG-unaware Clients with DELEG RRs Present but No NS RRs

   Authoritative servers may receive requests from DELEG-unaware clients
   for which the child zone is authoritative and is delegated with DELEG
   RRs only (that is, without any NS RRs).  Such a zone is, by
   definition, not resolvable for DELEG-unaware clients.  From the
   perspective of a DELEG-unaware client, the zone cut created by the
   DELEG RRs is invisible.  The authoritative server should respond in a
   way that makes sense to DELEG-unaware clients.

   The current, primary use case for zone owners that have zones to have
   DELEG records but no NS records is that they want resolution of those
   zones only if the resolver uses future features of the DELEG
   protocol, such as encrypted DNS transports.

   The authoritative server is RECOMMENDED to supplement its responses
   to DELEG-unaware resolvers with an [RFC8914] Extended DNS Error using
   the value "New Delegation Only" (decimal 34) from the Extended DNS
   Error Codes registry.

   When there is no NS RRset for a delegated zone, a DELEG-aware
   authoritative server MUST respond to DELEG-unaware clients with an
   answer that accurately describes the situation to a DELEG-unaware
   resolver.  For a query of the delegated zone itself, the response has
   an RCODE of NOERROR; for a query that has more labels than the
   delegated zone, the response has an RCODE of NXDOMAIN; this is no
   different than the algorithm applicable to DELEG-unaware
   authoritative servers originally defined in [RFC1034] (and later
   updated).  NSEC and DS records are returned following the existing
   rules in [RFC4035].

5.2.2.2.  DELEG-unaware Clients Requesting QTYPE=DELEG

   From the perspective of DELEG-unaware clients, the DELEG RR type does
   not have special semantics and should behave like an old ordinary RR
   type such as TXT.  Thus, queries with DE=0 and QTYPE=DELEG MUST
   result in a response which can be validated by a DELEG-unaware
   client.

   *  If there is an NS RRset, this will be a legacy referral.  From the
      perspective of a DELEG-unaware client, the DELEG RR is effectively
      occluded by NS RRset.  The DELEG-unaware resolver can then obtain
      a final answer which can be validated from the delegated zone in
      similar fashion as described in [RFC4035] Section 3.1.4.1.

   *  If there is no NS RRset but there is a DELEG RRset, this will be a
      normal authoritative response with the DELEG RRset, following non-
      DELEG specifications.

Špaček, et al.             Expires 1 May 2027                  [Page 17]
Internet-Draft                    DELEG                     October 2026

   *  If there is no NS RRset and no DELEG RRset, this will be a
      standard negative response following non-DELEG specifications.

   The above rules apply to authoritative servers that are serving both
   a parent and a child zone when a DELEG-unaware client sends a
   QTYPE=DELEG query.

5.3.  DNSSEC Signers

   The DELEG record is authoritative at the delegation point and needs
   to be signed as such.  Existing rules from the DNSSEC specifications
   apply.  These are defined in [I-D.ietf-dnsop-delext].

   In summary: for DNSSEC signing, treat the DELEG RR type the same way
   as the DS RR type.

   The DELEG RR type defines a zone cut in a similar way as the NS RR
   type.  This has several consequences which stem from existing non-
   DELEG specifications:

   *  All owner names below zone cut are occluded and thus not present
      in NSEC chains.

   *  All RRsets which are not permissible at the delegation point are
      occluded too and not represented in NSEC chain type bitmap.

   See examples in Appendix A.1 and Appendix A.4.2.3.

   In order to protect validators from downgrade attacks,
   [I-D.ietf-dnsop-delext] introduces the DNSKEY flag called DNSKEY-ADT.
   To achieve downgrade resistance, DNSSEC-signed zones which contain a
   DELEG RRset MUST follow the rules in [I-D.ietf-dnsop-delext].

6.  Operational Considerations

   When DELEG is deployed, new operational considerations will apply.
   While the majority of these relate to the operation of DELEG-aware
   servers or resolvers, there is a more general set of operational
   practices which will need to apply because not all resolvers will be
   DELEG-aware.  This section gives an overview of some of those
   considerations.

Špaček, et al.             Expires 1 May 2027                  [Page 18]
Internet-Draft                    DELEG                     October 2026

6.1.  Forwarding

   A Validating Stub Resolver that is DELEG-aware MUST only use
   security-aware resolvers that are DELEG-aware.  A DELEG-aware
   Validating Resolver that uses forwarders MUST only use DELEG-aware
   and security-aware forwarders.  Otherwise DNSSEC-secure zones might
   fail to validate (see Appendix A.4.2.2) and DNSSEC-insecure zones
   might observe inconsistent answers.

   [RFC9606] specifies a DNS resource record type, RESINFO, to allow
   resolvers to publish information about their capabilities and
   policies.  This can be used to inform DNS clients that DELEG is
   supported by the DNS resolver.

   A resolver which supports [RFC9606] SHOULD add the "deleg" key if it
   supports DELEG protocol; otherwise, a DNS client would not know that
   the resolver is DELEG-aware.  A resolver that uses forwarders MAY use
   a RESINFO query to determine if the configured forwarders are DELEG-
   aware.

   Note that, per the rules for the keys defined in Section 6.4 of
   [RFC6763], if there is no '=' in a key, then it is a boolean
   attribute, simply identified as being present with no value.

6.2.  NS Not Required by Protocol

   A zone delegated exclusively using DELEG records is not resolvable by
   non-DELEG aware resolvers.  In that case the zone is not required to
   have an NS RRset in the apex of the delegated zone.  Software to
   manage zone content or check the validity of zones needs to be
   updated to allow zones without an NS RRset at the apex.

6.3.  NS Maybe Required in Practice

   Although DELEG removes the protocol requirement for NS records,
   resolver support for DELEG will not be universal for a long time
   after this protocol is first deployed.  The deployment of DELEG-only
   delegation creates a new situation in which DNS servers that are
   authoritative for a particular set of domains provide partly or
   completely different answers.  Where "split DNS" or "split-horizon
   DNS" RFC9499 differences depend on the source of the query,
   resolution of DELEG-only delegations will depend on whether or not
   the resolver is aware of and using DELEG.  Compare examples of DELEG-
   only delegation and respective answers for DELEG-unaware client in
   Appendix A.4.2.2 and DELEG-aware client in Appendix A.4.4.2.

Špaček, et al.             Expires 1 May 2027                  [Page 19]
Internet-Draft                    DELEG                     October 2026

   For any part of the namespace that is intended to be globally
   reachable, operators should avoid DELEG-only delegations, as some
   resolvers will be unaware of DELEG.  For other parts of the
   namespace, operators should take care to ensure that any variability
   in responses introduced maps correctly to the client capabilities.

   DELEG-only delegation is appropriate only where all intended users
   are known to use DELEG-capable resolvers.  This might be the case
   when a zone operator wants a zone to be reachable only over secure
   transport, for example.  The decision to drop NS records should be
   guided by operational measurements of resolver adoption of the DELEG
   protocol.

6.4.  NS and DELEG Combined

   This document explicitly allows zones to be delegated using DELEG
   records without also using NS records; delegating a zone with both
   DELEG and NS records is also allowed.  Software that manages
   delegations or checks the validity of zones need to be updated to
   allow delegations with all combinations of (with, without) * (NS,
   DELEG) records.

   If both NS and DELEG records are present, zone managers might want to
   check consistency across both RRsets, subject to local policy.  This
   specification treats both NS and DELEG RRsets as completely
   independent at the protocol layer, but it does not prohibit a
   provisioning system from generating one record type from the other.

6.5.  Authoritative Deployment

   Before adding a first DELEG record into a DNS zone, these steps need
   to be taken, in this order:

   1.  If zone checkers are used: ensure that the zone checkers are
       DELEG-aware.

   2.  Ensure that all authoritative servers serving (and transferring)
       the zone are DELEG-aware.

   3.  If a zone is DNSSEC-signed: ensure that the signer is DELEG-
       aware.

   4.  If a zone is DNSSEC-signed: ensure that at least one DNSKEY
       record has the DNSKEY-ADT flag set to 1.  Failure to do so
       results in loss of downgrade resistance of the DELEG protocol for
       this zone; see [I-D.ietf-dnsop-delext] section 8.

Špaček, et al.             Expires 1 May 2027                  [Page 20]
Internet-Draft                    DELEG                     October 2026

6.5.1.  Enabling the DNSKEY-ADT Flag

   According to the DNSSEC specification, changing flags of a DNSKEY
   record changes its Key Tag and thus requires a key rollover.  For
   this reason, the DNSKEY-ADT flag cannot be simply enabled on an
   existing key without other changes to the record.  Operators are
   advised to set the DNSKEY-ADT flag at the time of generating a new
   key, as part of a regular key rollover using established procedures.

   Before DNSKEY-ADT flag can be enabled, all authoritative servers MUST
   support behavior described in Section 5.2.  After that, a zone can
   safely have keys with the DNSKEY-ADT flag set to 1 even if the zone
   does not have any DELEG records.  Turning on the DNSKEY-ADT flag can
   be done months or even years before a first DELEG record is
   introduced into the zone.

   Downgrade protection is effective if any DNSKEY with ADT flag set to
   1 is present, even if this key does not sign any RRset.  In other
   words, it is sufficient to pre-publish new key, as described in stage
   2 of Pre-Publish Zone Signing Key Rollover of [RFC6781]
   Section 4.1.1.1.

   An extremely conservative approach might be:

   1.  Lower DNSKEY TTL to shorten time to rollback.

   2.  Add a new DNSKEY with ADT flag set to 1, but do not sign any
       RRsets with this key.

   3.  Monitor deployment for issues.

   4.  Experiment with adding DELEG records at this point, even if the
       key rollover is not finished.  If there is a problem, withdraw
       the new, otherwise unused key.

   5.  Finish the key rollover.

   6.  Restore the original DNSKEY TTL.

   Such an approach requires changing only the DNSKEY RRset and
   resigning it.  Consequently, the time required to withdraw the new
   DNSKEY record is limited only by DNSKEY TTL + time to sign + time to
   transfer modified DNSKEY RRset.

Špaček, et al.             Expires 1 May 2027                  [Page 21]
Internet-Draft                    DELEG                     October 2026

6.6.  Interaction with Dynamic DNS Update

   DELEG records can be updated like other regular zone data at the
   delegation point, similar to NS records, because dynamic updates work
   on zone data but not on queries.  A DELEG-only delegation would not
   need an NS record in the delegated zone, but the NS record in the
   delegated zone cannot be deleted because of Section 7.13 in
   [RFC2136].  This should cause no immediate problems because dynamic
   DNS updates with DELEG are most useful at the delegation point.  A
   DELEGPARAM record will be handled like any other record.

7.  Security Considerations

7.1.  Preventing Over-work Attacks

   Resolvers MUST prevent situations where accidental misconfiguration
   of zones or malicious attacks cause them to perform too much work
   when resolving.  This document describes two sets of actions that, if
   not controlled, could lead to over-work attacks.

   Long chains of include-delegparam information (Section 3.4), and
   those with circular chains of include-delegparam information, can be
   burdensome.  To prevent this, the resolver MUST limit include-
   delegparam chain processing when populating SLIST similarly to CNAME
   processing in [RFC1034]; otherwise, the resolver could exhaust some
   of its resources.  Note that include-delegparam chains can have
   CNAME/DNAME steps in them; in such a case, a CNAME step is counted
   the same as a DELEGPARAM step when determining when to stop following
   a chain.

   Content of SLIST MUST be deduplicated to prevent amplification
   attacks similar to CVE-2026-3592 which use the resolver to attack
   other systems.  See Section 5.1.2.

7.2.  Preventing Downgrade Attacks

   [I-D.ietf-dnsop-delext] section 8 applies.

7.3.  DELEG Is Stronger Than NS

   DELEG RRtype has stronger protection (by DNSSEC) than delegation NS
   records and glue records.  A zone that does not need to be resolvable
   by DELEG-unaware clients (see Section 6), and is delegated only with
   DELEG records, will have a smaller attack surface compared to a zone
   delegated with both DELEG and NS records.

Špaček, et al.             Expires 1 May 2027                  [Page 22]
Internet-Draft                    DELEG                     October 2026

   The additional attack surface of legacy delegations stems from the
   possibility of replacing NS and glue records in referrals with
   arbitrary values, which is not detectable by DNSSEC (by design in
   [RFC4035] Section 2.2).

   For example, this allows redirecting a referral to names and/or
   addresses under an attacker's control.  Even for DNSSEC-secure zones,
   an attacker can use this ability to continuously proxy queries and
   responses, observe traffic, and also monitor the network addresses
   involved, which might be a privacy concern for roaming clients.

   The feasibility and impact of such attacks depend on the threat
   model, which is outside the scope of this document.

8.  IANA Considerations

8.1.  Changes to Existing Registries

   All new allocations should reference this document.

   IANA is requested to assign two types in the Resource Record (RR)
   TYPEs registry ([RFC6895]):

   *  TYPE DELEG, Meaning "Extensible Delegation", from the NS-Omitting
      Delegation Types range defined in [I-D.ietf-dnsop-delext].  The
      requested value is 61440.

   *  TYPE DELEGPARAM, Meaning "Extensible Delegation Indirection",
      Value TBD2 inside one of the ranges marked as "data TYPEs".

   IANA is requested to assign a value in the Extended DNS Error Codes
   registry ([RFC8914]):

   *  Decimal 34 with the Purpose "New Delegation Only".

   IANA is requested to create this assignment in the DNS Resolver
   Information Keys registry ([RFC9606]): Name "deleg", Description "The
   presence of the key indicates that the DELEG protocol is supported."

8.2.  New Registry for Delegation Information

   IANA is requested to create the "DELEG Delegation Information"
   registry.  This registry defines the namespace for delegation
   information keys, including string representations and numeric key
   values.

Špaček, et al.             Expires 1 May 2027                  [Page 23]
Internet-Draft                    DELEG                     October 2026

8.2.1.  Procedure

   A registration MUST include the following fields:

Number:  Wire-format numeric identifier (range 0-65535)
Name:  Unique presentation name
Meaning:  A short description
Reference:  Location of specification or registration source
Change Controller:  Person or entity, with contact information if appropriate

   To enable code reuse from SVCB parsers, the requirements for
   registered Name exactly copy requirements set by [RFC9460]
   Section 14.3.1: The characters in the registered Name field entry
   MUST be lowercase alphanumeric or "-".  The name MUST NOT start with
   "key" or "invalid".

   The registration policy for new entries is Expert Review ([RFC8126]).
   The designated expert MUST ensure that the reference is stable and
   publicly available and that it specifies how to convert the
   delegation information's presentation format to wire format.  The
   reference MAY be any individual's Internet-Draft or a document from
   any other source with similar assurances of stability and
   availability.  An entry MAY specify a reference of the form "Same as
   (other key name)" if it uses the same presentation and wire formats
   as an existing key.

   This arrangement supports the development of new parameters while
   ensuring that zone files can be made interoperable.

8.2.2.  Initial Contents

   The "DELEG Delegation Information" registry should be populated with
   the following initial registrations:

Špaček, et al.             Expires 1 May 2027                  [Page 24]
Internet-Draft                    DELEG                     October 2026

 Number:  0
 Name:  mandatory
 Meaning: Mandatory keys in this RR
 Reference:  {{mandatory}} of this document
 Change Controller:  IETF

 Number:  1
 Name:  server-ipv4
 Meaning:  An unordered collection of IPv4 addresses of name servers
 Reference:  {{nameserver-info}} of this document
 Change Controller:  IETF

 Number:  2
 Name:  server-ipv6
 Meaning:  An unordered collection of IPv6 addresses of name servers
 Reference:  {{nameserver-info}} of this document
 Change Controller:  IETF

 Number:  3
 Name:  server-name
 Meaning:  An unordered collection of domain names of name servers
 Reference:  {{nameserver-info}} of this document
 Change Controller:  IETF

 Number:  4
 Name:  include-delegparam
 Meaning:  An unordered collection of domain names of DELEGPARAM records
 Reference:  {{nameserver-info}} of this document
 Change Controller:  IETF

 The registration for numbers 65280-65534 is reserved for private use.
 The registration for number 65535 is reserved.

9.  References

9.1.  Normative References

   [I-D.ietf-dnsop-delext]
              Arends, R., van Dijk, P., and P. Špaček, "DNS Protocol
              Modifications for Delegation Extensions", Work in
              Progress, Internet-Draft, draft-ietf-dnsop-delext-12, 5
              October 2026, <https://datatracker.ietf.org/doc/html/
              draft-ietf-dnsop-delext-12>.

   [RFC1034]  Mockapetris, P., "Domain names - concepts and facilities",
              STD 13, RFC 1034, DOI 10.17487/RFC1034, November 1987,
              <https://www.rfc-editor.org/rfc/rfc1034>.

Špaček, et al.             Expires 1 May 2027                  [Page 25]
Internet-Draft                    DELEG                     October 2026

   [RFC1035]  Mockapetris, P., "Domain names - implementation and
              specification", STD 13, RFC 1035, DOI 10.17487/RFC1035,
              November 1987, <https://www.rfc-editor.org/rfc/rfc1035>.

   [RFC2136]  Vixie, P., Ed., Thomson, S., Rekhter, Y., and J. Bound,
              "Dynamic Updates in the Domain Name System (DNS UPDATE)",
              RFC 2136, DOI 10.17487/RFC2136, April 1997,
              <https://www.rfc-editor.org/rfc/rfc2136>.

   [RFC2181]  Elz, R. and R. Bush, "Clarifications to the DNS
              Specification", RFC 2181, DOI 10.17487/RFC2181, July 1997,
              <https://www.rfc-editor.org/rfc/rfc2181>.

   [RFC3597]  Gustafsson, A., "Handling of Unknown DNS Resource Record
              (RR) Types", RFC 3597, DOI 10.17487/RFC3597, September
              2003, <https://www.rfc-editor.org/rfc/rfc3597>.

   [RFC4035]  Arends, R., Austein, R., Larson, M., Massey, D., and S.
              Rose, "Protocol Modifications for the DNS Security
              Extensions", RFC 4035, DOI 10.17487/RFC4035, March 2005,
              <https://www.rfc-editor.org/rfc/rfc4035>.

   [RFC6763]  Cheshire, S. and M. Krochmal, "DNS-Based Service
              Discovery", RFC 6763, DOI 10.17487/RFC6763, February 2013,
              <https://www.rfc-editor.org/rfc/rfc6763>.

   [RFC6781]  Kolkman, O., Mekking, W., and R. Gieben, "DNSSEC
              Operational Practices, Version 2", RFC 6781,
              DOI 10.17487/RFC6781, December 2012,
              <https://www.rfc-editor.org/rfc/rfc6781>.

   [RFC6895]  Eastlake 3rd, D., "Domain Name System (DNS) IANA
              Considerations", BCP 42, RFC 6895, DOI 10.17487/RFC6895,
              April 2013, <https://www.rfc-editor.org/rfc/rfc6895>.

   [RFC8126]  Cotton, M., Leiba, B., and T. Narten, "Guidelines for
              Writing an IANA Considerations Section in RFCs", BCP 26,
              RFC 8126, DOI 10.17487/RFC8126, June 2017,
              <https://www.rfc-editor.org/rfc/rfc8126>.

   [RFC8914]  Kumari, W., Hunt, E., Arends, R., Hardaker, W., and D.
              Lawrence, "Extended DNS Errors", RFC 8914,
              DOI 10.17487/RFC8914, October 2020,
              <https://www.rfc-editor.org/rfc/rfc8914>.

Špaček, et al.             Expires 1 May 2027                  [Page 26]
Internet-Draft                    DELEG                     October 2026

   [RFC9460]  Schwartz, B., Bishop, M., and E. Nygren, "Service Binding
              and Parameter Specification via the DNS (SVCB and HTTPS
              Resource Records)", RFC 9460, DOI 10.17487/RFC9460,
              November 2023, <https://www.rfc-editor.org/rfc/rfc9460>.

   [RFC9606]  Reddy.K, T. and M. Boucadair, "DNS Resolver Information",
              RFC 9606, DOI 10.17487/RFC9606, June 2024,
              <https://www.rfc-editor.org/rfc/rfc9606>.

9.2.  Informative References

   [BCP219]   Best Current Practice 219,
              <https://www.rfc-editor.org/info/bcp219>.
              At the time of writing, this BCP comprises the following:

              Hoffman, P. and K. Fujiwara, "DNS Terminology", BCP 219,
              RFC 9499, DOI 10.17487/RFC9499, March 2024,
              <https://www.rfc-editor.org/info/rfc9499>.

   [I-D.tapril-ns2]
              April, T., "Parameterized Nameserver Delegation with NS2
              and NS2T", Work in Progress, Internet-Draft, draft-tapril-
              ns2-01, 13 July 2020,
              <https://datatracker.ietf.org/doc/html/draft-tapril-
              ns2-01>.

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
              <https://www.rfc-editor.org/rfc/rfc2119>.

   [RFC4001]  Daniele, M., Haberman, B., Routhier, S., and J.
              Schoenwaelder, "Textual Conventions for Internet Network
              Addresses", RFC 4001, DOI 10.17487/RFC4001, March 2005,
              <https://www.rfc-editor.org/rfc/rfc4001>.

   [RFC5952]  Kawamura, S. and M. Kawashima, "A Recommendation for IPv6
              Address Text Representation", RFC 5952,
              DOI 10.17487/RFC5952, August 2010,
              <https://www.rfc-editor.org/rfc/rfc5952>.

   [RFC8174]  Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
              2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
              May 2017, <https://www.rfc-editor.org/rfc/rfc8174>.

Špaček, et al.             Expires 1 May 2027                  [Page 27]
Internet-Draft                    DELEG                     October 2026

Appendix A.  Examples

A.1.  Root zone file

   The following example shows an excerpt from a signed root zone.  It
   shows the delegation point for "example." and "test."

   The "example." delegation has DELEG and NS records.  The "test."
   delegation has DELEG but no NS records.

   example.   DELEG server-ipv4=192.0.2.1 server-ipv6=2001:db8::1
   example.   DELEG server-name=ns2.example.net.,ns3.example.org.
   example.   RRSIG DELEG 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleDELEG/ )

   example.   NS    ns1.example.
   example.   NS    ns2.example.net.
   example.   NS    ns3.example.org.

   example.   DS    44444 13 2 ABCDEF01234567...
   example.   RRSIG DS 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleDS )

   example.   NSEC  net. NS DS RRSIG NSEC DELEG
   example.   RRSIG NSEC 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleNSEC+/ )

   ; unsigned glue for legacy (NS) delegation
   ; it is NOT present in NSEC chain
   ns1.example. A     192.0.2.1
   ns1.example. AAAA  2001:db8::1

   The "test." delegation point has a DELEG record and no NS or DS
   records.

   Please note: This is an example of an unnecessarily complicated setup
   to demonstrate the capabilities of the DELEG and DELEGPARAM RR types.

Špaček, et al.             Expires 1 May 2027                  [Page 28]
Internet-Draft                    DELEG                     October 2026

test.      DELEG server-ipv6=3fff::33
test.      DELEG include-delegparam=Acfg.example.org.,cname.example.org.
test.      DELEG include-delegparam=config2.example.net.
test.      RRSIG DELEG 13 1 300 20260101000000 (
                        20250101000000 33333 . SigTestDELEG )

test.      NSEC  . RRSIG NSEC DELEG
test.      RRSIG NSEC 13 1 300 20260101000000 (
                        20250101000000 33333 . SigTestNSEC/ )

; a forgotten glue record from legacy (NS) delegation
; it is NOT present in NSEC chain and it is occluded
a.test.    A     192.0.2.1

   Delegations to org and net zones omitted for brevity.

A.2.  Example.org zone file

   The following example shows an excerpt from an unsigned example.org
   zone.

Acfg.example.org.    DELEGPARAM server-ipv6=2001:db8::6666
Acfg.example.org.    DELEGPARAM server-name=ns3.example.org.
Acfg.example.org.    DELEGPARAM include-delegparam=subcfg.example.org.

; unhelpful but technically legal CNAME
cname.example.org.   CNAME      Acfg.example.org.

ns3.example.org.     AAAA       3fff::33

subcfg.example.org.  DELEGPARAM server-ipv4=203.0.113.1 server-ipv6=3fff::2

A.3.  Example.net zone file

   The following example shows an excerpt from an unsigned example.net
   zone.

   ns2.example.net.     A          198.51.100.1

   config2.example.net. DELEGPARAM server-name=ns2.example.org.

A.4.  Responses

   The following sections show referral examples:

Špaček, et al.             Expires 1 May 2027                  [Page 29]
Internet-Draft                    DELEG                     October 2026

A.4.1.  DO bit clear, DE bit clear

A.4.1.1.  Query for foo.example

   ;; Header: QR RCODE=NOERROR
   ;;

   ;; Question
   foo.example.  IN MX

   ;; Answer
   ;; (empty)

   ;; Authority
   example.   NS    ns1.example.
   example.   NS    ns2.example.net.
   example.   NS    ns3.example.org.

   ;; Additional
   ns1.example. A     192.0.2.1
   ns1.example. AAAA  2001:db8::1

A.4.1.2.  Query for foo.test

   See Section 5.2.2.1.

   ;; Header: QR AA RCODE=NXDOMAIN
   ;;

   ;; Question
   foo.test.   IN MX

   ;; Answer
   ;; (empty)

   ;; Authority
   .   SOA ...

   ;; Additional
   ;; OPT with Extended DNS Error: New Delegation Only

A.4.1.3.  Query for a.test

   A forgotten glue record under the "test." delegation point is
   occluded by DELEG RRset.

Špaček, et al.             Expires 1 May 2027                  [Page 30]
Internet-Draft                    DELEG                     October 2026

   ;; Header: QR AA RCODE=NXDOMAIN
   ;;

   ;; Question
   a.test.   IN A

   ;; Answer
   ;; (empty)

   ;; Authority
   .   SOA ...

   ;; Additional
   ;; OPT with Extended DNS Error: New Delegation Only

A.4.2.  DO bit set, DE bit clear

A.4.2.1.  Query for foo.example

   ;; Header: QR DO RCODE=NOERROR
   ;;

   ;; Question
   foo.example.   IN MX

   ;; Answer
   ;; (empty)

   ;; Authority

   example.   NS    ns1.example.
   example.   NS    ns2.example.net.
   example.   NS    ns3.example.org.
   example.   DS    44444 13 2 ABCDEF01234567...
   example.   RRSIG DS 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleDS )
   ;; Additional
   ns1.example. A     192.0.2.1
   ns1.example. AAAA  2001:db8::1

A.4.2.2.  Query for foo.test

   See Section 5.2.2.1.

   DELEG-unaware validators would treat this answer as DNSSEC-secure.

Špaček, et al.             Expires 1 May 2027                  [Page 31]
Internet-Draft                    DELEG                     October 2026

   DELEG-aware validators would treat it as DNSSEC-bogus because the
   DELEG bit in NSEC type bitmap would trigger downgrade attack
   detection (see [I-D.ietf-dnsop-delext] section 6).

   ;; Header: QR DO AA RCODE=NXDOMAIN
   ;;

   ;; Question
   foo.test.      IN MX

   ;; Answer
   ;; (empty)

   ;; Authority
   .          SOA ...
   .          RRSIG SOA ...
   test.      NSEC  . RRSIG NSEC DELEG
   test.      RRSIG NSEC 13 1 300 20260101000000 (
                           20250101000000 33333 . SigTestNSEC/ )

   ;; Additional
   ;; OPT with Extended DNS Error: New Delegation Only

A.4.2.3.  Query for a.test

   A forgotten glue record under the "test." delegation point is
   occluded by DELEG RRset.  This is indicated by NSEC chain which
   "skips" over the owner name with A RRset.

   ;; Header: QR DO AA RCODE=NXDOMAIN
   ;;

   ;; Question
   a.test.      IN A

   ;; Answer
   ;; (empty)

   ;; Authority
   .          SOA ...
   .          RRSIG SOA ...
   test.      NSEC  . RRSIG NSEC DELEG
   test.      RRSIG NSEC 13 1 300 20260101000000 (
                           20250101000000 33333 . SigTestNSEC/ )

   ;; Additional
   ;; OPT with Extended DNS Error: New Delegation Only

Špaček, et al.             Expires 1 May 2027                  [Page 32]
Internet-Draft                    DELEG                     October 2026

A.4.3.  DO bit clear, DE bit set

A.4.3.1.  Query for foo.example

   ;; Header: QR DE RCODE=NOERROR
   ;;

   ;; Question
   foo.example.  IN MX

   ;; Answer
   ;; (empty)

   ;; Authority
   example.   DELEG server-ipv4=192.0.2.1 server-ipv6=2001:db8::1
   example.   DELEG server-name=ns2.example.net.,ns3.example.org.

   ;; Additional
   ;; (empty)

A.4.3.2.  Query for foo.test

;; Header: QR DE RCODE=NOERROR
;;

;; Question
foo.test.   IN MX

;; Answer
;; (empty)

;; Authority
test.      DELEG server-ipv6=3fff::33
test.      DELEG include-delegparam=Acfg.example.org.,cname.example.org.
test.      DELEG include-delegparam=config2.example.net.

;; Additional
;; (empty)

   A follow-up example in Appendix A.5 explains the ultimate meaning of
   this response.

A.4.4.  DO bit set, DE bit set

A.4.4.1.  Query for foo.example

Špaček, et al.             Expires 1 May 2027                  [Page 33]
Internet-Draft                    DELEG                     October 2026

   ;; Header: QR DO DE RCODE=NOERROR
   ;;

   ;; Question
   foo.example.  IN MX

   ;; Answer
   ;; (empty)

   ;; Authority
   example.   DELEG server-ipv4=192.0.2.1 server-ipv6=2001:db8::1
   example.   DELEG server-name=ns2.example.net.,ns3.example.org.
   example.   RRSIG DELEG 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleDELEG/ )
   example.   DS    44444 13 2 ABCDEF01234567...
   example.   RRSIG DS 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleDS )
   example.   NSEC  net. NS DS RRSIG NSEC DELEG
   example.   RRSIG NSEC 13 1 300 20260101000000 (
                           20250101000000 33333 . SigExampleNSEC+/ )

   ;; Additional
   ;; (empty)

A.4.4.2.  Query for foo.test

;; Header: QR DO DE RCODE=NOERROR
;;

;; Question
foo.test.      IN MX

;; Answer
;; (empty)

;; Authority
test.      DELEG server-ipv6=3fff::33
test.      DELEG include-delegparam=Acfg.example.org.,cname.example.org.
test.      DELEG include-delegparam=config2.example.net.
test.      RRSIG DELEG 13 1 300 20260101000000 (
                        20250101000000 33333 . SigTestDELEG )
test.      NSEC  . RRSIG NSEC DELEG
test.      RRSIG NSEC 13 1 300 20260101000000 (
                        20250101000000 33333 . SigTestNSEC/ )

;; Additional
;; (empty)

Špaček, et al.             Expires 1 May 2027                  [Page 34]
Internet-Draft                    DELEG                     October 2026

   A follow-up example in Appendix A.5 explains the ultimate meaning of
   this response.

A.5.  DELEGPARAM Interpretation

   In the examples above, the test.  DELEG record uses indirection and
   points to other domain names with DELEGPARAM, A, AAAA, and CNAME
   records.  During resolution, a resolver will gradually build set of
   name servers to contact, as defined in Section 5.1.2.

   To visualize the end result of this process, the full set of name
   servers in form of a 'virtual' DELEG RRset is represented here.

test. DELEG server-ipv4=198.51.100.1
test. DELEG server-ipv4=203.0.113.1
test. DELEG server-ipv6=2001:db8::6666
test. DELEG server-ipv6=3fff::2
; IPv6 address 3fff::33 was de-duplicated (input RRsets listed it twice)
test. DELEG server-ipv6=3fff::33

   Note the "cname.example.org." value in "include-
   delegparam=Acfg.example.org.,cname.example.org."  DELEG record has no
   visible effect.  The included name loops via CNAME back to
   "Acfg.example.org." which is already included.  This would have
   caused duplication of all values if each SLIST was not treated as a
   set.

   Implementations are free to use alternative representations for this
   data, as it is not directly exposed via DNS protocol.

A.6.  An example of a valid delegation tree

   Each delegation level can have a mixture of DELEG and NS RR types,
   and DELEG-aware resolvers must be able to follow chains of
   delegations which combines both types in arbitrary ways.

Špaček, et al.             Expires 1 May 2027                  [Page 35]
Internet-Draft                    DELEG                     October 2026

   ; root zone with NS-only delegations
   . SOA ...
   test. NS ...

   ; test. zone with NS+DELEG delegations
   test. SOA ...
   sld.test. NS ...
   sld.test. DELEG ...

   ; sld.test. zone with NS-only delegation
   sld.test. SOA ...
   nssub.sld.test. NS ...

   ; nssub.sld.test. zone with DELEG-only delegation
   delegsub.nssub.sld.test. DELEG ...

A.7.  Failure Cases

   Several examples of misconfigured delegations which cannot be
   resolved follow.

   Self-references to names without any addresses:

 1p.invalid. DELEG include-delegparam=1p.invalid.,sub.params.1p.invalid.
 2n.invalid. DELEG server-name=ns1.2n.invalid.,ns2.sub.2n.invalid.

   Cycles:

   c1.invalid. DELEG server-name=ns1.c2.invalid.
   c2.invalid. DELEG include-delegparam=params.c1.invalid.,c3.invalid.
   c3.invalid. CNAME c2.invalid.

   Syntactically valid DELEG records without any Section 3.4 keys:

   00.invalid. DELEG \# 0
   01.invalid. DELEG key65280=\032\037\041\045
   02.invalid. DELEG key65281="char-string with whitespace"

   DELEG records with disallowed/ambiguous combination of Section 3.4
   keys:

   k1.invalid. DELEG server-name=ns1.test. include-delegparam=i2.test.
   k2.invalid. DELEG server-ipv4=192.0.2.1 server-name=ns1.test.
   k3.invalid. DELEG server-ipv6=3fff::2 include-delegparam=i2.test.

   A delegation missing the value for a mandatory key:

   m1.invalid. DELEG mandatory=key65534

Špaček, et al.             Expires 1 May 2027                  [Page 36]
Internet-Draft                    DELEG                     October 2026

   Records which are not even allowed in zone file (see also [RFC9460]
   appendix D.3) but might be sent in wire format:

   m2.invalid. DELEG mandatory
   ik.invalid. DELEG invalid

Appendix B.  Test Vectors

   These test vectors only contain the RDATA portion of DELEG records in
   presentation format, generic format ([RFC3597]) and wire format.  The
   wire format uses hexadecimal (\xNN) for each non-ascii byte.  As the
   wireformat is long, it is broken into several lines.

   As the encoding rules for DelegInfo and SVCParam are the same,
   further examples of the encoding of different types of values can be
   found in Appendix D of [RFC9460].

example.   DELEG mandatory=server-ipv4 server-ipv4=192.0.2.1,192.0.2.2
example.   DELEG key0=\000\001 key1=\192\000\002\001\192\000\002\002

\# 18 (
00 00                                              ; key 0
00 02                                              ; deleg info length 2
00 01                                              ; deleg info value: key 1
00 01                                              ; key 1
00 08                                              ; deleg info length 8
c0 00 02 01                                        ; deleg info value, IP 1
c0 00 02 02                                        ; deleg info value, IP 2
)

\x00\x00                                           # key 0
\x00\x02                                           # deleg info length 2
\x00\x01                                           # deleg info value: key 1
\x00\x01                                           # key 1
\x00\x08                                           # deleg info length 8
\xc0\x00\x02\x01                                   # deleg info value, IP 1
\xc0\x00\x02\x02                                   # deleg info value, IP 2

   Figure 1: A simple example of a mandatory server-ip4 with two IP
                              addresses

Špaček, et al.             Expires 1 May 2027                  [Page 37]
Internet-Draft                    DELEG                     October 2026

   example.   DELEG server-ipv6="2001:db8::1,2001:db8::53:1"

   \# 36 (
   00 02                                              ; key 2
   00 20                                              ; length 32
   20 01 0d b8 00 00 00 00 00 00 00 00 00 00 00 01    ; first address
   20 01 0d b8 00 00 00 00 00 00 00 00 00 53 00 01    ; second address
   )

   \x00\x02                                           # key 2
   \x00\x20                                           # length 32
   \x20\x01\x0d\xb8\x00\x00\x00\x00
        \x00\x00\x00\x00\x00\x00\x00\x01              # first address
   \x20\x01\x0d\xb8\x00\x00\x00\x00
        \x00\x00\x00\x00\x00\x53\x00\x01              # second address

                 Figure 2: Two quoted server-ipv6 addresses

   example.   DELEG server-name=NS2.EXAMPLE.NET.,ns3.example.org.
   example.   DELEG server-name="NS2.EXAMPLE.NET.,ns3.example.org."

   \# 38 (
   00 03                                              ; key 3
   00 22                                              ; length 34
   03 4e 53 32 07 45 58 41 4d 50 4c 45 03 4e 45 54 00 ; first name
   03 6e 73 33 07 65 78 61 6d 70 6c 65 03 6f 72 67 00 ; second name
   )

   \x00\x03                                           # key 3
   \x00\x22                                           # length 34
   \x03NS2\x07EXAMPLE\x03NET\x00                      # first address
   \x03ns3\x07example\x03org\x00                      # second address

        Figure 3: The server-name deleg info with two addresses with
                          different capitalization

   example.   DELEG include-delegparam=param.example.net.

   \# 23 (
   00 04                                                    ; key 4
   00 13                                                    ; length 19
   05 70 61 72 61 6d 07 65 78 61 6d 70 6c 65 03 6e 65 74 00 ; name
   )

   \x00\x04                                           # key 4
   \x00\x13                                           # length 19
   \x05param\x07example\x03net\x00                    # name

Špaček, et al.             Expires 1 May 2027                  [Page 38]
Internet-Draft                    DELEG                     October 2026

      Figure 4: The include-delegparam deleg info with a single value

Acknowledgments

   This document is heavily based on past work done by Tim April in
   [I-D.tapril-ns2] and thus extends the thanks to the people helping on
   this which are: John Levine, Erik Nygren, Jon Reed, Ben Kaduk,
   Mashooq Muhaimen, Jason Moreau, Jerrod Wiesman, Billy Tiemann, Gordon
   Marx and Brian Wellington.

   Work on DELEG protocol has started at IETF 118 Hackathon.  Hackathon
   participants: Christian Elmerot, David Blacka, David Lawrence, Edward
   Lewis, Erik Nygren, George Michaelson, Jan Včelák, Klaus Darilion,
   Libor Peltan, Manu Bretelle, Peter van Dijk, Petr Špaček, Philip
   Homburg, Ralf Weber, Roy Arends, Shane Kerr, Shumon Huque, Vandan
   Adhvaryu, Vladimír Čunát, Andreas Schulze.

   Other people joined the effort after the initial hackaton: Ben
   Schwartz, Bob Halley, Paul Hoffman, Miek Gieben, Ray Hunter, Håvard
   Eidnes, Ted Hardie, Michael Richardson, Florian Obser, Evan Hunt,
   Pieter Lexis, ...

Authors' Addresses

   Petr Špaček
   ISC
   Email: pspacek@isc.org

   Ralf Weber
   Akamai Technologies
   Email: rweber@akamai.com

   David C Lawrence
   Salesforce
   Email: tale@dd.org

Špaček, et al.             Expires 1 May 2027                  [Page 39]