dnsop | D. Crocker |
Internet-Draft | Brandenburg InternetWorking |
Intended status: Best Current Practice | May 22, 2018 |
Expires: November 23, 2018 |
DNS Scoped Data Through '_Underscore' Naming of Attribute Leaves
draft-ietf-dnsop-attrleaf-08
Formally, any DNS resource record may occur for any domain name. However some services have defined an operational convention, which applies to DNS leaf nodes that are under a DNS branch having one or more reserved node names, each beginning with an underscore. The underscore naming construct defines a semantic scope for DNS record types that are associated with the parent domain, above the underscored branch. This specification explores the nature of this DNS usage and defines the "DNS Global Underscore Scoped Entry Registry" with IANA. The purpose of the Underscore registry is to avoid collisions resulting from the use of the same underscore-based name, for different services.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
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 November 23, 2018.
Copyright (c) 2018 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 Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
The core Domain Name System (DNS) technical specifications assign no semantics to domain names or their parts, and no constraints upon which resource record (RR) types are permitted to be stored under particular names [RFC1035], [RFC2181]. Over time, some leaf node names, such as "www" and "ftp" have come to imply support for particular services, but this is a matter of operational convention, rather than defined protocol semantics. This freedom in the basic technology has permitted a wide range of administrative and semantic policies to be used -- in parallel. DNS data semantics have been limited to the specification of particular resource record types, on the expectation that new ones would be added as needed. Unfortunately, the addition of new resource record types has proven extremely challenging, over the life of the DNS, with significant adoption and use barriers.
As an alternative to defining a new RR type, some DNS service enhancements call for using an existing resource record type, but specify a restricted scope for its occurrence. Scope is meant as a static property, not one dependent on the nature of the query. It is an artifact of the DNS name. That scope is a leaf node, within which the uses of specific resource record sets can be formally defined and constrained. The leaf occurs in a branch having a distinguished naming convention: At the top of the branch -- beneath the parent domain name to which the scope applies -- one or more reserved DNS node names begin with an underscore ("_"). Because the DNS rules for a "host" (host name) are not allowed to use the underscore character, this distinguishes the underscore name from all legal host names [RFC952]. Effectively, this convention for leaf node naming creates a space for the listing of 'attributes' -- in the form of resource record types -- that are associated with the parent domain, above the underscored sub-branch.
The scoping feature is particularly useful when generalized resource record types are used -- notably TXT, SRV, and URI [RFC1035], [RFC2782], [RFC6335], [RFC7553]. It provides efficient separation of one use of them from others. Absent this separation, an undifferentiated mass of these RRsets is returned to the DNS client, which then must parse through the internals of the records in the hope of finding ones that are relevant. Worse, in some cases the results are ambiguous because a record type might not adequately self-identify. With underscore-based scoping, only the relevant RRsetss are returned.
A simple example is DKIM , which uses "_domainkeys" for defining a place to hold a TXT record containing signing information for the parent domain.
This specification formally defines how underscore labels are used as "attribute" enhancements for their parent domain names. For example, domain name "_domainkey.example." acts as attribute of parent domain name "example." To avoid collisions resulting from the use of the same underscore-based labels for different applications using the same resource record type, this document establishes DNS Underscore Global Scoped Entry IANA Registry for the highest-level reserved names that begin with _underscore; _underscore-based names that are farther down the hierarchy are handled within the scope of the highest-level _underscore name.
Some resource record types are used in a fashion that can create scaling problems, if an entire RRset associated with a domain name is aggregated in the leaf node for that name. An increasingly-popular approach, with excellent scaling properties, places the RRset under a node having an underscore-based name, at a defined place in the DNS tree under the 'parent' name. This constrains the use of particular RR types associated with that parent name. A direct lookup to the subordinate leaf node produces only the desired record types, at no greater cost than a typical DNS lookup.
The definition of a underscore global registry, provided in this specification, primarily attends to the top-most names used for scoping an RR type; that is the _underscore "global" names.
A global registry for DNS nodes names that begin with an _underscore is defined here. The purpose of the Underscore Global Registry is to avoid collisions resulting from the use of the same _underscore-based name, for different applications.
The _underscore names define scope of use for specific resource record types, which are associated with the domain name that is the "parent" to the branch defined by the _underscore naming. A given name defines a specific, constrained context for one or more RR types, where use of such record types conforms to the defined constraints.
Structurally, the registry is defined as a single, flat table of RR types, under node names beginning with _underscore. In some cases, such as for use of an SRV record, the full scoping name might be multi-part, as a sequence of underscore names. Semantically, that sequence represents a hierarchical model and it is theoretically reasonable to allow re-use of a subordinate underscore name in different underscore context; that is, a subordinate name is meaningful only within the scope of the right-most (top-level) underscore name. Therefore they are ignored by this DNS Underscore Global Scoped Entry Registry. This registry is for the definition of highest-level -- ie, global -- underscore node name used.
NAME |
---|
_service1 |
._protoB._service2 |
_protoB._service3 |
_protoC._service3 |
_useX._protoD._service4 |
_protoE._region._authority |
Only the right-most _underscore names are registered in the IANA Underscore Global table.
Per [RFC8126], IANA is requested to establish the:[IANA] is used.
This section describes actions requested of IANA. The guidance in
The DNS Global Underscore Scoped Entry Registry is for DNS node names that begin with the underscore character (_) and are the right-most occurrence of any underscored names in a domain name sequence having that form; that is they are the "top" of a DNS branch, under a "parent" domain name.
A registry entry contains:
Each RR type that is to be used MUST have a separate registry entry.
Initial entries in the registry are:
RR Type | _NODE NAME | REFERENCE |
---|---|---|
OPENPGPKEY | _openpgpkey | [RFC7929] |
SMIMEA | _smimecert | [RFC8162] |
SRV | _dccp | [RFC2782] |
SRV | _sctp | [RFC2782] |
SRV | _tcp | [RFC2782] |
SRV | _udp | [RFC2782] |
TLSA | _sctp | [RFC6698] |
TLSA | _tcp | [RFC6698] |
TLSA | _udp | [RFC6698] |
TXT | _mta-sts | [MTA-STS] |
TXT | _acme-challenge | [ACME] |
TXT | _dmarc | [RFC7489] |
TXT | _domainkey | [RFC6376] |
TXT | _spf | [RFC7208] |
TXT | _vouch | [RFC5518] |
URI | _iax | [RFC7553] |
URI | _acct | [RFC7553] |
URI | _dccp | [RFC7553] |
URI | _email | [RFC7553] |
URI | _ems | [RFC7553] |
URI | _fax | [RFC7553] |
URI | _ft | [RFC7553] |
URI | _h323 | [RFC7553] |
URI | _ical-sched | [RFC7553] |
URI | _ical-access | [RFC7553] |
URI | _ifax | [RFC7553] |
URI | _im | [RFC7553] |
URI | _mms | [RFC7553] |
URI | _pres | [RFC7553] |
URI | _pstn | [RFC7553] |
URI | _sctp | [RFC7553] |
URI | _sip | [RFC7553] |
URI | _sms | [RFC7553] |
URI | _tcp | [RFC7553] |
URI | _udp | [RFC7553] |
URI | _unifmsg | [RFC7553] |
URI | _vcard | [RFC7553] |
URI | _videomsg | [RFC7553] |
URI | _voice | [RFC7553] |
URI | _voicemsg | [RFC7553] |
URI | _vpim | [RFC7553] |
URI | _xmp | [RFC7553] |
This section provides guidance for expert review of registration requests in the of DNS Underscore Global Scoped Entry Registry.
The review is for the purposes of ensuring that:
For the purposes of this Expert Review, other matters of the specification's technical quality, adequacy or the like are outside of scope.
This memo raises no security issues.
Thanks go to Bill Fenner, Tony Hansen, Martin Hoffmann, Peter Koch, Olaf Kolkman, and Andrew Sullivan for diligent review of the (much) earlier drafts. For the later enhancements, thanks to: Stephane Bortzmeyer, Bob Harold, Warren Kumari, John Levine, Joel Jaeggli, Petr Špaček, Ondřej Surř, Paul Vixie, Tim Wicinski, and Paul Wouters.
Special thanks to Ray Bellis for his persistent encouragement to continue this effort, as well as the suggestion for an essential simplification to the registration model.