<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>

<rfc xmlns:xi="http://www.w3.org/2001/XInclude" submissionType="IETF" category="std" consensus="true" docName="draft-ietf-dnsop-alt-tld-25" number="0000" ipr="trust200902" obsoletes="" updates="" xml:lang="en" tocInclude="true" symRefs="true" sortRefs="true" version="3">


  <front>
    <title abbrev="Reserve ALT TLD">The ALT Special Use Top Level
    Domain</title>
    <seriesInfo name="RFC" value="0000"/>
    <author fullname="Warren Kumari" initials="W." surname="Kumari">
      <organization>Google</organization>
      <address>
        <postal>
          <street>1600 Amphitheatre Parkway</street>
          <city>Mountain View</city>
	  <region>CA</region>
	  <code>94043</code>
          <country>United States of America</country>
        </postal>
        <email>warren@kumari.net</email>
      </address>
    </author>
    <author fullname="Paul Hoffman" initials="P." surname="Hoffman">
      <organization>ICANN</organization>
      <address>
        <email>paul.hoffman@icann.org</email>
      </address>
    </author>
    <date year="2023" month="May" />
    <area>ops</area>
    <workgroup>dnsop</workgroup>

<!-- [rfced] Please insert any keywords (beyond those that appear in the
title) for use on https://www.rfc-editor.org/search. 
-->

<keyword>example</keyword>

    <abstract>
      <t>This document reserves a TLD label, "alt" to be used in
      non-DNS contexts. It also provides advice and guidance to developers
      developing alternative namespaces.</t>
      <t>[ This document is being
      collaborated on in Github at &lt;https://github.com/wkumari/draft-wkumari-dnsop-alt-tld&gt;.
      The most recent version of the document, open
      issues, etc should all be available here. The authors (gratefully)
      accept pull requests. ]</t>
    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default">
      <name>Introduction</name>
      <t>Many Internet protocols need to name entities. Names that look
      like DNS names (a series of labels separated with dots) have become
      common, even in systems that are not part of the global DNS administered
      by IANA. This document reserves the top-level label "alt" (short for
      "alternative") as a special-use domain name (<xref target="RFC6761" format="default"/>). This
      top-level label can be used as the final (rightmost) label to signify
      that the name is not rooted in the global DNS, and that it should not be
      resolved using the DNS protocol.</t>
      <t>In <xref target="iana-6761" format="default"/>, the IANA is requested to add the .alt name
      to the "Special-Use Domain Name" registry. IANA sets aside names in that
      registry, as described in <eref target="https://www.iana.org/domains/reserved" brackets="angle"/>.</t>
      <t>Throughout the rest of this document, the top-level "alt" label is shown
      as ".alt" to match the common presentation form of DNS names.</t>
      <t>The techniques in this document are primarily intended to address some of the
      issues discussed in <xref target="RFC8244" format="default"/>, which contains
      additional background on the issues with special use domain names.</t>
      <t>In this document, ".alt" was chosen for the special-use domain name
      instead of something like "alt.arpa" so that systems that use the name
      do not have to worry that a parent of their name would be resolved if
      the name leaked to the Internet. Historically, some systems that want to
      use non-DNS names wanted the entire name to be not in the DNS, and
      reserving ".alt" fulfills that use case.</t>
      <section numbered="true" toc="default">
        <name>Terminology</name>
        <t>This document assumes familiarity with DNS terms; please see <xref
        target="RFC8499" format="default"/>. Terminology that is specific to
        this document is:</t>
        <dl spacing="normal" newline="false">
          <dt>DNS name:</dt>
	  <dd>Domain names that are intended to be used with DNS resolution,
	  either in the global DNS or in some other context.</dd>
          <dt>DNS context:</dt>
	  <dd>The namespace anchored at the globally-unique DNS root,
	  administered by IANA. This is the namespace or context that "normal"
	  DNS uses.</dd>
          <dt>non-DNS context:</dt>
	  <dd>Any other (alternative) namespace.</dd>
          <dt>pseudo-TLD:</dt>
	  <dd>A label that appears in a fully-qualified domain name in the
	  position of a TLD, but which is not part of the global DNS. This
	  term is not intended to be pejorative.</dd>
          <dt>TLD:</dt>
	  <dd>See the definition in <xref target="RFC8499" sectionFormat="of"
	  section="2"/>.</dd>
        </dl>
      </section>
      <section numbered="true" toc="default">
        <name>Requirements Terminology</name>
        <t> The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
        "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
        NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
        "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
        "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document
        are to be interpreted as described in BCP&nbsp;14 <xref
        target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
        appear in all capitals, as shown here.
        </t>
      </section>
    </section>
    <section numbered="true" toc="default">
      <name>The alt Namespace</name>
      <t>This document reserves the .alt label
      for use as an unmanaged pseudo-TLD
      namespace. The .alt label can be used in any domain name as a pseudo-TLD
      to signify that this is an alternative (non-DNS) namespace, and should
      not be looked up in a DNS context.</t>
      <t>This document uses ".alt" for the pseudo-TLD in the presentation
      format for the DNS, corresponding to a 0x03616c7400 suffix in DNS wire format.
      The on-the-wire formats for non-DNS protocols might be
      different.</t>
      <t>Because names beneath .alt are in an alternative namespace, they have no
      significance in the regular DNS context. DNS stub and recursive resolvers
      do not need to look them up in the DNS context.</t>
      <t>DNS resolvers that serve the DNS protocol and non-DNS protocols at the
      same time might consider .alt like a DNS entry in the
      "Transport-Independent Locally-Served DNS Zone Registry" that is part of
      IANA's "Locally-Served DNS Zones" registry, except that .alt is always
      used to denote names that are to be resolved by non-DNS protocols. Note
      that this document does not request adding .alt to these registries
      because .alt, by this specification, is not a DNS name.</t>
      <t>Note that using .alt as a pseudo-TLD does not mandate how the non-DNS
      protocol will handle the name. To maximize compatibility with existing
      applications, it is suggested, but not required, that non-DNS protocols
      using names that end in .alt follow DNS name syntax. If the non-DNS
      protocol has a wire format like the DNS wire format, it might append the
      null label at the end of the name, but it also might not. This document
      does not make any suggestion for how non-DNS protocols deal with the wire
      format of their names.</t>
      <t>Groups wishing to create new alternative namespaces may create their
      alternative namespace under a label that names their namespace under the
      .alt pseudo-TLD. This document defines neither a registry nor governance
      model for the .alt namespace, as it is not managed by the IETF or IANA.
      There is no guarantee of unambiguous mappings from names to name
      resolution mechanisms. Mitigation or resolution of collisions that occur
      under .alt are outside the scope of this document and outside the IETF's remit.
      Users are advised to consider the associated risks when using names under .alt.</t>
      <t>Regardless of the expectations above, names in the .alt pseudo-TLD will leak
      outside the context in which they are valid. Decades of experience show that
      such names will appear at recursive resolvers, and will thus also appear at the
      root servers for the global DNS.</t>
      <t>Sending traffic to the root servers that is known to always elicit an
      NXDOMAIN response, such as queries for names ending in .alt, wastes
      resources on both the resolver and the root server.
      Caching resolvers performing aggressive use of DNSSEC-validated caches
      (described in <xref target="RFC8198" format="default"/>) may mitigate this by
      synthesizing negative answers from cached NSEC records for names under
      .alt. Similarly, caching resolvers using QNAME
      minimisation (described in <xref target="RFC9156" format="default"/>)
      will cause less of this traffic to the root servers because the negative
      responses will cover all names under .alt.</t>
      <t>Currently deployed projects and protocols that are using pseudo-TLDs
      are recommended to move under the .alt pseudo-TLD, but this is not a requirement.
      Rather, the .alt pseudo-TLD is being reserved so that current and future
      projects of a similar nature have a designated place to create
      alternative resolution namespaces that will not conflict with the
      regular DNS context.</t>
    </section>
    <section numbered="true" toc="default">
      <name>IANA Considerations</name>
      <section anchor="iana-6761" numbered="true" toc="default">
        <name>Special-Use Domain Name Registry</name>
        <t>The IANA is requested to add the .alt name to the "Special-Use
      Domain Name" registry (<xref target="RFC6761" format="default"/>), and reference this
      document.</t>
      </section>
      <section numbered="true" toc="default">
        <name>Domain Name Reservation Considerations</name>
        <t>This section exists to meet the requirements of <xref target="RFC6761" format="default"/>.
      The questions posed in RFC 6761 were largely written assuming a DNS resolution
      system, and so some of the questions are not especially relevant or well
      suited.</t>
      <ol type="1" spacing="normal">
        <li>Users might or might not recognize that names in the .alt
        pseudo-TLD as special.</li>
        <li>Application software that uses alternative namespaces in the .alt
        pseudo-TLD are expected to have their own processing rules for their
        own names, probably in specialized resolver APIs, libraries, and/or
        application software.  Application software that is not specifically
        designed to use names in the .alt pseudo-TLD are not expected to make
        their software recognize these names as special.</li>
        <li>Developers of name resolution APIs and libraries that are
        specifically designed to implement resolution of an alternative name
        resolution system are expected to recognize names in the .alt
        pseudo-TLD as special and thus perform resolution of those names. The
        exact mechanism used by the name resolution APIs and libraries will
        obviously depend on the particular alternative resolution
        system. Regular DNS resolution APIs and libraries are not expected to
        recognize or treat names in the .alt pseudo-TLD differently.</li>
        <li>Caching DNS servers <bcp14>SHOULD NOT</bcp14> recognize names in
        the .alt pseudo-TLD as special and <bcp14>SHOULD NOT</bcp14> perform
        any special handling with them.</li>
        <li>Authoritative DNS servers <bcp14>SHOULD NOT</bcp14> recognize
        names in the .alt pseudo-TLD as special and <bcp14>SHOULD NOT</bcp14>
        perform any special handling with them.</li>
        <li>DNS server operators will treat names in the .alt pseudo-TLD as
        they would names in any other TLD not in the global DNS. DNS server
        operators may be aware that queries for names ending in .alt are not
        DNS names, and queries for those names were leaked into the DNS
        context. This information can be useful for support or debugging
        purposes.</li>
        <li>It is not possible for DNS registries/registrars to register DNS
        names in the .alt pseudo-TLD as the .alt will not exist in the global
        DNS root.</li>
      </ol>
      </section>
    </section>
    <section numbered="true" toc="default">
      <name>Privacy Considerations</name>
      <t>This document reserves .alt to be used to indicate that a name is not
      a DNS name. Unfortunately, these queries will undoubtedly leak into the
      global DNS. This is a general problem with alternative namespaces and not
      confined to names ending in .alt.</t>
      <t>For example, a value such as "example.alt" could easily cause a privacy
      issue for any names in that namespace that are leaked to the Internet.
      In addition, if a name ending in .alt is sufficiently unique, long-lasting, and
      frequently leaks into the global DNS, then regardless of how the value is constructed,
      that value can act similar to a web cookie with all the associated downsides of
      (re-)identification.</t>
    </section>
    <section anchor="security" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>Because names in the .alt pseudo-TLD  are explicitly outside of the DNS context,
      it is impossible to rely on any DNS-related security considerations.
      Care must be taken when mapping the pseudo-TLD into its corresponding
      non-DNS name resolution system in order to get whatever security is offered by that system.</t>
    </section>
    <section numbered="true" toc="default">
      <name>Acknowledgements</name>
      <t>We would like to thank <contact fullname="Joe Abley"/>, <contact
      fullname="Mark Andrews"/>, <contact fullname="Erik Auerswald"/>,
      <contact fullname="Roy Arends"/>, <contact fullname="Ray Bellis"/>,
      <contact fullname="Vittorio Bertola"/>, <contact fullname="Marc
      Blanchet"/>, <contact fullname="John Bond"/>, <contact
      fullname="Stephane Bortzmeyer"/>, <contact fullname="David Cake"/>,
      <contact fullname="Vint Cerf"/>, <contact fullname="David Conrad"/>,
      <contact fullname="Steve Crocker"/>, <contact fullname="Vladimir
      Cunat"/>, <contact fullname="Brian Dickson"/>, <contact fullname="Ralph
      Droms"/>, <contact fullname="Robert Edmonds"/>, <contact
      fullname="Patrik Faltstrom"/>, <contact fullname="Bernd Fix"/>, <contact
      fullname="Christian Grothoff"/>, <contact fullname="Olafur
      Gudmundsson"/>, <contact fullname="Ted Hardie"/>, <contact fullname="Bob
      Harold"/>, <contact fullname="Wes Hardaker"/>, <contact fullname="Geoff
      Huston"/>, <contact fullname="Joel Jaeggli"/>, <contact fullname="John C
      Klensin"/>, <contact fullname="Eliot Lear"/>, <contact fullname="Barry
      Leiba"/>, <contact fullname="Ted Lemon"/>, <contact fullname="Edward
      Lewis"/>, <contact fullname="John Levine"/>, <contact fullname="George
      Michaelson"/>, <contact fullname="Ed Pascoe"/>, <contact fullname="Libor
      Peltan"/>, <contact fullname="Jim Reid"/>, <contact fullname="Martin
      Schanzenbach"/>, <contact fullname="Ben Schwartz"/>, <contact
      fullname="Arturo Servin"/>, <contact fullname="Peter Thomassen"/>,
      <contact fullname="Paul Vixie"/>, <contact fullname="Duane Wessels"/>,
      <contact fullname="Paul Wouters"/>, and <contact fullname="Suzanne
      Woolf"/> for feedback.</t>
      <t>This document was many years in the making, and we would like to
      sincerely apologize for anyone who we forgot to credit.</t>
      <t>We would also like to thank <contact fullname="Rob Wilton"/> for
      serving as Responsible AD for this document.</t>
      <t>In addition, <contact fullname="Andrew Sullivan"/> was an author from
      adoption (2015) through version 14 (2021).</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6761.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8244.xml"/>
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8198.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8499.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9156.xml"/>
      </references>
    </references>
    <section numbered="true" toc="default">
      <name>Changes / Author Notes.</name>
      <t>[RFC Editor: Please remove this section before publication ]</t>
      <t>From -24 to -25:</t>
      <ul spacing="normal">
        <li>Capitalized a <bcp14>SHOULD NOT</bcp14>.</li>
      </ul>
      <t>From -23 to -24:</t>
      <ul spacing="normal">
        <li>Small changes based on inputs from IESG review.</li>
      </ul>
      <t>From -22 to -23:</t>
      <ul spacing="normal">
        <li>Small changes based on inputs from IETF Last Call.</li>
      </ul>
      <t>From -21 to -22:</t>
      <ul spacing="normal">
        <li>Addressed issues from AD review - https://mailarchive.ietf.org/arch/msg/dnsop/aIkeZUqKDZzzseCPfiIJ9J6zYXc/</li>
        <li>Combined some of the acknowledgements into one paragraph.</li>
      </ul>
      <t>From -20 to -21:</t>
      <ul spacing="normal">
        <li>During WGLC review, replaced the descriptive text with the requirements from RFC 6761 with a list.
            This in turn required adding in the BCP 14 boilerplate.</li>
        <li>During WGLC review, made a few more requested changes</li>
      </ul>
      <t>From -19 to -20:</t>
      <ul spacing="normal">
        <li>Expanded the privacy considerations</li>
        <li>Clarified benefit of using aggressive NSEC</li>
        <li>Clarified that the .alt namespace is unmanaged and thus comes with risks.</li>
        <li>Added description of why .alt was chosen instead of alt.arpa</li>
        <li>Removed 2119 language because there are no MUSTs or SHOULDs</li>
      </ul>
      <t>From -18 to -19:</t>
      <ul spacing="normal">
        <li>Document was discussed at IETF115</li>
        <li>Changed the intended status to Standards Track at the request of the responsible AD (Rob Wilton)</li>
        <li>Clarified that this only deals with some of the problems from RFC 8244</li>
        <li>Removed text telling protocol designers that they should differentiate their names from other designers</li>
        <li>Added a note that .alt names will leak out of the local context</li>
        <li>Reminded resolver operators that there are already ways to reduce .alt traffic to the root servers</li>
        <li>Moved the paragraph related to 6761 to the IANA Considerations section</li>
        <li>Strengthened the security considerations</li>
        <li>Added references for QNAME minimization and agressive NSEC caching</li>
      </ul>
      <t>From -16 to -18:</t>
      <ul spacing="normal">
        <li>Lots of editorial fix-ups</li>
        <li>Fixed reference to RFC 8499</li>
        <li>Clarified presentation format for .alt</li>
        <li>Clarified that IANA will set aside the name when it goes into the 6761 registry</li>
        <li>Removed the loose registry for names under .alt</li>
        <li>Added back the required discussion for RFC 6761</li>
      </ul>
      <t>From -15 to -16:</t>
      <ul spacing="normal">
        <li>Many simplifications to focus the document on the technical bits
          as much as possible, based on mailing list feedback.</li>
        <li>Removed unused references.</li>
        <li>Removed the RFC 2119 language because it is no longer used in the document.</li>
        <li>Added a non-normative IANA registry.</li>
        <li>Added Paul Hoffman as second author to help get the draft moving in the DNSOP WG again.</li>
      </ul>
      <t>From -14 to -15:</t>
      <ul spacing="normal">
        <li>[Pinky]: Gee, Brain. What are we going to do tonight?</li>
        <li>[The Brain]: The same thing we do every 6 months, Pinky. Post a
          new version of this document, with only the version number changed.</li>
      </ul>
      <t>From -13 to -14:</t>
      <ul spacing="normal">
        <li>Andrew asked to be removed as co-author, due to potential perception of CoI.</li>
        <li>Erik Auerswald provided Github issues and comments re: references and grammar.</li>
      </ul>
      <t>From -12 to -13:</t>
      <ul spacing="normal">
        <li>Just bumping versions to prevent expiration. </li>
      </ul>
      <t>From -08 to -12:</t>
      <ul spacing="normal">
        <li>Just bumping versions to prevent expiration. </li>
        <li>Updated references (aggressive-nsec is now RFC 8198,
          draft-ietf-dnsop-sutld-ps is now 8244).</li>
      </ul>
      <t>From -07 to -08:</t>
      <ul spacing="normal">
        <li>Made it clear that this is only for non-DNS.</li>
        <li>As per Interim consensus, removed the "add this to local zones"
          text.</li>
        <li>Added a Privacy Considerations section</li>
        <li>Grammar fix -- "alternative" is more correct than "alternate",
          replaced.</li>
      </ul>
      <t>From -06 to -07:</t>
      <ul spacing="normal">
        <li>Rolled up the GItHub releases in to a full release.</li>
      </ul>
      <t>From -07.2 to -07.3 (GitHub point release):</t>
      <ul empty="true" spacing="normal">
        <li>Removed 'sandbox' at Stephane's suggestion -
          https://www.ietf.org/mail-archive/web/dnsop/current/msg18495.html</li>
        <li>Suggested (in 4.1 bullet 3) that DNS libraries ignore these --
          Bob Harold -
          https://mailarchive.ietf.org/arch/msg/dnsop/a_ruPf8osSzi_hCzCqOxYLXhYoA</li>
        <li>Added some pointers to the SUTLD document.</li>
      </ul>
      <t>From -07.1 to -07.2 (Github point release):</t>
      <ul spacing="normal">
        <li>Reverted the &lt;TBD&gt; string (at request of chairs).</li>
        <li>Added an editors note explaining the above.</li>
        <li>Removed some more background, editorializing, etc.</li>
      </ul>
      <t>From -06 to -07.1
      (https://github.com/wkumari/draft-wkumari-dnsop-alt-tld/tree/7988fcf06100f7a17f21e6993b781690b5774472):</t>
      <ul spacing="normal">
        <li>Replaced ALT with &lt;TBD&gt; at the suggestions of George.</li>
      </ul>
      <t>From -05 to -06:</t>
      <ul spacing="normal">
        <li>Removed a large amount of background - we now have the (adopted)
          tldr document for that.</li>
        <li>Made it clear that pseudo-TLD is not intended to be
          pejorative.</li>
        <li>Tried to make it cleat that this is something people can choose
          to use - or not.</li>
      </ul>
      <t>From -04 to -05:</t>
      <ul spacing="normal">
        <li>Version bump - we are waiting in the queue for progress on SUN,
          bumping this to keep it alive.</li>
      </ul>
      <t>From -03 to -04:</t>
      <ul spacing="normal">
        <li>3 changes - the day, the month and the year (a bump to keep
          alive).</li>
      </ul>
      <t>From -02 to -03:</t>
      <ul spacing="normal">
        <li>Incorporate suggestions from Stephane and Paul Hoffman.</li>
      </ul>
      <t>From -01 to -02:</t>
      <ul spacing="normal">
        <li>Merged a bunch of changes from Paul Hoffman. Thanks for sending a
          git pull.</li>
      </ul>
      <t>From -00 to 01:</t>
      <ul spacing="normal">
        <li>Removed the "delegated to new style AS112 servers" text -this was
          legacy from the omnicient AS112 days. (Joe Abley)</li>
        <li>Removed the "Advice to implemntors" section. This used to
          recommend that people used a subdomain of a domain in the DNS. It
          was pointed out that this breaks things badly if the domain
          expires.</li>
        <li>Added text about why we don't want to adminster a registry for
          ALT.</li>
      </ul>
      <t>From Individual-06 to DNSOP-00</t>
      <ul spacing="normal">
        <li>Nothing changed, simply renamed draft-wkumari-dnsop-alt-tld to
          draft-ietf-dnsop-alt-tld</li>
      </ul>
      <t>From -05 to -06</t>
      <ul spacing="normal">
        <li>Incorporated comments from a number of people, including a number
          of suggestion heard at the IETF meeting in Dallas, and the DNSOP
          Interim meeting in May, 2015.</li>
        <li>Removed the "Let's have an (optional) IANA registry for people to
          (opportinistically) register their string, if they want that option"
          stuff. It was, um, optional....</li>
      </ul>
      <t>From -04 to -05</t>
      <ul spacing="normal">
        <li>Went through and made sure that I'd captured the feedback
          received.</li>
        <li>Comments from Ed Lewis.</li>
        <li>Filled in the "Domain Name Reservation Considerations" section of
          RFC6761.</li>
        <li>Removed examples from .Onion.</li>
      </ul>
      <t>From -03 to -04</t>
      <ul spacing="normal">
        <li>Incorporated some comments from Paul Hoffman</li>
      </ul>
      <t>From -02 to -03</t>
      <ul spacing="normal">
        <li>After discussions with chairs, made this much more generic (not
          purely non-DNS), and some cleanup.</li>
      </ul>
      <t>From -01 to -02</t>
      <ul spacing="normal">
        <li>Removed some fluffy wording, tightened up the language some.</li>
      </ul>
      <t>From -00 to -01.</t>
      <ul spacing="normal">
        <li>Fixed the abstract.</li>
        <li>Recommended that folk root their non-DNS namespace under a DNS
          namespace that they control (Joe Abley)</li>
      </ul>
    </section>
  </back>
</rfc>
