<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.17 (Ruby 2.6.6) -->
<?rfc rfcedstyle="yes"?>
<?rfc tocindent="yes"?>
<?rfc strict="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc docmapping="yes"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-richardson-ipv4-reverse-in-v6-00" category="std" consensus="true" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.15.3 -->
  <front>
    <title abbrev="public-names">Simple Provisioning of Reverse IPv4 Names</title>
    <seriesInfo name="Internet-Draft" value="draft-richardson-ipv4-reverse-in-v6-00"/>
    <author initials="M." surname="Richardson" fullname="Michael Richardson">
      <organization>Sandelman Software Works</organization>
      <address>
        <postal>
          <street>470 Dawson Avenue</street>
          <city>Ottawa, ON</city>
          <code>K1Z 5V7</code>
          <country>Canada</country>
        </postal>
        <email>mcr+ietf@sandelman.ca</email>
      </address>
    </author>
    <date year="2022" month="December" day="03"/>
    <area>Internet</area>
    <workgroup>Homenet</workgroup>
    <keyword>Internet-Draft</keyword>
    <abstract>
      <t>Merges IPv4 reverse names into IPv6 reverse maps, particularly for IPv6 delegations that are managed automatically.</t>
    </abstract>
  </front>
  <middle>
    <section anchor="introduction">
      <name>Introduction</name>
      <t>Many small offices get customized service from boutique ISPs.
This has historically included delegation of one or a small number (8 to 16) of statically assigned IPv4 addresses.</t>
      <t>Populating the reverse zone for such small delegations has often meant using <xref target="RFC2317"/> style delegation.</t>
      <t><xref target="RFC2317"/> delegation still requires that the ISP delegate the zone to the customer, collect NS and DS records, and in most cases, that the ISP arranges to become a secondary for the zone.</t>
      <t>Experience by early adopters was that not every stub resolver would do a second query when a CNAME record was found in the reverse zone rather than a PTR, but if the PTR was returned as additional information in the same query, that it would in fact work.
(Later specifications make stub resolvers ignore this additional information, but resolvers that paid attention to that update, also likely would follow the CNAME in the reverse)</t>
      <t>This custom configuration required to do <xref target="RFC2317"/> delegation often has been a drag for many operators, and in some cases has resulted in delays to making IPv6 available to this smaller offices. The rational is that IPv6 operations can only be scaled well when completely automated, and the custom configurations for the IPv4 delegation get in the way of such things.</t>
      <t>This document proposes to leverage the work of <xref target="I-D.ietf-homenet-front-end-naming-delegation"/> and <xref target="I-D.ietf-homenet-naming-architecture-dhc-options"/> to automate the delegation of <xref target="RFC2317"/> reverse zones for IPv4 delegations.</t>
    </section>
    <section anchor="protocol-proposal">
      <name>Protocol Proposal</name>
      <t><xref target="RFC2317"/> initially proposes to make the delegated zone a subzone of the IPv4 reverse, such as having '128/26.2.0.192.in-addr.arpa' be the delegation from '2.0.192.in-addr.arpa'</t>
      <t>(The use of '/' as the separator has become a problem for many operators due the way that zone names are translated to file names, and has often been replaced with another character like '-')</t>
      <t>In <xref section="5.2" sectionFormat="comma" target="RFC2317"/> suggests putting the reverse names into the forward zone.
This document proposes to put the IPv4 reverse names into the IPv6 reverse zone, which can be automatically delegated to the Home Naming Architecture described in <xref target="I-D.ietf-homenet-front-end-naming-delegation"/>.</t>
      <t>All of this can be done today through bilateral convention: as long as the HNA and the ISP's IPv4 Address Management system agree to use the same names in the CNAMEs, everything works.
This document proposes a universal mechanism to enable interoperation without bilateral agreement.</t>
      <t>IPv4 reverse names are done by octet in decimal, while IPv6 is done by hexadecimal digit by nibble.
In order to allow for the maximum interoperation for cases where multiple IPv4 addresses are delegated, but not from the same prefix, all IPv4 octets should be included in the mapped address.</t>
      <t>It is therefore proposed that the reverse name for an address 192.0.2.234, where the customer has the IPv6 prefix 2001:db8:cake::/64 delegated, be mapped as follows:</t>
      <artwork><![CDATA[
234.2.0.192.in-addr.arpa IN CNAME 234.2.0.192.0.0.0.0.e.k.a.c.8.d.b.0.1.0.0.2.ip6.arpa.
]]></artwork>
      <t>Note that the resulting name in the IP6 space will always be shorter than any IPv6 name, so even if a number like 8.8.8.8 were mapped (which could very well be read as an IPv6 nibble grouping), there should never be a conflict.</t>
      <section anchor="operator-changes">
        <name>Operator changes</name>
        <t>The only thing that the operator has to do differently is to insert the right CNAMEs into its reverse IPv4 DNS.
These can be generated by a custom script for their IP Address Manager which will know what IPv6 delegations have been made, and which IPv4 static delegations are involved.</t>
        <t>All of the DNS operational activities like DNSSEC, NS records, and the like would now be handled by the mechanisms of <xref target="I-D.ietf-homenet-front-end-naming-delegation"/> and <xref target="I-D.ietf-homenet-naming-architecture-dhc-options"/>.</t>
      </section>
      <section anchor="home-naming-architecture-hna-changes">
        <name>Home Naming Architecture (HNA) changes</name>
        <t>The HNA mechanism responsible for creating the reverse map needs to take into account any static IPv4 addresses that are delegated to it.
This may be via PPP IPCP, or DHCPv4 for the first address, and by some IPv4 as a service to get additional addresses.
It is probably that the addresses will have to be statically configured for some time.
(Note that the services described by <xref target="RFC9313"/> are all mechanisms to share an IPv4 among many subscribers, not delegate a single IPv4 address)</t>
        <t>For an address like 192.0.2.234, with a reverse name of "webserver.example", then it must create a  new PTR record like:</t>
        <artwork><![CDATA[
234.2.0.192.0.0.0.0.e.k.a.c.8.d.b.0.1.0.0.2.ip6.arpa IN PTR webserver.example.
]]></artwork>
      </section>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <t>The presence of the additional PTR records may be easily enumerated due to the much smaller IPv4 space.
That will reveal which names are active in IPv4 space for the enterprise using this technique.</t>
      <t>-- back</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <reference anchor="RFC2317">
          <front>
            <title>Classless IN-ADDR.ARPA delegation</title>
            <author fullname="H. Eidnes" initials="H." surname="Eidnes">
              <organization/>
            </author>
            <author fullname="G. de Groot" initials="G." surname="de Groot">
              <organization/>
            </author>
            <author fullname="P. Vixie" initials="P." surname="Vixie">
              <organization/>
            </author>
            <date month="March" year="1998"/>
            <abstract>
              <t>This document describes a way to do IN-ADDR.ARPA delegation on non-octet boundaries for address spaces covering fewer than 256 addresses.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="20"/>
          <seriesInfo name="RFC" value="2317"/>
          <seriesInfo name="DOI" value="10.17487/RFC2317"/>
        </reference>
        <reference anchor="I-D.ietf-homenet-front-end-naming-delegation">
          <front>
            <title>Simple Provisioning of Public Names for Residential Networks</title>
            <author fullname="Daniel Migault" initials="D." surname="Migault">
              <organization>Ericsson</organization>
            </author>
            <author fullname="Ralf Weber" initials="R." surname="Weber">
              <organization>Nominum</organization>
            </author>
            <author fullname="Michael Richardson" initials="M." surname="Richardson">
              <organization>Sandelman Software Works</organization>
            </author>
            <author fullname="Ray Hunter" initials="R." surname="Hunter">
              <organization>Globis Consulting BV</organization>
            </author>
            <date day="31" month="October" year="2022"/>
            <abstract>
              <t>   Home network owners may have devices or services hosted on this home
   network that they wish to access from the Internet (i.e., from a
   network outside of the home network).  To enable this access, the
   names and IP addresses of these devices and services needs to be made
   available in the public DNS.

   The names and IP address of the home network are present in the
   Public Homenet Zone by the Homenet Naming Authority (HNA), which in
   turn instructs the DNS Outsourcing Infrastructure (DOI) to publish
   the zone on the behalf of the HNA.  This document describes how an
   HNA can instruct a DOI to publish a Public Homenet Zone on its
   behalf.

              </t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-homenet-front-end-naming-delegation-22"/>
        </reference>
        <reference anchor="I-D.ietf-homenet-naming-architecture-dhc-options">
          <front>
            <title>DHCPv6 Options for Home Network Naming Authority</title>
            <author fullname="Daniel Migault" initials="D." surname="Migault">
              <organization>Ericsson</organization>
            </author>
            <author fullname="Ralf Weber" initials="R." surname="Weber">
              <organization>Akamai</organization>
            </author>
            <author fullname="Tomek Mrugalski" initials="T." surname="Mrugalski">
              <organization>Internet Systems Consortium, Inc.</organization>
            </author>
            <date day="31" month="October" year="2022"/>
            <abstract>
              <t>   This document defines DHCPv6 options so a Homenet Naming Authority
   (HNA) can automatically proceed to the appropriate configuration and
   outsource the authoritative naming service for the home network.  In
   most cases, the outsourcing mechanism is transparent for the end
   user.

              </t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-homenet-naming-architecture-dhc-options-24"/>
        </reference>
      </references>
      <references>
        <name>Informative References</name>
        <reference anchor="RFC9313">
          <front>
            <title>Pros and Cons of IPv6 Transition Technologies for IPv4-as-a-Service (IPv4aaS)</title>
            <author fullname="G. Lencse" initials="G." surname="Lencse">
              <organization/>
            </author>
            <author fullname="J. Palet Martinez" initials="J." surname="Palet Martinez">
              <organization/>
            </author>
            <author fullname="L. Howard" initials="L." surname="Howard">
              <organization/>
            </author>
            <author fullname="R. Patterson" initials="R." surname="Patterson">
              <organization/>
            </author>
            <author fullname="I. Farrer" initials="I." surname="Farrer">
              <organization/>
            </author>
            <date month="October" year="2022"/>
            <abstract>
              <t>Several IPv6 transition technologies have been developed to provide customers with IPv4-as-a-Service (IPv4aaS) for ISPs with an IPv6-only access and/or core network. These technologies have their advantages and disadvantages. Depending on existing topology, skills, strategy, and other preferences, one of these technologies may be the most appropriate solution for a network operator.</t>
              <t>This document examines the five most prominent IPv4aaS technologies and considers a number of different aspects to provide network operators with an easy-to-use reference to assist in selecting the technology that best suits their needs.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9313"/>
          <seriesInfo name="DOI" value="10.17487/RFC9313"/>
        </reference>
      </references>
    </references>
  </back>
  <!-- ##markdown-source:
H4sIACULjGMAA71YXW/byBV956+Ybh7soCJjO14n0Utr2FnEaO0YcbAF+lIM
yZE0MDnDnRlK0Qb733vuneGHHBvYvjRBEImcj/tx7rnnKs/zLOjQqKV40G3X
KHHv7FZ7bY02a2FX4ovaKueVuLnfnos72SqfybJ0arsUXV82usoNP6xtRR+W
onZyFX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