<?xmlversion="1.0" encoding="utf-8"?> <!-- name="GENERATOR" content="github.com/mmarkdown/mmark Mmark Markdown Processor - mmark.miek.nl" -->version='1.0' encoding='utf-8'?> <rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3"ipr="trust200902"category="std" consensus="true" docName="draft-ietf-dprive-xfr-over-tls-12" indexInclude="true" ipr="trust200902" number="9103" prepTime="2021-08-23T21:11:13" scripts="Common,Latin" sortRefs="true" submissionType="IETF"category="std" xml:lang="en" xmlns:xi="http://www.w3.org/2001/XInclude"symRefs="true" tocDepth="3" tocInclude="true" updates="1995, 5936, 7766"consensus="true">xml:lang="en"> <link href="https://datatracker.ietf.org/doc/draft-ietf-dprive-xfr-over-tls-12" rel="prev"/> <link href="https://dx.doi.org/10.17487/rfc9103" rel="alternate"/> <link href="urn:issn:2070-1721" rel="alternate"/> <front> <titleabbrev="XFR-over-TLS">DNSabbrev="XFR over TLS">DNS ZoneTransfer-over-TLS</title><seriesInfo value="draft-ietf-dprive-xfr-over-tls-12" stream="IETF" status="standard" name="Internet-Draft"></seriesInfo>Transfer over TLS</title> <seriesInfo name="RFC" value="9103" stream="IETF"/> <author initials="W." surname="Toorop" fullname="WillemToorop"><organization>NLnet Labs</organization><address><postal><street></street>Toorop"> <organization showOnFrontPage="true">NLnet Labs</organization> <address> <postal> <street>Science Park 400</street> <city>Amsterdam</city> <code>1098 XH</code><country>The Netherlands</country> </postal><email>willem@nlnetlabs.nl</email> </address></author><country>Netherlands</country> </postal> <email>willem@nlnetlabs.nl</email> </address> </author> <author initials="S." surname="Dickinson" fullname="SaraDickinson"><organization>Sinodun IT</organization><address><postal><street></street> <street>Magdalen Centre</street>Dickinson"> <organization showOnFrontPage="true">Sinodun IT</organization> <address> <postal> <extaddr>Magdalen Centre</extaddr> <street>Oxford Science Park</street> <city>Oxford</city> <code>OX4 4GA</code> <country>United Kingdom</country></postal><email>sara@sinodun.com</email> </address></author></postal> <email>sara@sinodun.com</email> </address> </author> <author initials="S." surname="Sahib" fullname="ShivanSahib"><organization>Brave Software</organization><address><postal><street></street> <city>Vancouver, BC</city>Sahib"> <organization showOnFrontPage="true">Brave Software</organization> <address> <postal> <city>Vancouver</city> <region>BC</region> <country>Canada</country></postal><email>shivankaulsahib@gmail.com</email> </address></author></postal> <email>shivankaulsahib@gmail.com</email> </address> </author> <author initials="P." surname="Aras" fullname="PallaviAras"><organization>Salesforce</organization><address><postal><street></street> <city>Herndon, VA</city>Aras"> <organization showOnFrontPage="true">Salesforce</organization> <address> <postal> <city>Herndon</city> <region>VA</region> <country>UnitedStates</country> </postal><email>paras@salesforce.com</email> </address></author>States of America</country> </postal> <email>paras@salesforce.com</email> </address> </author> <author initials="A." surname="Mankin" fullname="AllisonMankin"><organization>Salesforce</organization><address><postal><street></street> <city>Herndon, VA</city>Mankin"> <organization showOnFrontPage="true">Salesforce</organization> <address> <postal> <city>Herndon</city> <region>VA</region> <country>UnitedStates</country> </postal><email>allison.mankin@gmail.com</email> </address></author>States of America</country> </postal> <email>allison.mankin@gmail.com</email> </address> </author> <dateyear="2021" month="May" day="26"></date>month="08" year="2021"/> <area>Internet</area> <workgroup>dprive</workgroup> <keyword>DNS</keyword> <keyword>operations</keyword> <keyword>privacy</keyword><abstract> <t>DNS<abstract pn="section-abstract"> <t indent="0" pn="section-abstract-1">DNS zone transfers are transmitted inclear text,cleartext, which gives attackers the opportunity to collect the content of a zone by eavesdropping on network connections. The DNS Transaction Signature (TSIG) mechanism is specified to restrict direct zone transfer to authorized clients only, but it does not add confidentiality. This document specifies the use of TLS, rather thanclear text,cleartext, to prevent zone content collection via passive monitoring of zone transfers:XFR-over-TLSXFR over TLS (XoT). Additionally, this specification updatesRFC1995RFC 1995 andRFC5936RFC 5936 with respect to efficient use of TCPconnections,connections andRFC7766RFC 7766 with respect to the recommended number of connections between a client and server for each transport.</t> </abstract></front> <middle><boilerplate> <sectionanchor="introduction"><name>Introduction</name> <t>DNS hasanchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1"> <name slugifiedName="name-status-of-this-memo">Status of This Memo</name> <t indent="0" pn="section-boilerplate.1-1"> This is an Internet Standards Track document. </t> <t indent="0" pn="section-boilerplate.1-2"> This document is anumberproduct ofprivacy vulnerabilities, as discussed in detail in <xref target="I-D.ietf-dprive-rfc7626-bis"></xref>. Stub client to recursive resolver query privacythe Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has receivedthe most attention to date, with standards track documents for both DNS-over-TLS (DoT) <xref target="RFC7858"></xref> and DNS-over-HTTPS (DoH) <xref target="RFC8484"></xref>, and a proposal for DNS-over-QUIC <xref target="I-D.ietf-dprive-dnsoquic"></xref>. There is ongoing work on DNS privacy requirements for exchanges between recursive resolvers and authoritative servers <xref target="I-D.ietf-dprive-phase2-requirements"></xref>public review andsome suggestionshas been approved forhow signaling of DoT supportpublication byauthoritative nameservers might work. However, therethe Internet Engineering Steering Group (IESG). Further information on Internet Standards iscurrently noavailable in Section 2 of RFCthat specifically defines recursive to authoritative DNS-over-TLS (ADoT).</t> <t><xref target="I-D.ietf-dprive-rfc7626-bis"></xref> established that stub client DNS query transactions are not public7841. </t> <t indent="0" pn="section-boilerplate.1-3"> Information about the current status of this document, any errata, andneeded protection, buthow to provide feedback onzone transfer <xref target="RFC1995"></xref> <xref target="RFC5936"></xref>itsays only:</t> <artwork>"Privacy risks formay be obtained at <eref target="https://www.rfc-editor.org/info/rfc9103" brackets="none"/>. </t> </section> <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2"> <name slugifiedName="name-copyright-notice">Copyright Notice</name> <t indent="0" pn="section-boilerplate.2-1"> Copyright (c) 2021 IETF Trust and theholder of a zone (the risk that someone getspersons identified as thedata) are discussed in [RFC5936] and [RFC5155]." </artwork> <t>In what waydocument authors. All rights reserved. </t> <t indent="0" pn="section-boilerplate.2-2"> This document isexposingsubject to BCP 78 and thefull contentsIETF Trust's Legal Provisions Relating to IETF Documents (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date ofa zone a privacy risk? The contentspublication ofthe zone couldthis 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 includeinformation suchSimplified BSD License text asnames of persons useddescribed innamesSection 4.e ofhosts. Best practice is not to use personal information for domain names, but many such domain names exist. The contentsthe Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. </t> </section> </boilerplate> <toc> <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1"> <name slugifiedName="name-table-of-contents">Table of Contents</name> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1"> <li pn="section-toc.1-1.1"> <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t> </li> <li pn="section-toc.1-1.2"> <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t> </li> <li pn="section-toc.1-1.3"> <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-threat-model">Threat Model</xref></t> </li> <li pn="section-toc.1-1.4"> <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-design-considerations-for-x">Design Considerations for XoT</xref></t> </li> <li pn="section-toc.1-1.5"> <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-connection-and-data-flows-i">Connection and Data Flows in Existing XFR Mechanisms</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2"> <li pn="section-toc.1-1.5.2.1"> <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-axfr-mechanism">AXFR Mechanism</xref></t> </li> <li pn="section-toc.1-1.5.2.2"> <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-ixfr-mechanism">IXFR Mechanism</xref></t> </li> <li pn="section-toc.1-1.5.2.3"> <t indent="0" pn="section-toc.1-1.5.2.3.1"><xref derivedContent="5.3" format="counter" sectionFormat="of" target="section-5.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-data-leakage-of-notify-and-">Data Leakage of NOTIFY and SOA Message Exchanges</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2.3.2"> <li pn="section-toc.1-1.5.2.3.2.1"> <t indent="0" pn="section-toc.1-1.5.2.3.2.1.1"><xref derivedContent="5.3.1" format="counter" sectionFormat="of" target="section-5.3.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-notify">NOTIFY</xref></t> </li> <li pn="section-toc.1-1.5.2.3.2.2"> <t indent="0" pn="section-toc.1-1.5.2.3.2.2.1"><xref derivedContent="5.3.2" format="counter" sectionFormat="of" target="section-5.3.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-soa">SOA</xref></t> </li> </ul> </li> </ul> </li> <li pn="section-toc.1-1.6"> <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-updates-to-existing-specifi">Updates to Existing Specifications</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2"> <li pn="section-toc.1-1.6.2.1"> <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-update-to-rfc-1995-for-ixfr">Update to RFC 1995 for IXFR over TCP</xref></t> </li> <li pn="section-toc.1-1.6.2.2"> <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-update-to-rfc-5936-for-axfr">Update to RFC 5936 for AXFR over TCP</xref></t> </li> <li pn="section-toc.1-1.6.2.3"> <t indent="0" pn="section-toc.1-1.6.2.3.1"><xref derivedContent="6.3" format="counter" sectionFormat="of" target="section-6.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-updates-to-rfcs-1995-and-59">Updates to RFCs 1995 and 5936 for XFR over TCP</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2.3.2"> <li pn="section-toc.1-1.6.2.3.2.1"> <t indent="0" pn="section-toc.1-1.6.2.3.2.1.1"><xref derivedContent="6.3.1" format="counter" sectionFormat="of" target="section-6.3.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-connection-reuse">Connection Reuse</xref></t> </li> <li pn="section-toc.1-1.6.2.3.2.2"> <t indent="0" pn="section-toc.1-1.6.2.3.2.2.1"><xref derivedContent="6.3.2" format="counter" sectionFormat="of" target="section-6.3.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-axfrs-and-ixfrs-on-the-same">AXFRs and IXFRs on thezone could also include referencesSame Connection</xref></t> </li> <li pn="section-toc.1-1.6.2.3.2.3"> <t indent="0" pn="section-toc.1-1.6.2.3.2.3.1"><xref derivedContent="6.3.3" format="counter" sectionFormat="of" target="section-6.3.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xfr-limits">XFR Limits</xref></t> </li> <li pn="section-toc.1-1.6.2.3.2.4"> <t indent="0" pn="section-toc.1-1.6.2.3.2.4.1"><xref derivedContent="6.3.4" format="counter" sectionFormat="of" target="section-6.3.4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-the-edns-tcp-keepalive-edns">The edns-tcp-keepalive EDNS(0) Option</xref></t> </li> <li pn="section-toc.1-1.6.2.3.2.5"> <t indent="0" pn="section-toc.1-1.6.2.3.2.5.1"><xref derivedContent="6.3.5" format="counter" sectionFormat="of" target="section-6.3.5"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-backwards-compatibility">Backwards Compatibility</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.6.2.4"> <t indent="0" pn="section-toc.1-1.6.2.4.1"><xref derivedContent="6.4" format="counter" sectionFormat="of" target="section-6.4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-update-to-rfc-7766">Update tolocations that allow inference about location informationRFC 7766</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.7"> <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xot-specification">XoT Specification</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2"> <li pn="section-toc.1-1.7.2.1"> <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-connection-establishment">Connection Establishment</xref></t> </li> <li pn="section-toc.1-1.7.2.2"> <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-tls-versions">TLS Versions</xref></t> </li> <li pn="section-toc.1-1.7.2.3"> <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-port-selection">Port Selection</xref></t> </li> <li pn="section-toc.1-1.7.2.4"> <t indent="0" pn="section-toc.1-1.7.2.4.1"><xref derivedContent="7.4" format="counter" sectionFormat="of" target="section-7.4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-high-level-xot-descriptions">High-Level XoT Descriptions</xref></t> </li> <li pn="section-toc.1-1.7.2.5"> <t indent="0" pn="section-toc.1-1.7.2.5.1"><xref derivedContent="7.5" format="counter" sectionFormat="of" target="section-7.5"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xot-transfers">XoT Transfers</xref></t> </li> <li pn="section-toc.1-1.7.2.6"> <t indent="0" pn="section-toc.1-1.7.2.6.1"><xref derivedContent="7.6" format="counter" sectionFormat="of" target="section-7.6"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xot-connections">XoT Connections</xref></t> </li> <li pn="section-toc.1-1.7.2.7"> <t indent="0" pn="section-toc.1-1.7.2.7.1"><xref derivedContent="7.7" format="counter" sectionFormat="of" target="section-7.7"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xot-vs-adot">XoT vs. ADoT</xref></t> </li> <li pn="section-toc.1-1.7.2.8"> <t indent="0" pn="section-toc.1-1.7.2.8.1"><xref derivedContent="7.8" format="counter" sectionFormat="of" target="section-7.8"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-response-rcodes">Response RCODES</xref></t> </li> <li pn="section-toc.1-1.7.2.9"> <t indent="0" pn="section-toc.1-1.7.2.9.1"><xref derivedContent="7.9" format="counter" sectionFormat="of" target="section-7.9"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-axot-specifics">AXoT Specifics</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2.9.2"> <li pn="section-toc.1-1.7.2.9.2.1"> <t indent="0" pn="section-toc.1-1.7.2.9.2.1.1"><xref derivedContent="7.9.1" format="counter" sectionFormat="of" target="section-7.9.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-padding-axot-responses">Padding AXoT Responses</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.7.2.10"> <t indent="0" pn="section-toc.1-1.7.2.10.1"><xref derivedContent="7.10" format="counter" sectionFormat="of" target="section-7.10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-ixot-specifics">IXoT Specifics</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2.10.2"> <li pn="section-toc.1-1.7.2.10.2.1"> <t indent="0" pn="section-toc.1-1.7.2.10.2.1.1"><xref derivedContent="7.10.1" format="counter" sectionFormat="of" target="section-7.10.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-condensation-of-responses">Condensation ofthe individuals associated with the zone's organization. It could also include referencesResponses</xref></t> </li> <li pn="section-toc.1-1.7.2.10.2.2"> <t indent="0" pn="section-toc.1-1.7.2.10.2.2.1"><xref derivedContent="7.10.2" format="counter" sectionFormat="of" target="section-7.10.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-fallback-to-axfr">Fallback toother organizations. ExamplesAXFR</xref></t> </li> <li pn="section-toc.1-1.7.2.10.2.3"> <t indent="0" pn="section-toc.1-1.7.2.10.2.3.1"><xref derivedContent="7.10.3" format="counter" sectionFormat="of" target="section-7.10.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-padding-of-ixot-responses">Padding ofthis could be:</t> <ul> <li>Person-laptop.example.org</li> <li>MX-for-Location.example.org</li> <li>Service-tenant-from-another-org.example.org</li>IXoT Responses</xref></t> </li> </ul><t>Additionally, the full zone contents expose all</li> <li pn="section-toc.1-1.7.2.11"> <t indent="0" pn="section-toc.1-1.7.2.11.1"><xref derivedContent="7.11" format="counter" sectionFormat="of" target="section-7.11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-name-compression-and-maximu">Name Compression and Maximum Payload Sizes</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.8"> <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-multi-primary-configuration">Multi-primary Configurations</xref></t> </li> <li pn="section-toc.1-1.9"> <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-authentication-mechanisms">Authentication Mechanisms</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2"> <li pn="section-toc.1-1.9.2.1"> <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-tsig">TSIG</xref></t> </li> <li pn="section-toc.1-1.9.2.2"> <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-sig0">SIG(0)</xref></t> </li> <li pn="section-toc.1-1.9.2.3"> <t indent="0" pn="section-toc.1-1.9.2.3.1"><xref derivedContent="9.3" format="counter" sectionFormat="of" target="section-9.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-tls">TLS</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2.3.2"> <li pn="section-toc.1-1.9.2.3.2.1"> <t indent="0" pn="section-toc.1-1.9.2.3.2.1.1"><xref derivedContent="9.3.1" format="counter" sectionFormat="of" target="section-9.3.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-opportunistic-tls">Opportunistic TLS</xref></t> </li> <li pn="section-toc.1-1.9.2.3.2.2"> <t indent="0" pn="section-toc.1-1.9.2.3.2.2.1"><xref derivedContent="9.3.2" format="counter" sectionFormat="of" target="section-9.3.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-strict-tls">Strict TLS</xref></t> </li> <li pn="section-toc.1-1.9.2.3.2.3"> <t indent="0" pn="section-toc.1-1.9.2.3.2.3.1"><xref derivedContent="9.3.3" format="counter" sectionFormat="of" target="section-9.3.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-mutual-tls">Mutual TLS</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.9.2.4"> <t indent="0" pn="section-toc.1-1.9.2.4.1"><xref derivedContent="9.4" format="counter" sectionFormat="of" target="section-9.4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-ip-based-acl-on-the-primary">IP-Based ACL on the Primary</xref></t> </li> <li pn="section-toc.1-1.9.2.5"> <t indent="0" pn="section-toc.1-1.9.2.5.1"><xref derivedContent="9.5" format="counter" sectionFormat="of" target="section-9.5"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-zonemd">ZONEMD</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.10"> <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xot-authentication">XoT Authentication</xref></t> </li> <li pn="section-toc.1-1.11"> <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="11" format="counter" sectionFormat="of" target="section-11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-policies-for-both-axot-and-">Policies for Both AXoT and IXoT</xref></t> </li> <li pn="section-toc.1-1.12"> <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="12" format="counter" sectionFormat="of" target="section-12"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-implementation-consideratio">Implementation Considerations</xref></t> </li> <li pn="section-toc.1-1.13"> <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="13" format="counter" sectionFormat="of" target="section-13"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-operational-considerations">Operational Considerations</xref></t> </li> <li pn="section-toc.1-1.14"> <t indent="0" pn="section-toc.1-1.14.1"><xref derivedContent="14" format="counter" sectionFormat="of" target="section-14"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t> </li> <li pn="section-toc.1-1.15"> <t indent="0" pn="section-toc.1-1.15.1"><xref derivedContent="15" format="counter" sectionFormat="of" target="section-15"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t> </li> <li pn="section-toc.1-1.16"> <t indent="0" pn="section-toc.1-1.16.1"><xref derivedContent="16" format="counter" sectionFormat="of" target="section-16"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references"> References</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.16.2"> <li pn="section-toc.1-1.16.2.1"> <t indent="0" pn="section-toc.1-1.16.2.1.1"><xref derivedContent="16.1" format="counter" sectionFormat="of" target="section-16.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t> </li> <li pn="section-toc.1-1.16.2.2"> <t indent="0" pn="section-toc.1-1.16.2.2.1"><xref derivedContent="16.2" format="counter" sectionFormat="of" target="section-16.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t> </li> </ul> </li> <li pn="section-toc.1-1.17"> <t indent="0" pn="section-toc.1-1.17.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-xot-server-connection-handl">XoT Server Connection Handling</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.17.2"> <li pn="section-toc.1-1.17.2.1"> <t indent="0" pn="section-toc.1-1.17.2.1.1"><xref derivedContent="A.1" format="counter" sectionFormat="of" target="section-appendix.a.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-listening-only-on-a-specifi">Listening Only on a Specific IPaddressesAddress for TLS</xref></t> </li> <li pn="section-toc.1-1.17.2.2"> <t indent="0" pn="section-toc.1-1.17.2.2.1"><xref derivedContent="A.2" format="counter" sectionFormat="of" target="section-appendix.a.2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-client-specific-tls-accepta">Client-Specific TLS Acceptance</xref></t> </li> <li pn="section-toc.1-1.17.2.3"> <t indent="0" pn="section-toc.1-1.17.2.3.1"><xref derivedContent="A.3" format="counter" sectionFormat="of" target="section-appendix.a.3"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-sni-based-tls-acceptance">SNI-Based TLS Acceptance</xref></t> </li> <li pn="section-toc.1-1.17.2.4"> <t indent="0" pn="section-toc.1-1.17.2.4.1"><xref derivedContent="A.4" format="counter" sectionFormat="of" target="section-appendix.a.4"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-transport-specific-response">Transport-Specific Response Policies</xref></t> <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.17.2.4.2"> <li pn="section-toc.1-1.17.2.4.2.1"> <t indent="0" pn="section-toc.1-1.17.2.4.2.1.1"><xref derivedContent="A.4.1" format="counter" sectionFormat="of" target="section-appendix.a.4.1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-sni-based-response-policies">SNI-Based Response Policies</xref></t> </li> </ul> </li> </ul> </li> <li pn="section-toc.1-1.18"> <t indent="0" pn="section-toc.1-1.18.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t> </li> <li pn="section-toc.1-1.19"> <t indent="0" pn="section-toc.1-1.19.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t> </li> <li pn="section-toc.1-1.20"> <t indent="0" pn="section-toc.1-1.20.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t> </li> </ul> </section> </toc> </front> <middle> <section anchor="introduction" numbered="true" removeInRFC="false" toc="include" pn="section-1"> <name slugifiedName="name-introduction">Introduction</name> <t indent="0" pn="section-1-1">DNS has a number ofendpoints heldprivacy vulnerabilities, as discussed in detail in <xref target="RFC9076" format="default" sectionFormat="of" derivedContent="RFC9076"/>. Query privacy between stub resolvers and recursive resolvers has received the most attention to date, with Standards Track documents for both DNSrecords which can make reconnaissanceover TLS (DoT) <xref target="RFC7858" format="default" sectionFormat="of" derivedContent="RFC7858"/> andattack targeting easier, particularlyDNS over HTTPS (DoH) <xref target="RFC8484" format="default" sectionFormat="of" derivedContent="RFC8484"/> and a proposal forIPv6 addresses or private networks.DNS over QUIC <xref target="I-D.ietf-dprive-dnsoquic" format="default" sectionFormat="of" derivedContent="DPRIVE-DNSOQUIC"/>. Theremay also be regulatory, policy or other reasons whyis ongoing work on DNS privacy requirements for exchanges between recursive resolvers and authoritative servers and some suggestions for how signaling of DoT support by authoritative name servers might work. However, there is currently no RFC that specifically defines recursive-to-authoritative DNS over TLS (ADoT).</t> <t indent="0" pn="section-1-2"><xref target="RFC9076" format="default" sectionFormat="of" derivedContent="RFC9076"/> establishes that a stub resolver's DNS query transactions are not public and that they need protection, but, on zone transfer <xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> <xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>, it says only:</t> <blockquote pn="section-1-3">Privacy risks for the holder of a zone (the risk that someone gets the data) are discussed in <xref target="RFC5155" format="default" sectionFormat="of" derivedContent="RFC5155"/> and <xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>.</blockquote> <t indent="0" pn="section-1-4">In what way is exposing the full contents of a zone a privacy risk? The contents of the zone could include information such as names of persons used in names of hosts. Best practice is not to use personal information for domain names, but many such domain names exist. The contents of the zone could also include references to locations that allow inference about location information of the individuals associated with the zone's organization. It could also include references to other organizations. Examples of this could be:</t> <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-1-5"> <li pn="section-1-5.1">Person-laptop.example.org</li> <li pn="section-1-5.2">MX-for-Location.example.org</li> <li pn="section-1-5.3">Service-tenant-from-another-org.example.org</li> </ul> <t indent="0" pn="section-1-6">Additionally, the full zone contents expose all the IP addresses of endpoints held in the DNS records, which can make reconnaissance and attack targeting easier, particularly for IPv6 addresses or private networks. There may also be regulatory, policy, or other reasons why the zone contents in full must be treated as private.</t><t>Neither<t indent="0" pn="section-1-7">Neither of the RFCs mentioned in <xreftarget="I-D.ietf-dprive-rfc7626-bis"></xref> contemplatestarget="RFC9076" format="default" sectionFormat="of" derivedContent="RFC9076"/> contemplate the risk that someone gets the data through eavesdropping on network connections, only via enumeration or unauthorizedtransfertransfer, as described in the following paragraphs.</t><t>Zone<t indent="0" pn="section-1-8">Zone enumeration is trivially possible for DNSSEC zoneswhichthat useNSEC; i.e.NSEC, i.e., queries for the authenticateddenial of existencedenial-of-existence records allow a client to walk through the entire zone contents. <xreftarget="RFC5155"></xref>target="RFC5155" format="default" sectionFormat="of" derivedContent="RFC5155"/> specifies NSEC3, a mechanism to provide measures against zone enumeration forDNSSEC signedDNSSEC-signed zones (a goal was to make it as hard to enumerate aDNSSEC signedDNSSEC-signed zone as an unsigned zone). Whilst this is widely used, it has been demonstrated that zone walking is possible for precomputed NSEC3 usingattacksattacks, such as those described in <xreftarget="NSEC3-attacks"></xref>.target="NSEC3-attacks" format="default" sectionFormat="of" derivedContent="NSEC3-attacks"/>. This prompted further work on an alternative mechanism forDNSSEC authenticatedDNSSEC-authenticated denial of existence- NSEC5(NSEC5 <xreftarget="I-D.vcelak-nsec5"></xref> - howevertarget="I-D.vcelak-nsec5" format="default" sectionFormat="of" derivedContent="NSEC5"/>); however, questions remain over the practicality of this mechanism.</t><t><xref target="RFC5155"></xref><t indent="0" pn="section-1-9"><xref target="RFC5155" format="default" sectionFormat="of" derivedContent="RFC5155"/> does not address data obtained outside zone enumeration (nor does <xreftarget="I-D.vcelak-nsec5"></xref>).target="I-D.vcelak-nsec5" format="default" sectionFormat="of" derivedContent="NSEC5"/>). Preventing eavesdropping of zone transfers(this(as described in this document) is orthogonal to preventing zone enumeration, though they aim to protect the same information.</t><t><xref target="RFC5936"></xref><t indent="0" pn="section-1-10"><xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> specifies using TSIG <xreftarget="RFC8945"></xref>target="RFC8945" format="default" sectionFormat="of" derivedContent="RFC8945"/> for authorization of the clients of a zone transfer and for dataintegrity,integrity but does not express any need for confidentiality, and TSIG does not offer encryption.</t><t>Section<t indent="0" pn="section-1-11">Section 8 of the NISTguide on 'Securedocument "Secure Domain Name System (DNS)Deployment'Deployment Guide" <xreftarget="nist-guide"></xref>target="NIST-GUIDE" format="default" sectionFormat="of" derivedContent="NIST-GUIDE"/> discusses restricting access for zone transfers usingACLsAccess Control Lists (ACLs) and TSIG in more detail. It also discusses the possibility that specific deployments might choose to use alower levellower-level network layer to protect zone transfers, e.g.,IPSec.</t> <t>ItIPsec.</t> <t indent="0" pn="section-1-12">It is noted that in all the commonopen sourceopen-source implementations such ACLs are applied on aper queryper-query basis (at the time of writing). Since requests typically occur on TCPconnections authoritativesconnections, authoritative servers must therefore accept any TCP connection and thenhandlinghandle the authentication of each zone transfer (XFR) request individually.</t><t>Because<t indent="0" pn="section-1-13">Because both AXFR (authoritative transfer) and IXFR (incremental zone transfer) are typically carried out over TCP from authoritative DNS protocol implementations, encrypting zone transfers using TLS <xreftarget="RFC8499"></xref>,target="RFC8499" format="default" sectionFormat="of" derivedContent="RFC8499"/> -- based closely on DoT <xreftarget="RFC7858"></xref>,target="RFC7858" format="default" sectionFormat="of" derivedContent="RFC7858"/> -- seems like a simple step forward. This document specifies how to use TLS (1.3 or later) as a transport to prevent zone collection from zone transfers.</t><t>This<t indent="0" pn="section-1-14">This document also updates the previous specifications for zone transfers to clarify and extend them, mainly with respect to TCP usage:</t><ul> <li><eref target="IXFR">RFC1995</eref> and <eref target="AXFR">RFC5936</eref><ul bare="false" empty="false" indent="3" spacing="normal" pn="section-1-15"> <li pn="section-1-15.1"> <xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> (IXFR) and <xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> (AXFR) are both updated to add further specification on efficient use of TCPconnections</li> <li>Section 6.2.2 of <eref target="DNSconnections.</li> <li pn="section-1-15.2"> <xref target="RFC7766" sectionFormat="of" section="6.2.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7766#section-6.2.2" derivedContent="RFC7766"/> ("DNS Transport over TCP - ImplementationRequirements">RFC7766</eref>Requirements") is updated with a new recommendation about the number of connections between a client and server for each transport.</li> </ul> </section> <sectionanchor="document-work-via-github"><name>Document work via GitHub</name> <t>[THIS SECTION TO BE REMOVED BEFORE PUBLICATION]anchor="terminology" numbered="true" removeInRFC="false" toc="include" pn="section-2"> <name slugifiedName="name-terminology">Terminology</name> <t indent="0" pn="section-2-1"> TheGithub repository for this document is at <eref target="https://github.com/hanzhang0116/hzpa-dprive-xfr-over-tls">https://github.com/hanzhang0116/hzpa-dprive-xfr-over-tls</eref>. Proposed text and editorial changes are very much welcomed there, but any functional changes should always first be discussed on the IETF DPRIVE WG (dns-privacy) mailing list.</t> </section> <section anchor="terminology"><name>Terminology</name> <t>Thekey words"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY","<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"OPTIONAL""<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described in BCP 14 <xreftarget="RFC2119"></xref> <xref target="RFC8174"></xref>target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals, as shownhere.</t> <t>Privacyhere. </t> <t indent="0" pn="section-2-2">Privacy terminology is as described inSection 3 of<xreftarget="RFC6973"></xref>.</t> <t>DNStarget="RFC6973" sectionFormat="of" section="3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6973#section-3" derivedContent="RFC6973"/>.</t> <t indent="0" pn="section-2-3">DNS terminology is as described in <xreftarget="RFC8499"></xref>.target="RFC8499" format="default" sectionFormat="of" derivedContent="RFC8499"/>. Notethatthat, as in <xreftarget="RFC8499"></xref>,target="RFC8499" format="default" sectionFormat="of" derivedContent="RFC8499"/>, the terms 'primary' and 'secondary' are used for two servers engaged in zone transfers.</t><t>DoT: DNS-over-TLS<dl newline="false" spacing="normal" indent="7" pn="section-2-4"> <dt pn="section-2-4.1">DoT:</dt> <dd pn="section-2-4.2">DNS over TLS, as specified in <xreftarget="RFC7858"></xref></t> <t>XFR-over-TCP: Usedtarget="RFC7858" format="default" sectionFormat="of" derivedContent="RFC7858"/></dd> <dt pn="section-2-4.3">XFR over TCP:</dt> <dd pn="section-2-4.4">Used to mean bothIXFR-over-TCPIXFR over TCP <xreftarget="RFC1995"></xref>target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> andAXFR-over-TCPAXFR over TCP <xreftarget="RFC5936"></xref>.</t> <t>XoT: XFR-over-TLS mechanismstarget="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/></dd> <dt pn="section-2-4.5">XoT:</dt> <dd pn="section-2-4.6">XFR-over-TLS mechanisms, as specified in thisdocumentdocument, which apply to bothAXFR-over-TLSAXFR over TLS andIXFR-over-TLS</t> <t>AXoT: AXFR-over-TLS</t> <t>IXoT:IXFRover-TLS</t>over TLS (XoT is pronounced 'zot' since X here stands for 'zone transfer')</dd> <dt pn="section-2-4.7">AXoT:</dt> <dd pn="section-2-4.8">AXFR over TLS</dd> <dt pn="section-2-4.9">IXoT:</dt> <dd pn="section-2-4.10">IXFR over TLS</dd> </dl> </section> <sectionanchor="threat-model"><name>Threatanchor="threat-model" numbered="true" removeInRFC="false" toc="include" pn="section-3"> <name slugifiedName="name-threat-model">Threat Model</name><t>The<t indent="0" pn="section-3-1">The threat model considered here is one where the current contents and size of the zone are considered sensitive and should be protected during transfer.</t><t>The<t indent="0" pn="section-3-2">The threat model does not, however, consider the existence of a zone, the act of zone transfer between two entities, nor the identities of thenameserversname servers hosting a zone (including both those acting as hidden primaries/secondaries or directly serving the zone) as sensitive information. The proposed mechanism does not attempt to obscure such information. The reasons for this include:</t><ul> <li>much<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-3-3"> <li pn="section-3-3.1">much of this information can be obtained by various methods, including active scanning of theDNS</li> <li>anDNS, and</li> <li pn="section-3-3.2">an attacker who can monitor network traffic canrelativelyrather easily infer relations betweennameserversname servers simply from traffic patterns, even when some or all of the traffic is encrypted (in terms of currentdeployments)</li>deployments).</li> </ul><t>The<t indent="0" pn="section-3-4">The model does not consider attacks on the mechanisms that trigger a zone transfer, e.g., NOTIFY messages.</t><t>It<t indent="0" pn="section-3-5">It is noted that simply using XoT will indicate a desire by the zone owner that the contents of the zone remain confidential and so could be subject to blocking (e.g., via blocking of port 853) if an attacker had such capabilities.HoweverHowever, this threat is likely true of any such mechanism that attempts to encrypt data passed betweennameservers,name servers, e.g., IPsec.</t> </section> <sectionanchor="design-considerations-for-xot"><name>Designanchor="design-considerations-for-xot" numbered="true" removeInRFC="false" toc="include" pn="section-4"> <name slugifiedName="name-design-considerations-for-x">Design Considerations for XoT</name><t>The<t indent="0" pn="section-4-1">The following principles were considered in the design for XoT:</t><ul> <li><t>Confidentiality. Clearly<dl newline="false" spacing="normal" indent="3" pn="section-4-2"> <dt pn="section-4-2.1">Confidentiality:</dt> <dd pn="section-4-2.2">Clearly using an encrypted transport for zone transfers will defeat zone content leakage that can occur via passivesurveillance.</t> </li> <li><t>Authentication. Usesurveillance.</dd> <dt pn="section-4-2.3">Authentication:</dt> <dd pn="section-4-2.4">Use of single or mutual TLS (mTLS) authentication (in combination withaccess control lists (ACLs))ACLs) can complement and potentially be an alternative toTSIG.</t> </li> <li><t>Performance.</t> <ul> <li>ExistingTSIG.</dd> <dt pn="section-4-2.5">Performance:</dt> <dd pn="section-4-2.6"> <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4-2.6.1"> <li pn="section-4-2.6.1.1">Existing AXFR and IXFR mechanisms have the burden of backwards compatibility with older implementations based on the original specifications in <xreftarget="RFC1034"></xref>target="RFC1034" format="default" sectionFormat="of" derivedContent="RFC1034"/> and <xreftarget="RFC1035"></xref>.target="RFC1035" format="default" sectionFormat="of" derivedContent="RFC1035"/>. For example, some older AXFR serversdon’tdon't support using a TCP connection for multiple AXFR sessions or XFRs of different zones because they have not been updated to follow the guidance in <xreftarget="RFC5936"></xref>.target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>. Any implementation of XoT would obviously be required to implement optimized and interoperabletransferstransfers, as described in <xreftarget="RFC5936"></xref>,target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>, e.g., transfer of multiple zones over one connection.</li><li>Current<li pn="section-4-2.6.1.2">Current usage of TCP for IXFR issub-optimalsuboptimal in somecases i.e.cases, i.e., connections are frequently closed after a single IXFR.</li></ul></li></ul> </dd> </dl> </section> <sectionanchor="connection-and-data-flows-in-existing-xfr-mechanisms"><name>Connectionanchor="connection-and-data-flows-in-existing-xfr-mechanisms" numbered="true" removeInRFC="false" toc="include" pn="section-5"> <name slugifiedName="name-connection-and-data-flows-i">Connection and Data Flows in Existing XFR Mechanisms</name><t>The<t indent="0" pn="section-5-1">The original specification for zone transfers in <xreftarget="RFC1034"></xref>target="RFC1034" format="default" sectionFormat="of" derivedContent="RFC1034"/> and <xreftarget="RFC1035"></xref>target="RFC1035" format="default" sectionFormat="of" derivedContent="RFC1035"/> was based on a polling mechanism: a secondary performed a periodic query for the SOA (start of zone authority) record (based on the refresh timer) to determine if an AXFR was required.</t><t><xref target="RFC1995"></xref><t indent="0" pn="section-5-2"><xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> and <xreftarget="RFC1996"></xref>target="RFC1996" format="default" sectionFormat="of" derivedContent="RFC1996"/> introduced the concepts of IXFR andNOTIFYNOTIFY, respectively, to provide for prompt propagation of zone updates. This has largely replaced AXFR where possible, particularly for dynamically updated zones.</t><t><xref target="RFC5936"></xref><t indent="0" pn="section-5-3"><xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> subsequently redefined the specification of AXFR to improve performance and interoperability.</t><t>In<t indent="0" pn="section-5-4">In thisdocument we usedocument, the term"XFR mechanism"'XFR mechanism' is used to describe the entire set of message exchanges between a secondary and a primary that concludesinwith a successful AXFR or IXFR request/response. This set may or may notinclude</t> <ul> <li>NOTIFYinclude:</t> <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-5-5"> <li pn="section-5-5.1">NOTIFY messages</li><li>SOA<li pn="section-5-5.2">SOA queries</li><li>Fallback<li pn="section-5-5.3">Fallback from IXFR to AXFR</li><li>Fallback<li pn="section-5-5.4">Fallback fromIXFR-over-UDPIXFR over UDP toIXFR-over-TCP</li>IXFR over TCP</li> </ul><t>The<t indent="0" pn="section-5-6">The term is used to encompass the range of permutations that are possible and is useful to distinguish the 'XFR mechanism' from a single XFR request/response exchange.</t> <sectionanchor="axfr-mechanism"><name>AXFRanchor="axfr-mechanism" numbered="true" removeInRFC="false" toc="include" pn="section-5.1"> <name slugifiedName="name-axfr-mechanism">AXFR Mechanism</name><t>The<t indent="0" pn="section-5.1-1">The figure below provides an outline of an AXFR mechanism including NOTIFYs.</t><artwork><figure anchor="fig1" align="left" suppress-title="false" pn="figure-1"> <name slugifiedName="name-axfr-mechanism-2">AXFR Mechanism</name> <artwork name="" type="" alt="" align="left" pn="section-5.1-2.1"> Secondary Primary | NOTIFY | | <-------------------------------- | UDP | --------------------------------> | | NOTIFY Response | | | | | | SOA Request | | --------------------------------> | UDP (or part of | <-------------------------------- | a TCP session) | SOA Response | | | | | | | | AXFR Request | --- | --------------------------------> | | | <-------------------------------- | | | AXFR Response 1 | | | (Zone data) | | | | | | <-------------------------------- | | TCP | AXFR Response 2 | | Session | (Zone data) | | | | | | <-------------------------------- | | | AXFR Response 3 | | | (Zone data) | --- | |Figure 1. AXFR Mechanism</artwork><ol> <li><t>An</figure> <ol indent="adaptive" spacing="normal" start="1" type="1" pn="section-5.1-3"> <li pn="section-5.1-3.1" derivedCounter="1.">An AXFR is often (but not always) preceded by a NOTIFY (over UDP) from the primary to the secondary. A secondary may also initiate an AXFR based on a refresh timer or scheduled/triggered zonemaintenance.</t> </li> <li><t>Themaintenance.</li> <li pn="section-5.1-3.2" derivedCounter="2.">The secondary will normally (but not always) makeaan SOA query to the primary to obtain the serial number of the zone held by theprimary.</t> </li> <li><t>Ifprimary.</li> <li pn="section-5.1-3.3" derivedCounter="3.">If the primary serial is higher than the secondary's serial (using Serial Number Arithmetic <xreftarget="RFC1982"></xref>),target="RFC1982" format="default" sectionFormat="of" derivedContent="RFC1982"/>), the secondary makes an AXFR request (over TCP) to theprimaryprimary, after which the AXFR data flows in one or more AXFR responses on the TCP connection. <xreftarget="RFC5936"></xref>target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> defines this specific step as an 'AXFRsession' i.e.session', i.e., as an AXFR query message and the sequence of AXFR response messages returned forit.</t> </li>it.</li> </ol><t><xref target="RFC5936"></xref><t indent="0" pn="section-5.1-4"><xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> re-specifiedAXFRAXFR, providing additional guidance beyond that provided in <xreftarget="RFC1034"></xref>target="RFC1034" format="default" sectionFormat="of" derivedContent="RFC1034"/> and <xreftarget="RFC1035"></xref>target="RFC1035" format="default" sectionFormat="of" derivedContent="RFC1035"/> and importantly specified that AXFR must use TCP as the transport protocol.</t><t>Additionally, sections 4.1, 4.1.1 and 4.1.2 of <xref target="RFC5936"></xref><t indent="0" pn="section-5.1-5">Additionally, Sections <xref target="RFC5936" section="4.1" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5936#section-4.1" derivedContent="RFC5936"/>, <xref target="RFC5936" section="4.1.1" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5936#section-4.1.1" derivedContent="RFC5936"/>, and <xref target="RFC5936" section="4.1.2" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5936#section-4.1.2" derivedContent="RFC5936"/> of <xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> provide improved guidance for AXFR clients and servers with regard tore-usereuse of TCP connections for multiple AXFRs and AXFRs of different zones.HoweverHowever, <xreftarget="RFC5936"></xref>target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> was constrained by having to be backwards compatible with some very early basic implementations of AXFR. For example, it outlines that the SOA query can also happen on this connection. However, this can cause interoperability problems with older implementations that support only the trivial case of one AXFR per connection.</t> </section> <sectionanchor="ixfr-mechanism"><name>IXFRanchor="ixfr-mechanism" numbered="true" removeInRFC="false" toc="include" pn="section-5.2"> <name slugifiedName="name-ixfr-mechanism">IXFR Mechanism</name><t>The<t indent="0" pn="section-5.2-1">The figure below provides an outline of the IXFR mechanism including NOTIFYs.</t><artwork><figure anchor="fig2" align="left" suppress-title="false" pn="figure-2"> <name slugifiedName="name-ixfr-mechanism-2">IXFR Mechanism</name> <artwork name="" type="" alt="" align="left" pn="section-5.2-2.1"> Secondary Primary | NOTIFY | | <-------------------------------- | UDP | --------------------------------> | | NOTIFY Response | | | | | | SOA Request | | --------------------------------> | UDP or TCP | <-------------------------------- | | SOA Response | | | | | | | | IXFR Request | | --------------------------------> | UDP or TCP | <-------------------------------- | | IXFR Response | | (Zone data) | | | | | --- | IXFR Request | | | --------------------------------> | | Retry over | <-------------------------------- | | TCP if | IXFR Response | | required | (Zone data) | ---Figure 2. IXFR Mechanism</artwork><ol> <li><t>An</figure> <ol indent="adaptive" spacing="normal" start="1" type="1" pn="section-5.2-3"> <li pn="section-5.2-3.1" derivedCounter="1.">An IXFR is normally (but not always) preceded by a NOTIFY (over UDP) from the primary to the secondary. A secondary may also initiate an IXFR based on a refresh timer or scheduled/triggered zonemaintenance.</t> </li> <li><t>Themaintenance.</li> <li pn="section-5.2-3.2" derivedCounter="2.">The secondary will normally (but not always) makeaan SOA query to the primary to obtain the serial number of the zone held by theprimary.</t> </li> <li><t>Ifprimary.</li> <li pn="section-5.2-3.3" derivedCounter="3.">If the primary serial is higher than thesecondariessecondary's serial (using Serial Number Arithmetic <xreftarget="RFC1982"></xref>),target="RFC1982" format="default" sectionFormat="of" derivedContent="RFC1982"/>), the secondary makes an IXFR request to theprimaryprimary, after which the primary sends an IXFRresponse.</t> </li>response.</li> </ol><t><xref target="RFC1995"></xref><t indent="0" pn="section-5.2-4"><xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> specifies thatIncremental TransferIXFR may use UDP if the entire IXFR response can be contained in a single DNS packet, otherwise, TCP is used. Infactfact, it says:</t><artwork>"Thus,<blockquote pn="section-5.2-5">Thus, a client should first make an IXFR query usingUDP." </artwork> <t>SoUDP.</blockquote> <t indent="0" pn="section-5.2-6">So there may be a fourth step above where the client falls back toIXFR-over-TCP.IXFR over TCP. There may also beaan additional step where the secondary must fall back to AXFR because, e.g., the primary does not support IXFR.</t><t>However<t indent="0" pn="section-5.2-7">However, it is noted that most of the widely usedopen source authoritative nameserveropen-source implementations of authoritative name servers (including both <xreftarget="BIND"></xref>target="BIND" format="default" sectionFormat="of" derivedContent="BIND"/> and <xreftarget="NSD"></xref>)target="NSD" format="default" sectionFormat="of" derivedContent="NSD"/>) do IXFR using TCP by default in their latest releases. For BIND, TCP connections are sometimes used for SOAqueries butqueries, but, ingeneralgeneral, they are not used persistently andcloseare closed after an IXFR is completed.</t> </section> <sectionanchor="data-leakage-of-notify-and-soa-message-exchanges"><name>Dataanchor="data-leakage-of-notify-and-soa-message-exchanges" numbered="true" removeInRFC="false" toc="include" pn="section-5.3"> <name slugifiedName="name-data-leakage-of-notify-and-">Data Leakage of NOTIFY and SOA Message Exchanges</name><t>This<t indent="0" pn="section-5.3-1">This section presents a rationale for consideringencryptingthe encryption of the other messages in the XFR mechanism.</t><t>Since<t indent="0" pn="section-5.3-2">Since the SOA of the published zone can be trivially discovered by simply querying the publicly available authoritative servers, leakage of this resource record (RR) via such a direct query is not discussed in the following sections.</t> <sectionanchor="notify"><name>NOTIFY</name> <t>Unencryptedanchor="notify" numbered="true" removeInRFC="false" toc="include" pn="section-5.3.1"> <name slugifiedName="name-notify">NOTIFY</name> <t indent="0" pn="section-5.3.1-1">Unencrypted NOTIFY messages identify configured secondaries on the primary.</t><t><xref target="RFC1996"></xref><t indent="0" pn="section-5.3.1-2"><xref target="RFC1996" format="default" sectionFormat="of" derivedContent="RFC1996"/> also states:</t><artwork>"If<blockquote pn="section-5.3.1-3">If ANCOUNT>0, then the answer section represents an unsecure hint at the new RRset for this(QNAME,QCLASS,QTYPE). </artwork> <t>But<QNAME,QCLASS,QTYPE>.</blockquote> <t indent="0" pn="section-5.3.1-4">But since the onlyQTYPEquery type (QTYPE) for NOTIFY defined at the time of this writing is SOA, this does not pose a potential leak.</t> </section> <sectionanchor="soa"><name>SOA</name> <t>Foranchor="soa" numbered="true" removeInRFC="false" toc="include" pn="section-5.3.2"> <name slugifiedName="name-soa">SOA</name> <t indent="0" pn="section-5.3.2-1">For hidden XFR servers (either primaries or secondaries), an SOA response directly from that server only additionally leaks the degree of SOA serial number lag of any downstream secondary of that server.</t> </section> </section> </section> <sectionanchor="updates-to-existing-specifications"><name>Updatesanchor="updates-to-existing-specifications" numbered="true" removeInRFC="false" toc="include" pn="section-6"> <name slugifiedName="name-updates-to-existing-specifi">Updates toexisting specifications</name> <t>ForExisting Specifications</name> <t indent="0" pn="section-6-1">For convenience, the term'XFR-over-TCP''XFR over TCP' is used in this document to mean bothIXFR-over-TCP and AXFR-over-TCPIXFR over TCP andthereforeAXFR over TCP; therefore, statements that use that term update both <xreftarget="RFC1995"></xref>target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> and <xreftarget="RFC5936"></xref>,target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> and implicitly also apply to XoT. Differences in behavior specific to XoT are discussed in <xreftarget="xot-specification"></xref>.</t> <t>Both <xref target="RFC1995"></xref> and <xref target="RFC5936"></xref>target="xot-specification" format="default" sectionFormat="of" derivedContent="Section 7"/>.</t> <t indent="0" pn="section-6-2">Both <xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> and <xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> were published sometime before TCPwas consideredbecame afirst classwidely supported transport for DNS. <xreftarget="RFC1995"></xref>,target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/>, in fact, says nothing with respect to optimizing IXFRs over TCP orre-usingreusing already open TCP connections to perform IXFRs or other queries. Therefore, there arguably is an implicit assumption that a TCP connection is used for one and only one IXFR request. Indeed, many majoropen sourceopen-source implementations take this approach (at the time of this writing). And whilst <xreftarget="RFC5936"></xref>target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> gives guidance on connectionre-usereuse for AXFR, itpre-datespredates more recent specifications describing persistent TCP connections (e.g., <xreftarget="RFC7766"></xref>, <xref target="RFC7828"></xref>),target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/>, <xref target="RFC7828" format="default" sectionFormat="of" derivedContent="RFC7828"/>), and AXFR implementations again often makeless than optimalless-than-optimal use of open connections.</t><t>Given<t indent="0" pn="section-6-3">Given this, new implementations of XoT will clearly benefit from specific guidance on TCP/TLS connection usage for XFR, because this will:</t><ul> <li>result<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6-4"> <li pn="section-6-4.1">result in more consistent XoT implementations with betterinteroperability</li> <li>removeinteroperability and</li> <li pn="section-6-4.2">remove any need for XoT implementations to support legacy behavior for XoT connections that XFR-over-TCP implementations have historically oftensupported</li>supported.</li> </ul><t>Therefore<t indent="0" pn="section-6-5">Therefore, this document updates both the previous specifications forXFR-over-TCP ([RFC1995]XFR over TCP (<xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> and[RFC5936])<xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>) to clarifythat</t> <ul> <li><t>Implementations MUST use <xref target="RFC7766"></xref> (DNSthat:</t> <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6-6"> <li pn="section-6-6.1">Implementations <bcp14>MUST</bcp14> use <xref target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> ("DNS Transport over TCP - ImplementationRequirements)Requirements") to optimize the use of TCPconnections.</t> </li> <li><t>Whilst RFC7766connections.</li> <li pn="section-6-6.2">Whilst <xref target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> states that'DNS"DNS clientsSHOULD<bcp14>SHOULD</bcp14> pipeline theirqueries’queries" on TCP connections, it did not distinguish between XFRs and other queries for this behavior. It is now recognized that XFRs are not as latency sensitive as otherqueries,queries and can be significantly more complex for clients to handle, both because of the large amount of state that must be kept and because there may be multiple messages in the responses. For these reasons, it is clarified here that a valid reason for not pipelining queries is when they are all XFRqueries i.e.queries, i.e., clients sending multiple XFRsMAY<bcp14>MAY</bcp14> choose not to pipeline those queries. Clients that do not pipeline XFRqueries, therefore,queries therefore have no additional requirements to handle out-of-order or intermingled responses (as described later), since they will never receivethem.</t> </li> <li><t>Implementations SHOULDthem.</li> <li pn="section-6-6.3">Implementations <bcp14>SHOULD</bcp14> use<xref target="RFC7828"></xref> (Thethe edns-tcp-keepaliveEDNS0 Option)EDNS(0) option <xref target="RFC7828" format="default" sectionFormat="of" derivedContent="RFC7828"/> to manage persistentconnections (whichconnections. This is more flexible than the alternative of simply usingjustfixedtimeouts).</t> </li>timeouts.</li> </ul><t>The<t indent="0" pn="section-6-7">The following sections include detailed clarifications on the updates to XFR behavior implied in <xreftarget="RFC7766"></xref>target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> and how the use of <xreftarget="RFC7828"></xref>target="RFC7828" format="default" sectionFormat="of" derivedContent="RFC7828"/> applies specifically to XFR exchanges. They also discuss how IXFR and AXFR can reuse the same TCP connection.</t><t>For<t indent="0" pn="section-6-8">For completeness,we also mention herethe recent specification of extended DNS error (EDE) codes <xreftarget="RFC8914"></xref>.target="RFC8914" format="default" sectionFormat="of" derivedContent="RFC8914"/> is also mentioned here. For zone transfers, when returning REFUSED to a zone transfer request from an 'unauthorized' client (e.g., where the client is not listed in an ACL for zone transfers or does not sign the request with a valid TSIG key), the extended DNS error code 18(Prohibited)- Prohibited can also be sent.</t> <sectionanchor="update-to-rfc1995-for-ixfr-over-tcp"><name>Updateanchor="update-to-rfc1995-for-ixfr-over-tcp" numbered="true" removeInRFC="false" toc="include" pn="section-6.1"> <name slugifiedName="name-update-to-rfc-1995-for-ixfr">Update toRFC1995RFC 1995 forIXFR-over-TCP</name> <t>For clarity -IXFR over TCP</name> <t indent="0" pn="section-6.1-1">For clarity, an IXFR-over-TCP server compliant with this specificationMUST<bcp14>MUST</bcp14> be able to handle multiple concurrent IXoT requests on a single TCP connection (for the same and different zones) andSHOULD<bcp14>SHOULD</bcp14> send the responses as soon as they are available, which might beout-of-orderout of order compared to the requests.</t> </section> <sectionanchor="update-to-rfc5936-for-axfr-over-tcp"><name>Updateanchor="update-to-rfc5936-for-axfr-over-tcp" numbered="true" removeInRFC="false" toc="include" pn="section-6.2"> <name slugifiedName="name-update-to-rfc-5936-for-axfr">Update toRFC5936RFC 5936 forAXFR-over-TCP</name> <t>For clarity -AXFR over TCP</name> <t indent="0" pn="section-6.2-1">For clarity, an AXFR-over-TCP server compliant with this specificationMUST<bcp14>MUST</bcp14> be able to handle multiple concurrent AXoT sessions on a single TCP connection (for the same and different zones). The response streams for concurrent AXFRsMAY<bcp14>MAY</bcp14> beintermingledintermingled, and AXFR-over-TCP clients compliant with thisspecificationspecification, which pipeline AXFRrequests MUSTrequests, <bcp14>MUST</bcp14> be able to handle this.</t> </section> <sectionanchor="updates-to-rfc1995-and-rfc5936-for-xfr-over-tcp"><name>Updatesanchor="updates-to-rfc1995-and-rfc5936-for-xfr-over-tcp" numbered="true" removeInRFC="false" toc="include" pn="section-6.3"> <name slugifiedName="name-updates-to-rfcs-1995-and-59">Updates toRFC1995RFCs 1995 andRFC59365936 forXFR-over-TCP</name>XFR over TCP</name> <sectionanchor="connection-reuse"><name>Connection reuse</name> <t>Asanchor="connection-reuse" numbered="true" removeInRFC="false" toc="include" pn="section-6.3.1"> <name slugifiedName="name-connection-reuse">Connection Reuse</name> <t indent="0" pn="section-6.3.1-1">As specified, XFR-over-TCP clientsSHOULD re-use<bcp14>SHOULD</bcp14> reuse any existing open TCP connection when starting any new XFR request to the same primary, and for issuing SOA queries, instead of opening a new connection. The number of TCP connections between a secondary and primarySHOULD<bcp14>SHOULD</bcp14> be minimized (also see <xreftarget="update-to-rfc7766"></xref>).</t> <t>Validtarget="update-to-rfc7766" format="default" sectionFormat="of" derivedContent="Section 6.4"/>).</t> <t indent="0" pn="section-6.3.1-2">Valid reasons for notre-usingreusing existing connections might include:</t><ul> <li>as<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6.3.1-3"> <li pn="section-6.3.1-3.1">As already noted in <xreftarget="RFC7766"></xref>,target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/>, separate connections for different zones might be preferred for operational reasons. In this case, the number of concurrent connections for zone transfersSHOULD<bcp14>SHOULD</bcp14> be limited to the total number of zones transferred between the client and server.</li><li>reaching a<li pn="section-6.3.1-3.2">A configured limit for the number of outstanding queries or XFR requests allowed on a single TCPconnection</li> <li>theconnection has been reached.</li> <li pn="section-6.3.1-3.3">The message ID pool has already been exhausted on an openconnection</li> <li>aconnection.</li> <li pn="section-6.3.1-3.4">A large number of timeouts or slow responses have occurred on an openconnection</li> <li>anconnection.</li> <li pn="section-6.3.1-3.5">An edns-tcp-keepaliveEDNS0EDNS(0) option with a timeout of 0 has been received from theserverserver, and the client is in the process of closing the connection (see <xreftarget="the-edns-tcp-keepalive-edns0-option"></xref>)</li>target="the-edns-tcp-keepalive-edns0-option" format="default" sectionFormat="of" derivedContent="Section 6.3.4"/>).</li> </ul><t>If<t indent="0" pn="section-6.3.1-4">If no TCP connections are currently open, XFR clientsMAY<bcp14>MAY</bcp14> send SOA queries over UDP or a new TCP connection.</t> </section> <sectionanchor="axfrs-and-ixfrs-on-the-same-connection"><name>AXFRsanchor="axfrs-and-ixfrs-on-the-same-connection" numbered="true" removeInRFC="false" toc="include" pn="section-6.3.2"> <name slugifiedName="name-axfrs-and-ixfrs-on-the-same">AXFRs and IXFRs on thesame connection</name> <t>Neither <xref target="RFC1995"></xref>Same Connection</name> <t indent="0" pn="section-6.3.2-1">Neither <xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> nor <xreftarget="RFC5936"></xref>target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> explicitly discuss the use of a single TCP connection for both IXFR and AXFR requests. <xreftarget="RFC5936"></xref>target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> does make the general statement:</t><artwork>"Non-AXFR<blockquote pn="section-6.3.2-2">Non-AXFR session traffic can also use an openTCP connection." </artwork> <t>We clarify hereconnection.</blockquote> <t indent="0" pn="section-6.3.2-3">In this document, the above is clarified to indicate that implementations capable of both AXFR and IXFR and compliant with this specificationSHOULD</t> <ul> <li>use<bcp14>SHOULD</bcp14>:</t> <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6.3.2-4"> <li pn="section-6.3.2-4.1">use the same TCP connection for both AXFR and IXFR requests to the sameprimary</li> <li>pipelineprimary,</li> <li pn="section-6.3.2-4.2">pipeline such requests (if they pipeline XFR requests in general) andMAY<bcp14>MAY</bcp14> interminglethem</li> <li>sendthem, and</li> <li pn="section-6.3.2-4.3">send the response(s) for each request as soon as they areavailable i.e.available, i.e., responsesMAY<bcp14>MAY</bcp14> be sentintermingled</li>intermingled.</li> </ul><t>For<t indent="0" pn="section-6.3.2-5">For some currentimplementationsimplementations, adding all the above functionality would introduce significant code complexity. In such a case, there will need to be an assessment of the trade-off between that and the performance benefits of the above for XFR.</t> </section> <sectionanchor="xfr-limits"><name>XFR limits</name> <t>Theanchor="xfr-limits" numbered="true" removeInRFC="false" toc="include" pn="section-6.3.3"> <name slugifiedName="name-xfr-limits">XFR Limits</name> <t indent="0" pn="section-6.3.3-1">The serverMAY<bcp14>MAY</bcp14> limit the number of concurrent IXFRs,AXFRsAXFRs, or total XFR transfers inprogress, orprogress (or from a givensecondary,secondary) to protect server resources. ServersSHOULD<bcp14>SHOULD</bcp14> return SERVFAIL if this limit is hit, since it is a transient error and a retry at a later time might succeed (there is no previous specification for this behavior).</t> </section> <sectionanchor="the-edns-tcp-keepalive-edns0-option"><name>Theanchor="the-edns-tcp-keepalive-edns0-option" numbered="true" removeInRFC="false" toc="include" pn="section-6.3.4"> <name slugifiedName="name-the-edns-tcp-keepalive-edns">The edns-tcp-keepaliveEDNS0EDNS(0) Option</name><t>XFR<t indent="0" pn="section-6.3.4-1">XFR clients that send the edns-tcp-keepaliveEDNS0EDNS(0) option on every XFR request provide the server with maximum opportunity to update the edns-tcp-keepalive timeout. The XFR server may use the frequency of recent XFRs to calculate an average update rate as input to the decision of what edns-tcp-keepalive timeout to use. If the server does not support edns-tcp-keepalive, the clientMAY<bcp14>MAY</bcp14> keep the connection open for a few seconds (<xreftarget="RFC7766"></xref>target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> recommends that servers use timeouts of at least a few seconds).</t><t>Whilst<t indent="0" pn="section-6.3.4-2">Whilst the specification forEDNS0EDNS(0) <xreftarget="RFC6891"></xref>target="RFC6891" format="default" sectionFormat="of" derivedContent="RFC6891"/> does not specifically mention AXFRs, it doessay</t> <artwork>"Ifsay:</t> <blockquote pn="section-6.3.4-3">If an OPT record is present in a received request, compliant respondersMUST<bcp14>MUST</bcp14> include an OPT record in their respectiveresponses." </artwork> <t>We clarify hereresponses.</blockquote> <t indent="0" pn="section-6.3.4-4">In this document, the above is clarified to indicate that if an OPT record is present in a received AXFR request, compliant respondersMUST<bcp14>MUST</bcp14> include an OPT record in each of the subsequent AXFR responses. Note that this requirement, combined with the use of edns-tcp-keepalive, enables AXFR servers to signal the desire to close a connection (when existing transactions have competed) due to low resources by sending an edns-tcp-keepaliveEDNS0EDNS(0) option with a timeout of 0 on any AXFR response. This does not signal that the AXFR is aborted, just that the server wishes to close the connection as soon as possible.</t> </section> <sectionanchor="backwards-compatibility"><name>Backwards compatibility</name> <t>Certainanchor="backwards-compatibility" numbered="true" removeInRFC="false" toc="include" pn="section-6.3.5"> <name slugifiedName="name-backwards-compatibility">Backwards Compatibility</name> <t indent="0" pn="section-6.3.5-1">Certain legacy behaviors were noted in <xreftarget="RFC5936"></xref>,target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>, with provisions that implementations may want to offer options to fallback to legacy behavior when interoperating with servers known to not support <xreftarget="RFC5936"></xref>.target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/>. For purposes of interoperability, IXFR and AXFR implementations may want to continue offering such configuration options, as well as supporting some behaviors that were underspecified prior to this work (e.g., performing IXFR and AXFRs on separate connections). However, XoT connections should have no need to do so.</t> </section> </section> <sectionanchor="update-to-rfc7766"><name>Updateanchor="update-to-rfc7766" numbered="true" removeInRFC="false" toc="include" pn="section-6.4"> <name slugifiedName="name-update-to-rfc-7766">Update toRFC7766</name> <t><xref target="RFC7766"></xref>RFC 7766</name> <t indent="0" pn="section-6.4-1"><xref target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> made general implementation recommendations with regard to TCP/TLS connection handling:</t><artwork>"To<blockquote pn="section-6.4-2">To mitigate the risk of unintentional server overload, DNS clientsMUST<bcp14>MUST</bcp14> take care to minimize the number of concurrent TCP connections made to any individual server. It isRECOMMENDED<bcp14>RECOMMENDED</bcp14> that for any given client/server interaction thereSHOULD<bcp14>SHOULD</bcp14> be no more than one connection for regular queries, one for zone transfers, and one for each protocol that is being used on top of TCP (for example, if the resolver was using TLS). However, it is noted that certain primary/ secondary configurations with many busy zones might need to use more than one TCP connection for zone transfers for operational reasons (for example, to support concurrent transfers of multiplezones)." </artwork> <t>Whilstzones).</blockquote> <t indent="0" pn="section-6.4-3">Whilst this recommends a particular behavior for the clients using TCP, it does not relax the requirement for servers to handle 'mixed' traffic (regular queries and zone transfers) on any open TCP/TLS connection. It also overlooks the potential that other transports might want to take the same approach with regard to using separate connections for different purposes.</t><t>This<t indent="0" pn="section-6.4-4">This specification updates the above general guidance in <xreftarget="RFC7766"></xref>target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> to provide the same separation of connection purpose (regular queries and zone transfers) for all transports being used on top of TCP.</t><t>Therefore,<t indent="0" pn="section-6.4-5">Therefore, it isRECOMMENDED<bcp14>RECOMMENDED</bcp14> that for each protocol used on top of TCP in any given client/serverinteraction,interaction thereSHOULD<bcp14>SHOULD</bcp14> be no more than one connection for regular queries and one for zone transfers.</t><t>As<t indent="0" pn="section-6.4-6">As an illustration, it could be imagined that in the future such an interaction could hypothetically include one or all of the following:</t><ul> <li>one<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6.4-7"> <li pn="section-6.4-7.1">one TCP connection for regular queries</li><li>one<li pn="section-6.4-7.2">one TCP connection for zone transfers</li><li>one<li pn="section-6.4-7.3">one TLS connection for regular queries</li><li>one<li pn="section-6.4-7.4">one TLS connection for zone transfers</li><li>one<li pn="section-6.4-7.5">one DoH connection for regular queries</li><li>one<li pn="section-6.4-7.6">one DoH connection for zone transfers</li> </ul><t><xref target="connection-reuse"></xref> has provided<t indent="0" pn="section-6.4-8"><xref target="connection-reuse" format="default" sectionFormat="of" derivedContent="Section 6.3.1"/> provides specific details of the reasonswherewhy more than one connection for a given transport might be required for zone transfers from a particular client.</t> </section> </section> <sectionanchor="xot-specification"><name>XoT specification</name> <section anchor="connection-establishment"><name>Connection establishment</name> <t>Duringanchor="xot-specification" numbered="true" removeInRFC="false" toc="include" pn="section-7"> <name slugifiedName="name-xot-specification">XoT Specification</name> <section anchor="connection-establishment" numbered="true" removeInRFC="false" toc="include" pn="section-7.1"> <name slugifiedName="name-connection-establishment">Connection Establishment</name> <t indent="0" pn="section-7.1-1">During connectionestablishmentestablishment, the Application-Layer Protocol Negotiation (ALPN) token“dot”"dot" <xreftarget="DoT-ALPN"></xref> MUSTtarget="DoT-ALPN" format="default" sectionFormat="of" derivedContent="DoT-ALPN"/> <bcp14>MUST</bcp14> be selected in the TLS handshake.</t> </section> <sectionanchor="tls-versions"><name>TLS versions</name> <t>Allanchor="tls-versions" numbered="true" removeInRFC="false" toc="include" pn="section-7.2"> <name slugifiedName="name-tls-versions">TLS Versions</name> <t indent="0" pn="section-7.2-1">All implementations of this specificationMUST<bcp14>MUST</bcp14> use only TLS 1.3 <xreftarget="RFC8446"></xref>target="RFC8446" format="default" sectionFormat="of" derivedContent="RFC8446"/> or later.</t> </section> <sectionanchor="port-selection"><name>Port selection</name> <t>Theanchor="port-selection" numbered="true" removeInRFC="false" toc="include" pn="section-7.3"> <name slugifiedName="name-port-selection">Port Selection</name> <t indent="0" pn="section-7.3-1">The connection for XoTSHOULD<bcp14>SHOULD</bcp14> be established using port 853, as specified in <xreftarget="RFC7858"></xref>,target="RFC7858" format="default" sectionFormat="of" derivedContent="RFC7858"/>, unless there is mutual agreement between thesecondary andprimary and secondary to use a port other than port 853 for XoT. ThereMAY<bcp14>MAY</bcp14> be agreement to use different ports for AXoT andIXoT,IXoT or for different zones.</t> </section> <sectionanchor="high-level-xot-descriptions"><name>High level XoT descriptions</name> <t>Itanchor="high-level-xot-descriptions" numbered="true" removeInRFC="false" toc="include" pn="section-7.4"> <name slugifiedName="name-high-level-xot-descriptions">High-Level XoT Descriptions</name> <t indent="0" pn="section-7.4-1">It is useful to note that inXoT,XoT it is the secondary that initiates the TLS connection to the primary foraan XFRrequest,request sothatthat, in terms of connectivity, the secondary is the TLS client and the primary is the TLS server.</t><t>The<t indent="0" pn="section-7.4-2">The figure below provides an outline of the AXoT mechanism including NOTIFYs.</t><artwork><figure anchor="fig3" align="left" suppress-title="false" pn="figure-3"> <name slugifiedName="name-axot-mechanism">AXoT Mechanism</name> <artwork name="" type="" alt="" align="left" pn="section-7.4-3.1"> Secondary Primary | NOTIFY | | <-------------------------------- | UDP | --------------------------------> | | NOTIFY Response | | | | | | SOA Request | | --------------------------------> | UDP (or part of | <-------------------------------- | a TCP/TLS session) | SOA Response | | | | | | | | AXFR Request | --- | --------------------------------> | | | <-------------------------------- | | | AXFR Response 1 | | | (Zone data) | | | | | | <-------------------------------- | | TLS | AXFR Response 2 | | Session | (Zone data) | | | | | | <-------------------------------- | | | AXFR Response 3 | | | (Zone data) | --- | |Figure 3. AXoT Mechanism</artwork><t>The</figure> <t indent="0" pn="section-7.4-4">The figure below provides an outline of the IXoT mechanism including NOTIFYs.</t><artwork><figure anchor="fig4" align="left" suppress-title="false" pn="figure-4"> <name slugifiedName="name-ixot-mechanism">IXoT Mechanism</name> <artwork name="" type="" alt="" align="left" pn="section-7.4-5.1"> Secondary Primary | NOTIFY | | <-------------------------------- | UDP | --------------------------------> | | NOTIFY Response | | | | | | SOA Request | | --------------------------------> | UDP (or part of | <-------------------------------- | a TCP/TLS session) | SOA Response | | | | | | | | IXFR Request | --- | --------------------------------> | | | <-------------------------------- | | | IXFR Response | | | (Zone data) | | | | | TLS | | | session | IXFR Request | | | --------------------------------> | | | <-------------------------------- | | | IXFR Response | | | (Zone data) | ---Figure 4. IXoT Mechanism</artwork> </figure> </section> <sectionanchor="xot-transfers"><name>XoT transfers</name> <t>Foranchor="xot-transfers" numbered="true" removeInRFC="false" toc="include" pn="section-7.5"> <name slugifiedName="name-xot-transfers">XoT Transfers</name> <t indent="0" pn="section-7.5-1">For a zone transfer between twoend pointsendpoints to be considered protected withXoTXoT, all XFR requests andresponseresponses for that zoneMUST<bcp14>MUST</bcp14> be sent over TLSconnectionsconnections, where at a minimum:</t><ul> <li>the<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-7.5-2"> <li pn="section-7.5-2.1">The clientMUST<bcp14>MUST</bcp14> authenticate the server by use of an authentication domain name using a Strict PrivacyProfile,profile, as described in <xreftarget="RFC8310"></xref></li> <li><t>thetarget="RFC8310" format="default" sectionFormat="of" derivedContent="RFC8310"/>.</li> <li pn="section-7.5-2.2"> <t indent="0" pn="section-7.5-2.2.1">The serverMUST<bcp14>MUST</bcp14> validate the client is authorized to request or proxy a zone transfer by using one or both of the following methods:</t><ul> <li>Mutual<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-7.5-2.2.2"> <li pn="section-7.5-2.2.2.1">mutual TLS (mTLS)</li><li>an IP based<li pn="section-7.5-2.2.2.2">an IP-based ACL (which can be eitherper-messageper message orper-connection)per connection) combined with a valid TSIG/SIG(0) signature on the XFR request</li></ul></li></ul><t>If</li> </ul> <t indent="0" pn="section-7.5-3">If only one method isselectedselected, then mTLS is preferred because it provides strong cryptographic protection at both endpoints.</t><t>Authentication<t indent="0" pn="section-7.5-4">Authentication mechanisms are discussed in full in <xreftarget="authentication-mechanisms"></xref>target="authentication-mechanisms" format="default" sectionFormat="of" derivedContent="Section 9"/>, and the rationale for the above requirement is discussed in <xreftarget="xot-authentication"></xref>.target="xot-authentication" format="default" sectionFormat="of" derivedContent="Section 10"/>. Transfer group policies are discussed in <xreftarget="policies-for-both-axot-and-ixot"></xref>.</t> </section> <section anchor="xot-connections"><name>XoT connections</name> <t>Thetarget="policies-for-both-axot-and-ixot" format="default" sectionFormat="of" derivedContent="Section 11"/>.</t> </section> <section anchor="xot-connections" numbered="true" removeInRFC="false" toc="include" pn="section-7.6"> <name slugifiedName="name-xot-connections">XoT Connections</name> <t indent="0" pn="section-7.6-1">The details in <xreftarget="updates-to-existing-specifications"></xref>target="updates-to-existing-specifications" format="default" sectionFormat="of" derivedContent="Section 6"/> about, e.g., persistent connections and XFR messagehandlinghandling, are fully applicable to XoT connections as well. However, any behavior specified here takes precedence for XoT.</t><t>If<t indent="0" pn="section-7.6-2">If no TLS connections are currently open, XoT clientsMAY<bcp14>MAY</bcp14> send SOA queries overUDP orUDP, TCP, or TLS.</t> </section> <sectionanchor="xot-vs-adot"><name>XoT vsanchor="xot-vs-adot" numbered="true" removeInRFC="false" toc="include" pn="section-7.7"> <name slugifiedName="name-xot-vs-adot">XoT vs. ADoT</name><t>As<t indent="0" pn="section-7.7-1">As noted earlier, there is currently no specification for encryption of connections from recursive resolvers to authoritative servers. Someauthoritativesauthoritative servers are experimenting withADoTADoT, and opportunistic encryption has also been raised as a possibility; therefore, it isthereforehighly likely that use of encryption by authoritative servers will evolve in the coming years.</t><t>This<t indent="0" pn="section-7.7-2">This raises questions in the short term with regard to TLS connection and message handling for authoritative servers. In particular, there is likely to be a class ofauthoritativesauthoritative servers that wish to use XoT in the near future with a small number of configuredsecondaries,secondaries but that do not wish to support DoT for regular queries from recursives in that same time frame. These servers have to potentially cope with probing and direct queries from recursives and from testservers,servers and also potential attacks that might wish to make use of TLS to overload the server.</t><t><xref target="RFC5936"></xref><t indent="0" pn="section-7.7-3"><xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> clearly states that non-AXFR session traffic can use an openTCP connection,connection; however, this requirement needs to bere-evaluatedreevaluated when consideringapplyingthe application of the same model to XoT. Proposing that a server should also start responding to all queries received over TLS just because it has enabled XoT would be equivalent to defining a form of authoritative DoT. This specification does not propose that, but it also does not prohibit servers from answering queries unrelated to XFR exchanges over TLS. Rather, this specification simply outlines in later sections:</t><ul> <li>how XoT implementations should utilize<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-7.7-4"> <li pn="section-7.7-4.1">the utilization of EDE codes by XoT servers in response to queries on TLS connections that they are not willing to answer (see <xreftarget="response-rcodes"></xref>)</li> <li>thetarget="response-rcodes" format="default" sectionFormat="of" derivedContent="Section 7.8"/>)</li> <li pn="section-7.7-4.2">the operational and policy options that an operator of a XoT serveroperatorhas with regard to managing TLS connections and messages (see <xreftarget="xot-server-connection-handling"></xref>)</li>target="xot-server-connection-handling" format="default" sectionFormat="of" derivedContent="Appendix A"/>)</li> </ul> </section> <sectionanchor="response-rcodes"><name>Responseanchor="response-rcodes" numbered="true" removeInRFC="false" toc="include" pn="section-7.8"> <name slugifiedName="name-response-rcodes">Response RCODES</name><t>XoT<t indent="0" pn="section-7.8-1">XoT clients and serversMUST<bcp14>MUST</bcp14> implement EDE codes. If a XoT server receives non-XoT traffic it is not willing to answer on a TLS connection, itSHOULD<bcp14>SHOULD</bcp14> respond with REFUSED and the extended DNS error code 21 - Not Supported <xreftarget="RFC8914"></xref>.target="RFC8914" format="default" sectionFormat="of" derivedContent="RFC8914"/>. XoT clients should not send any further queries of this type to the server for a reasonable period of time (for example, onehour)hour), i.e., long enough that the server configuration or policy might be updated.</t><t>Historically,<t indent="0" pn="section-7.8-2">Historically, servers have used the REFUSED RCODE for manysituations, and sosituations; therefore, clients often had no detailed information on which to base an error or fallback path when queries were refused. As a result, the client behavior could vary significantly. XoT servers that refuse queries must caterforto the fact that client behavior might vary from continually retrying queries regardless of receiving REFUSED to everyquery, orquery or, at the otherextremeextreme, clients may decide to stop using the server over any transport. This might be because those clients are either non-XoT clients or do not implement EDE codes.</t> </section> <sectionanchor="axot-specifics"><name>AXoT specifics</name> <section anchor="padding-axot-responses"><name>Paddinganchor="axot-specifics" numbered="true" removeInRFC="false" toc="include" pn="section-7.9"> <name slugifiedName="name-axot-specifics">AXoT Specifics</name> <section anchor="padding-axot-responses" numbered="true" removeInRFC="false" toc="include" pn="section-7.9.1"> <name slugifiedName="name-padding-axot-responses">Padding AXoTresponses</name> <t>TheResponses</name> <t indent="0" pn="section-7.9.1-1">The goal of padding AXoT responses is two fold:</t><ul> <li>to<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-7.9.1-2"> <li pn="section-7.9.1-2.1">to obfuscate the actual size of the transferred zone to minimize information leakage about the entire contents of thezone.</li> <li>tozone</li> <li pn="section-7.9.1-2.2">to obfuscate the incremental changes to the zone between SOA updates to minimize information leakage about zone update activity andgrowth.</li>growth</li> </ul><t>Note<t indent="0" pn="section-7.9.1-3">Note that there-usereuse of XoT connections for transfers of multiple different zones slightly complicates any attempt to analyze the traffic size and timing to extract information. Also, effective padding may require the state to be keptasbecause zones may grow and/or shrink over time.</t><t>It<t indent="0" pn="section-7.9.1-4">It is noted here that, depending on the padding policies eventually developed for XoT, the requirement to obfuscate the total zone size might require a server to create 'empty' AXoTresponses. Thatresponses, that is, AXoT responses that contain noRR'sRRs apart from an OPT RR containing the EDNS(0) option for padding. For example, without thiscapabilitycapability, the maximum size that a tiny zone could be padded to would theoretically be limited if there had to be a minimum of 1 RR per packet.</t><t>However,<t indent="0" pn="section-7.9.1-5">However, as with existing AXFR, the last AXoT response message sentMUST<bcp14>MUST</bcp14> contain the same SOA that was in the first message of the AXoT response series in order to signal the conclusion of the zone transfer.</t><t><xref target="RFC5936"></xref><t indent="0" pn="section-7.9.1-6"><xref target="RFC5936" format="default" sectionFormat="of" derivedContent="RFC5936"/> says:</t><artwork>"Each<blockquote pn="section-7.9.1-7">Each AXFR response messageSHOULD<bcp14>SHOULD</bcp14> contain a sufficient number of RRs to reasonably amortize the per-message overhead, up to the largest number that will fit within a DNS message (taking the required content of the other sections into account, as describedbelow)." </artwork> <t>'Empty'below).</blockquote> <t indent="0" pn="section-7.9.1-8">'Empty' AXoT responses generated in order to meet a padding requirement will be exceptions to the above statement. For flexibility, for futureproofingproofing, and in order to guarantee support for future padding policies,we stateit is stated here that secondary implementationsMUST<bcp14>MUST</bcp14> be resilient to receiving padded AXoT responses, including 'empty' AXoT responses that contain only an OPT RR containing the EDNS(0) option for padding.</t><t>Recommendation<t indent="0" pn="section-7.9.1-9">Recommendations of specific policies for padding AXoT responses are out of scope for this specification. Detailed considerations of such policies and the trade-offs involved are expected to be the subject of future work.</t> </section> </section> <sectionanchor="ixot-specifics"><name>IXoT specifics</name> <section anchor="condensation-of-responses"><name>Condensation of responses</name> <t><xref target="RFC1995"></xref>anchor="ixot-specifics" numbered="true" removeInRFC="false" toc="include" pn="section-7.10"> <name slugifiedName="name-ixot-specifics">IXoT Specifics</name> <section anchor="condensation-of-responses" numbered="true" removeInRFC="false" toc="include" pn="section-7.10.1"> <name slugifiedName="name-condensation-of-responses">Condensation of Responses</name> <t indent="0" pn="section-7.10.1-1"><xref target="RFC1995" format="default" sectionFormat="of" derivedContent="RFC1995"/> says that condensation of responses is optional andMAY<bcp14>MAY</bcp14> be done. Whilst it does add complexity to generating responses, it can significantly reduce the size of responses.HoweverHowever, any such reduction might be offset by increased message size due to padding. This specification does not update the optionality of condensation for XoT responses.</t> </section> <sectionanchor="fallback-to-axfr"><name>Fallbackanchor="fallback-to-axfr" numbered="true" removeInRFC="false" toc="include" pn="section-7.10.2"> <name slugifiedName="name-fallback-to-axfr">Fallback to AXFR</name><t>Fallback<t indent="0" pn="section-7.10.2-1">Fallback to AXFR can happen, for example, if the server is not able to provide an IXFR for the requested SOA. Implementations differ in how long they store zone deltas and how many may be stored at any one time.</t><t>Just<t indent="0" pn="section-7.10.2-2">Just as withIXFR-over-TCP,IXFR over TCP, after a failedIXFR aIXFR, an IXoT clientSHOULD<bcp14>SHOULD</bcp14> request the AXFR on the already open XoT connection.</t> </section> <sectionanchor="padding-of-ixot-responses"><name>Paddinganchor="padding-of-ixot-responses" numbered="true" removeInRFC="false" toc="include" pn="section-7.10.3"> <name slugifiedName="name-padding-of-ixot-responses">Padding of IXoTresponses</name> <t>TheResponses</name> <t indent="0" pn="section-7.10.3-1">The goal of padding IXoT responses is to obfuscate the incremental changes to the zone between SOA updates to minimize information leakage about zone update activity and growth. Both the size and timing of the IXoT responses could reveal information.</t><t>IXFR<t indent="0" pn="section-7.10.3-2">IXFR responses can vary greatly in size from the order of 100 bytes for one or two recordupdates,updates to tens of thousands of bytes forlargelarge, dynamicDNSSEC signedDNSSEC-signed zones. The frequency of IXFR responses can also depend greatly on if and how the zone is DNSSEC signed.</t><t>In<t indent="0" pn="section-7.10.3-3">In order to guarantee support for future padding policies,we stateit is stated here that secondary implementationsMUST<bcp14>MUST</bcp14> be resilient to receiving padded IXoT responses.</t><t>Recommendation<t indent="0" pn="section-7.10.3-4">Recommendation of specific policies for padding IXoT responses are out of scope for this specification. Detailed considerations of such padding policies, the use of traffic obfuscation techniques (such as‘dummy'generating fake XFR traffic), and the trade-offs involved are expected to be the subject of future work.</t> </section> </section> <sectionanchor="name-compression-and-maximum-payload-sizes"><name>Name compression and maximum payload sizes</name> <t>Itanchor="name-compression-and-maximum-payload-sizes" numbered="true" removeInRFC="false" toc="include" pn="section-7.11"> <name slugifiedName="name-name-compression-and-maximu">Name Compression and Maximum Payload Sizes</name> <t indent="0" pn="section-7.11-1">It is noted here that name compression <xreftarget="RFC1035"></xref>target="RFC1035" format="default" sectionFormat="of" derivedContent="RFC1035"/> can be used in XFR responses to reduce the size of thepayload,payload; however, the maximum value of the offset that can be used in the name compression pointer structure is 16384. For some DNSimplementationsimplementations, this limits the size of an individual XFR response used in practice to something around the order of16kB.16 KB. In principle, larger payload sizes can be supported for some responses with more sophisticated approaches (e.g., bypre-calculatingprecalculating the maximum offset required).</t><t>Implementations<t indent="0" pn="section-7.11-2">Implementations may wish to offer options to disable name compression for XoT responses to enable larger payloads. This might be particularly helpful when padding isusedused, since minimizing the payload size is not necessarily a useful optimization in this case and disabling name compression will reduce the resources required to construct the payload.</t> </section> </section> <sectionanchor="multi-primary-configurations"><name>Multi-primaryanchor="multi-primary-configurations" numbered="true" removeInRFC="false" toc="include" pn="section-8"> <name slugifiedName="name-multi-primary-configuration">Multi-primary Configurations</name><t>This<t indent="0" pn="section-8-1">This model can provide flexibility andredundancyredundancy, particularly for IXFR. A secondary will receive one or more NOTIFY messages and can send an SOA to all of the configured primaries. It can then choose to send an XFR request to the primary with the highest SOA (or based on other criteria, e.g., RTT).</t><t>When<t indent="0" pn="section-8-2">When using persistent connections, the secondary may have a XoT connection already open to one or more primaries. Should a secondary preferentially request an XFR from a primary to which it already has an open XoT connection or the one with the highest SOA (assuming it doesn't have a connection open to it already)?</t><t>Two<t indent="0" pn="section-8-3">Two extremes can be envisaged here. The first one can be considered a 'preferred primary connection' model. In this case, the secondary continues to use one persistent connection to a single primary until it has reason not to. Reasons not to might include the primary repeatedly closing the connection, long query/response RTTs ontransferstransfers, or the SOA of the primary being an unacceptable lag behind the SOA of an alternative primary.</t><t>The<t indent="0" pn="section-8-4">The other extreme can be considered a 'parallel primary connection' model. Here, a secondary could keep multiple persistent connections open to all available primaries and only request XFRs from the primary with the highest serial number. Since normally the number of secondaries and primaries in direct contact in a transfer group is reasonablylowlow, this might be feasible if latency is the most significant concern.</t><t>Recommendation<t indent="0" pn="section-8-5">Recommendation of a particular scheme is out of scope of this document, but implementations are encouraged to provide configuration options that allow operators to make choices about this behavior.</t> </section> <sectionanchor="authentication-mechanisms"><name>Authentication mechanisms</name> <t>Toanchor="authentication-mechanisms" numbered="true" removeInRFC="false" toc="include" pn="section-9"> <name slugifiedName="name-authentication-mechanisms">Authentication Mechanisms</name> <t indent="0" pn="section-9-1">To provide context to the requirements in <xreftarget="xot-transfers"></xref>,target="xot-transfers" format="default" sectionFormat="of" derivedContent="Section 7.5"/>, this section provides a brief summary of some of the existing authentication and validation mechanisms (both transport independent and TLS specific) that are available when performing zone transfers. <xreftarget="xot-authentication"></xref>target="xot-authentication" format="default" sectionFormat="of" derivedContent="Section 10"/> then discusses in moredetailsdetail specifically how a combination of TLS authentication,TSIGTSIG, andIP basedIP-based ACLs interact for XoT.</t><t>We classify<t indent="0" pn="section-9-2">In this document, the mechanisms are classified based on the following properties:</t><ul> <li><t>'Data<dl newline="true" spacing="normal" indent="3" pn="section-9-3"> <dt pn="section-9-3.1">Data OriginAuthentication' (DO):Authentication (DO):</dt> <dd pn="section-9-3.2">Authentication 1) of the fact that the DNS message originated from the party with whom credentials wereshared,shared and 2) of the data integrity of the message contents (the originating party may or may not be the party operating the far end of a TCP/TLS connection in a 'proxy'scenario).</t> </li> <li><t>'Channel Confidentiality' (CC):scenario).</dd> <dt pn="section-9-3.3">Channel Confidentiality (CC):</dt> <dd pn="section-9-3.4">Confidentiality of the communication channel between the client and server(i.e.(i.e., the twoend pointsendpoints of a TCP/TLS connection) from passivesurveillance.</t> </li> <li><t>'Channel Authentication' (CA):surveillance.</dd> <dt pn="section-9-3.5">Channel Authentication (CA):</dt> <dd pn="section-9-3.6">Authentication of the identity of the party to whom a TCP/TLS connection is made (this might not be a direct connection between the primary and secondary in a proxyscenario).</t> </li> </ul>scenario).</dd> </dl> <sectionanchor="tsig"><name>TSIG</name> <t>TSIG <xref target="RFC8945"></xref>anchor="tsig" numbered="true" removeInRFC="false" toc="include" pn="section-9.1"> <name slugifiedName="name-tsig">TSIG</name> <t indent="0" pn="section-9.1-1">TSIG <xref target="RFC8945" format="default" sectionFormat="of" derivedContent="RFC8945"/> provides a mechanism for two or more parties to use shared secret keyswhichthat can then be used to create a message digest to protect individual DNS messages. This allows each party to authenticate that a request or response (and the data in it) came from the other party, even if it was transmitted over an unsecured channel or via a proxy.</t><t>Properties: Data<dl newline="false" spacing="normal" indent="3" pn="section-9.1-2"> <dt pn="section-9.1-2.1">Properties:</dt> <dd pn="section-9.1-2.2">Data originauthentication</t>authentication.</dd> </dl> </section> <sectionanchor="sig-0"><name>SIG(0)</name> <t>SIG(0) <xref target="RFC2931"></xref>anchor="sig-0" numbered="true" removeInRFC="false" toc="include" pn="section-9.2"> <name slugifiedName="name-sig0">SIG(0)</name> <t indent="0" pn="section-9.2-1">SIG(0) <xref target="RFC2931" format="default" sectionFormat="of" derivedContent="RFC2931"/> similarly provides a mechanism to digitally sign a DNS message but uses public key authentication, where the public keys are stored in DNS as KEY RRs and a private key is stored at the signer.</t><t>Properties: Data<dl newline="false" spacing="normal" indent="3" pn="section-9.2-2"> <dt pn="section-9.2-2.1">Properties:</dt> <dd pn="section-9.2-2.2">Data originauthentication</t>authentication.</dd> </dl> </section> <sectionanchor="tls"><name>TLS</name> <section anchor="opportunistic-tls"><name>Opportunisticanchor="tls" numbered="true" removeInRFC="false" toc="include" pn="section-9.3"> <name slugifiedName="name-tls">TLS</name> <section anchor="opportunistic-tls" numbered="true" removeInRFC="false" toc="include" pn="section-9.3.1"> <name slugifiedName="name-opportunistic-tls">Opportunistic TLS</name><t>Opportunistic<t indent="0" pn="section-9.3.1-1">Opportunistic TLS for DoT is defined in <xreftarget="RFC8310"></xref>target="RFC8310" format="default" sectionFormat="of" derivedContent="RFC8310"/> and can provide a defense against passive surveillance, providing on-the-wire confidentiality.Essentially</t> <ul> <li>clients thatEssentially:</t> <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-9.3.1-2"> <li pn="section-9.3.1-2.1">if clients know authentication information for aserver SHOULDserver, they <bcp14>SHOULD</bcp14> try to authenticate theserver</li> <li>howeverserver,</li> <li pn="section-9.3.1-2.2">if this fails or clients do not know the information, theyMAY<bcp14>MAY</bcp14> fallback to using TLS withoutauthentication and</li> <li>they MAYauthentication, or</li> <li pn="section-9.3.1-2.3">clients <bcp14>MAY</bcp14> fallback to using cleartext if TLS is not available.</li> </ul><t>As<t indent="0" pn="section-9.3.1-3">As such, it does not offer a defense against active attacks (e.g., anon pathon-path active attacker on the connection from client toserver),server) and is not considered as useful for XoT.</t><t>Properties: None guaranteed.</t> </section> <section anchor="strict-tls"><name>Strict<dl newline="false" spacing="normal" indent="3" pn="section-9.3.1-4"> <dt pn="section-9.3.1-4.1">Properties:</dt> <dd pn="section-9.3.1-4.2">None guaranteed.</dd> </dl> </section> <section anchor="strict-tls" numbered="true" removeInRFC="false" toc="include" pn="section-9.3.2"> <name slugifiedName="name-strict-tls">Strict TLS</name><t>Strict<t indent="0" pn="section-9.3.2-1">Strict TLS for DoT <xreftarget="RFC8310"></xref>target="RFC8310" format="default" sectionFormat="of" derivedContent="RFC8310"/> requires that a client is configured with an authentication domain name (and/orSPKI pinset)Subject Public Key Info (SPKI) pin set) thatMUST<bcp14>MUST</bcp14> be used to authenticate the TLS handshake with the server. If authentication of the server fails, the client will not proceed with the connection. This provides a defense for the client against active surveillance, providing client-to-server authentication and end-to-end channel confidentiality.</t><t>Properties: Channel<dl newline="false" spacing="compact" indent="3" pn="section-9.3.2-2"> <dt pn="section-9.3.2-2.1">Properties:</dt> <dd pn="section-9.3.2-2.2">Channel confidentiality and channel authentication (of theserver).</t>server).</dd> </dl> </section> <sectionanchor="mutual-tls"><name>Mutualanchor="mutual-tls" numbered="true" removeInRFC="false" toc="include" pn="section-9.3.3"> <name slugifiedName="name-mutual-tls">Mutual TLS</name><t>This<t indent="0" pn="section-9.3.3-1">This is an extension to Strict TLS <xreftarget="RFC8310"></xref> whichtarget="RFC8310" format="default" sectionFormat="of" derivedContent="RFC8310"/> that requires that a client is configured with an authentication domain name (and/or SPKIpinset)pin set) and a client certificate. The client offers the certificate for authentication by theserverserver, and the client can authenticate the server the same way as in Strict TLS. This provides a defense for both parties against active surveillance, providingbi-directionalbidirectional authentication and end-to-end channel confidentiality.</t><t>Properties: Channel<dl newline="false" spacing="compact" indent="3" pn="section-9.3.3-2"> <dt pn="section-9.3.3-2.1">Properties:</dt> <dd pn="section-9.3.3-2.2">Channel confidentiality and mutual channelauthentication.</t>authentication.</dd> </dl> </section> </section> <sectionanchor="ip-based-acl-on-the-primary"><name>IP Basedanchor="ip-based-acl-on-the-primary" numbered="true" removeInRFC="false" toc="include" pn="section-9.4"> <name slugifiedName="name-ip-based-acl-on-the-primary">IP-Based ACL on the Primary</name><t>Most<t indent="0" pn="section-9.4-1">Most DNS server implementations offer an option to configure anIP based Access Control List (ACL),IP-based ACL, which is often used in combination withTSIG basedTSIG-based ACLs to restrict access to zone transfers on primary servers on aper queryper-query basis.</t><t>This<t indent="0" pn="section-9.4-2">This is also possible with XoT, but it must be noted that, as with TCP, the implementation of such an ACL cannot be enforced on the primary until an XFR request is received on an established connection.</t><t>As<t indent="0" pn="section-9.4-3">As discussed in <xreftarget="xot-server-connection-handling"></xref>,target="xot-server-connection-handling" format="default" sectionFormat="of" derivedContent="Appendix A"/>, anIP based per connectionIP-based per-connection ACL could also be implemented where only TLS connections from recognized secondaries are accepted.</t><t>Properties: Channel<dl newline="false" spacing="normal" indent="3" pn="section-9.4-4"> <dt pn="section-9.4-4.1">Properties:</dt> <dd pn="section-9.4-4.2">Channel authentication of theclient.</t>client.</dd> </dl> </section> <sectionanchor="zonemd"><name>ZONEMD</name> <t>Foranchor="zonemd" numbered="true" removeInRFC="false" toc="include" pn="section-9.5"> <name slugifiedName="name-zonemd">ZONEMD</name> <t indent="0" pn="section-9.5-1">For completeness,we also describe MessageZONEMD <xref target="RFC8976" format="default" sectionFormat="of" derivedContent="RFC8976"/> ("Message Digest for DNSZones (ZONEMD) <xref target="RFC8976"></xref>Zones") is described here. The ZONEMD message digest is a mechanism that can be used to verify the content of a standalone zone. It is designed to be independent of the transmission channel or mechanism, allowing a general consumer of a zone to do origin authentication of the entire zone contents. Note that the current version of <xreftarget="RFC8976"></xref>target="RFC8976" format="default" sectionFormat="of" derivedContent="RFC8976"/> states:</t><t><tt>As<blockquote pn="section-9.5-2">As specified herein, ZONEMD is impractical for large, dynamic zones due to the time and resources required for digest calculation. However,Thethe ZONEMD record is extensible so that new digest schemes may be added in the future to support large, dynamiczones.</tt></t> <t>Itzones.</blockquote> <t indent="0" pn="section-9.5-3">It is complementary but orthogonal to the abovemechanisms;mechanisms and can be used in conjunction withXoT,XoT but is not considered further here.</t> </section> </section> <sectionanchor="xot-authentication"><name>XoT authentication</name> <t>Itanchor="xot-authentication" numbered="true" removeInRFC="false" toc="include" pn="section-10"> <name slugifiedName="name-xot-authentication">XoT Authentication</name> <t indent="0" pn="section-10-1">It is noted that zone transfer scenarios can vary from a simple single primary/secondary relationship where both servers are under the control of a single operator to a complex hierarchical structurewhichthat includes proxies and multiple operators. Each deployment scenario will require specific analysis to determine which combination of authentication methods are best suited to the deployment model in question.</t><t>The<t indent="0" pn="section-10-2">The XoT authentication requirement specified in <xreftarget="xot-transfers"></xref>target="xot-transfers" format="default" sectionFormat="of" derivedContent="Section 7.5"/> addresses the issue of ensuring that the transfers are encrypted between the two endpoints directly involved in the current transfers. The following table summarizes the properties of a selection of the mechanisms discussed in <xreftarget="authentication-mechanisms"></xref>.target="authentication-mechanisms" format="default" sectionFormat="of" derivedContent="Section 9"/>. Thetwo letter acronymstwo-letter abbreviations for the properties are usedbelow andbelow: (S) indicates the secondary and (P) indicates the primary.</t><table><table anchor="table1" align="center" pn="table-1"> <name slugifiedName="name-properties-of-authenticatio">Properties of Authentication Methods for XoT</name> <thead> <tr> <thalign="left">Method</th>align="left" colspan="1" rowspan="1">Method</th> <thalign="center">DO(S)</th>align="center" colspan="1" rowspan="1">DO(S)</th> <thalign="center">CC(S)</th>align="center" colspan="1" rowspan="1">CC(S)</th> <thalign="center">CA(S)</th>align="center" colspan="1" rowspan="1">CA(S)</th> <thalign="center">DO(P)</th>align="center" colspan="1" rowspan="1">DO(P)</th> <thalign="center">CC(P)</th>align="center" colspan="1" rowspan="1">CC(P)</th> <thalign="center">CA(P)</th>align="center" colspan="1" rowspan="1">CA(P)</th> </tr> </thead> <tbody> <tr> <tdalign="left">Strictalign="left" colspan="1" rowspan="1">Strict TLS</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> </tr> <tr> <tdalign="left">Mutualalign="left" colspan="1" rowspan="1">Mutual TLS</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> </tr> <tr> <tdalign="left">ACLalign="left" colspan="1" rowspan="1">ACL on primary</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> </tr> <tr> <tdalign="left">TSIG</td>align="left" colspan="1" rowspan="1">TSIG</td> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center">Y</td>align="center" colspan="1" rowspan="1">Y</td> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> <tdalign="center"></td>align="center" colspan="1" rowspan="1"/> </tr> </tbody></table><t>Table 1: Properties of Authentication methods for XoT</t> <t>Based</table> <t indent="0" pn="section-10-4">Based on thisanalysisanalysis, it can be seen that:</t><ul> <li><t>Using<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-10-5"> <li pn="section-10-5.1">Using just mutual TLS can be considered a standalone solution since bothend pointsendpoints are cryptographicallyauthenticated</t> </li> <li><t>Using secondary sideauthenticated.</li> <li pn="section-10-5.2">Using secondary-side Strict TLS with aprimary side IPprimary-side IP-based ACL and TSIG/SIG(0) combination provides sufficient protection to beacceptable.</t> </li>acceptable.</li> </ul><t>Using<t indent="0" pn="section-10-6">Using just anIPIP-based ACL could be susceptible to attacks that can spoof TCP IPaddresses,addresses; using TSIG/SIG(0) alone could be susceptible to attacks that were able to capture such messages should they be accidentally sent inclear textcleartext by any server with the key.</t> </section> <sectionanchor="policies-for-both-axot-and-ixot"><name>Policiesanchor="policies-for-both-axot-and-ixot" numbered="true" removeInRFC="false" toc="include" pn="section-11"> <name slugifiedName="name-policies-for-both-axot-and-">Policies for Both AXoT and IXoT</name><t>Whilst<t indent="0" pn="section-11-1">Whilst the protection of the zone contents in a transfer between twoend pointsendpoints can be provided by the XoT protocol, the protection of all the transfers of a given zone requires operational administration and policy management.</t><t>We call the<t indent="0" pn="section-11-2">The entire group of servers involved in XFR for a particular set of zones (all the primaries and all the secondaries) is called the 'transfer group'.</t><t>In<t indent="0" pn="section-11-3">In order to assure the confidentiality of the zone information, the entire transfer groupMUST<bcp14>MUST</bcp14> have a consistent policy of using XoT. If any do not, this is a weak link for attackers to exploit. For clarification, this means that within any transfer group both AXFRs and IXFRs for a zoneMUST<bcp14>MUST</bcp14> all use XoT.</t><t>An<t indent="0" pn="section-11-4">An individual zone transfer is not considered protected by XoT unless both the client and server are configured to use onlyXoTXoT, and the overall zone transfer is not considered protected until all members of the transfer group are configured to use only XoT with all other transfers servers (see <xreftarget="implementation-considerations"></xref>).</t> <t>Atarget="implementation-considerations" format="default" sectionFormat="of" derivedContent="Section 12"/>).</t> <t indent="0" pn="section-11-5">A XoT policyMUST<bcp14>MUST</bcp14> specifyif</t> <ul> <li>mutualif:</t> <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-11-6"> <li pn="section-11-6.1">mutual TLS is used and/or</li><li>a IP<li pn="section-11-6.2">an IP-based ACL and TSIG/SIG(0) combination isused</li>used.</li> </ul><t>Since<t indent="0" pn="section-11-7">Since this may require configuration of a number of servers who may be under the control of differentoperatorsoperators, the desired consistency could be hard to enforce and audit in practice.</t><t>Certain<t indent="0" pn="section-11-8">Certain aspects of thePoliciespolicies can be relativelyeasily testedeasy to test independently, e.g., by requesting zone transfers without TSIG, from unauthorized IP addresses or over cleartext DNS. Otheraspectsaspects, such as if a secondary will accept data without a TSIG digest or if secondaries are using Strict as opposed to OpportunisticTLSTLS, are more challenging.</t><t>The<t indent="0" pn="section-11-9">The mechanics ofco-ordinatingcoordinating or enforcing such policies are out of the scope of this document but may be the subject of future operational guidance.</t> </section> <sectionanchor="implementation-considerations"><name>Implementationanchor="implementation-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-12"> <name slugifiedName="name-implementation-consideratio">Implementation Considerations</name><t>Server<t indent="0" pn="section-12-1">Server implementations may want to also offer options that allow ACLs on a zone to specify that a specific client can use either XoT or TCP. This would allow for flexibility while clients are migrating to XoT.</t><t>Client<t indent="0" pn="section-12-2">Client implementations may similarly want to offer options to caterforto the multi-primary case where the primaries are migrating to XoT.</t> </section> <sectionanchor="operational-considerations"><name>Operationalanchor="operational-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-13"> <name slugifiedName="name-operational-considerations">Operational Considerations</name><t>If<t indent="0" pn="section-13-1">If the options described in <xreftarget="implementation-considerations"></xref>target="implementation-considerations" format="default" sectionFormat="of" derivedContent="Section 12"/> are available, such configuration optionsMUST<bcp14>MUST</bcp14> only be used in a 'migrationmode',mode' and therefore should be used with great care.</t><t>It<t indent="0" pn="section-13-2">It is noted that use of a TLS proxy in front of the primary server is a simple deployment solution that can enableserver sideserver-side XoT.</t> </section> <sectionanchor="iana-considerations"><name>IANAanchor="iana-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-14"> <name slugifiedName="name-iana-considerations">IANA Considerations</name><t>None.</t> </section> <section anchor="implementation-status"><name>Implementation Status</name> <t>[THIS SECTION TO BE REMOVED BEFORE PUBLICATION] This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in <xref target="RFC7942"></xref>.</t> <t>A summary of current behavior and implementation status can be found here: <eref target="https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Implementation+Status#DNSPrivacyImplementationStatus-XFR/XoTImplementationstatus">XoT implementation status</eref></t> <t>Specific recent activity includes:</t> <ol> <li><t>The 1.9.2 version of <eref target="https://github.com/NLnetLabs/unbound/blob/release-1.9.2/doc/Changelog">Unbound</eref> includes an option to perform AXoT (instead of AXFR-over-TCP).</t> </li> <li><t>There are currently open pull requests against NSD to implement</t> <ol> <li>Connection re-use by default during <eref target="https://github.com/NLnetLabs/nsd/pull/145">XFR-over-TCP</eref></li> <li>Client side <eref target="https://github.com/NLnetLabs/nsd/pull/149">XoT</eref></li> </ol></li> <li><t>Version 9.17.7 of BIND contained an initial implementation of DoT, implementation of XoT is planned for early <eref target="https://gitlab.isc.org/isc-projects/bind9/-/issues/1784">2021</eref></t> </li> </ol> <t>Both items 1. and 2.2. listed above require the client (secondary) to authenticate the server (primary) using a configured authentication domain name if XoT is used.</t><t indent="0" pn="section-14-1">This document has no IANA actions.</t> </section> <sectionanchor="security-considerations"><name>Securityanchor="security-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-15"> <name slugifiedName="name-security-considerations">Security Considerations</name><t>This<t indent="0" pn="section-15-1">This document specifies a security measure against a DNS risk: the risk that an attacker collects entire DNS zones through eavesdropping onclear textcleartext DNS zone transfers.</t><t>This<t indent="0" pn="section-15-2">This does not mitigate:</t><ul> <li>the<ul bare="false" empty="false" indent="3" spacing="normal" pn="section-15-3"> <li pn="section-15-3.1">the risk that some level of zone activity might be inferred by observing zone transfer sizes and timing on encrypted connections (even with padding applied), in combination with obtaining SOA records by directly querying authoritativeservers.</li> <li>theservers,</li> <li pn="section-15-3.2">the risk that hidden primaries might be inferred or identified via observation of encryptedconnections.</li> <li>theconnections, or</li> <li pn="section-15-3.3">the risk of zone contents being obtained via zone enumeration techniques.</li> </ul><t>Security<t indent="0" pn="section-15-4">Security concerns of DoT are outlined in <xreftarget="RFC7858"></xref>target="RFC7858" format="default" sectionFormat="of" derivedContent="RFC7858"/> and <xreftarget="RFC8310"></xref>.</t>target="RFC8310" format="default" sectionFormat="of" derivedContent="RFC8310"/>.</t> </section><section anchor="acknowledgements"><name>Acknowledgements</name> <t>The authors thank Tony Finch, Benno Overeinder, Shumon Huque and Tim Wicinski</middle> <back> <displayreference target="I-D.ietf-dprive-dnsoquic" to="DPRIVE-DNSOQUIC"/> <displayreference target="I-D.ietf-tls-esni" to="TLS-ESNI"/> <displayreference target="I-D.vcelak-nsec5" to="NSEC5"/> <references pn="section-16"> <name slugifiedName="name-references"> References</name> <references pn="section-16.1"> <name slugifiedName="name-normative-references">Normative References</name> <reference anchor="DoT-ALPN" target="https://www.iana.org/assignments/tls-extensiontype-values/" quoteTitle="true" derivedAnchor="DoT-ALPN"> <front> <title>TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs</title> <author> <organization showOnFrontPage="true">IANA</organization> </author> </front> </reference> <reference anchor="RFC1034" target="https://www.rfc-editor.org/info/rfc1034" quoteTitle="true" derivedAnchor="RFC1034"> <front> <title>Domain names - concepts andmany other membersfacilities</title> <author initials="P.V." surname="Mockapetris" fullname="P.V. Mockapetris"> <organization showOnFrontPage="true"/> </author> <date year="1987" month="November"/> <abstract> <t indent="0">This RFC is the revised basic definition ofDPRIVE for review and discussions.</t> <t>The authors particularly thank Peter van Dijk, Ondrej Sury, Brian DicksonThe Domain Name System. It obsoletes RFC-882. This memo describes the domain style names andseveral other open source DNS implementerstheir used forvaluable discussionhost address look up andclarification onelectronic mail forwarding. It discusses theissue associated with pipelining XFR queriesclients andhandling out-of-order/intermingled responses.</t> </section> <section anchor="contributors"><name>Contributors</name> <t>Significant contributions toservers in thedocument were made by:</t> <t>Han Zhang <br /> Salesforce<br /> San Francisco, CA<br /> United States</t> <t>Email: hzhang@salesforce.com</t> </section> <section anchor="changelog"><name>Changelog</name> <t>[THIS SECTION TO BE REMOVED BEFORE PUBLICATION]</t> <t>draft-ietf-dprive-xfr-over-tls-12</t> <ul> <li>Changes from IESG review</li> <li>Add section 8.1 ondomain name system and therequirement to useprotocol used between them.</t> </abstract> </front> <seriesInfo name="STD" value="13"/> <seriesInfo name="RFC" value="1034"/> <seriesInfo name="DOI" value="10.17487/RFC1034"/> </reference> <reference anchor="RFC1035" target="https://www.rfc-editor.org/info/rfc1035" quoteTitle="true" derivedAnchor="RFC1035"> <front> <title>Domain names - implementation and specification</title> <author initials="P.V." surname="Mockapetris" fullname="P.V. Mockapetris"> <organization showOnFrontPage="true"/> </author> <date year="1987" month="November"/> <abstract> <t indent="0">This RFC is theDoT ALPN</li> <li><t>Modifyrevised specification of theoneprotocol and format used in the implementation of theoptions for validationDomain Name System. It obsoletes RFC-883. This memo documents the details ofathe domain name clientfrom just an IP ACL- server communication.</t> </abstract> </front> <seriesInfo name="STD" value="13"/> <seriesInfo name="RFC" value="1035"/> <seriesInfo name="DOI" value="10.17487/RFC1035"/> </reference> <reference anchor="RFC1995" target="https://www.rfc-editor.org/info/rfc1995" quoteTitle="true" derivedAnchor="RFC1995"> <front> <title>Incremental Zone Transfer in DNS</title> <author initials="M." surname="Ohta" fullname="M. Ohta"> <organization showOnFrontPage="true"/> </author> <date year="1996" month="August"/> <abstract> <t indent="0">This document proposes extensions to the DNS protocols to provide an incremental zone transfer (IXFR) mechanism. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="1995"/> <seriesInfo name="DOI" value="10.17487/RFC1995"/> </reference> <reference anchor="RFC1996" target="https://www.rfc-editor.org/info/rfc1996" quoteTitle="true" derivedAnchor="RFC1996"> <front> <title>A Mechanism for Prompt Notification of Zone Changes (DNS NOTIFY)</title> <author initials="P." surname="Vixie" fullname="P. Vixie"> <organization showOnFrontPage="true"/> </author> <date year="1996" month="August"/> <abstract> <t indent="0">This memo describes the NOTIFY opcode for DNS, by which acombinationmaster server advises a set ofIP ACL and TSIG/SIG(0)</t> <ul> <li>Update Abstractslave servers that the master's data has been changed andIntroduction with clear descriptions of how earlier specifications are updated</li> <li>Add reference on NSEC3 attacks</li> <li>Justifythat a query should be initiated to discover the new data. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="1996"/> <seriesInfo name="DOI" value="10.17487/RFC1996"/> </reference> <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119"> <front> <title>Key words for useof SHOULDinsections 7.3.2 and 7.3.3.</li> <li>ClarifyRFCs to Indicate Requirement Levels</title> <author initials="S." surname="Bradner" fullname="S. Bradner"> <organization showOnFrontPage="true"/> </author> <date year="1997" month="March"/> <abstract> <t indent="0">In many standards track documents several words are used to signify theAppendix is non-normative</li> <li>Numerous typos and editorial improvements.</li> <li>Use xml2rfc v3 (some format changes occur as a result)</li> </ul></li> </ul> <t>draft-ietf-dprive-xfr-over-tls-11</t> <ul> <li>Fix definition update missed in -10</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-10</t> <ul> <li>Address issued raised from IETF Last Call</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-09</t> <ul> <li>Address issued raisedrequirements in theAD review</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-08</t> <ul> <li>RFC2845 -> (obsoleted by) RFC8945</li> <li>I-D.ietf-dnsop-dns-zone-digest -> RFC8976</li> <li>Minor editorial changes + email update</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-07</t> <ul> <li>Reference RFC7942specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for theimplementation status section</li> <li>ConvertInternet Community, and requests discussion and suggestions for improvements.</t> </abstract> </front> <seriesInfo name="BCP" value="14"/> <seriesInfo name="RFC" value="2119"/> <seriesInfo name="DOI" value="10.17487/RFC2119"/> </reference> <reference anchor="RFC2931" target="https://www.rfc-editor.org/info/rfc2931" quoteTitle="true" derivedAnchor="RFC2931"> <front> <title>DNS Request and Transaction Signatures ( SIG(0)s )</title> <author initials="D." surname="Eastlake 3rd" fullname="D. Eastlake 3rd"> <organization showOnFrontPage="true"/> </author> <date year="2000" month="September"/> <abstract> <t indent="0">This document describes theURIs that will remain on publication to references</li> <li>Correct typosminor but non-interoperable changes inacknowledgments</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-06</t> <ul> <li>Update text relating to pipeliningRequest andconnection reuse after WGLC comments.</li> <li>Add link toTransaction signature resource records ( SIG(0)s ) that implementationstatus matrix</li> <li>Various typos</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-05</t> <ul> <li>Removeexperience has deemed necessary. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="2931"/> <seriesInfo name="DOI" value="10.17487/RFC2931"/> </reference> <reference anchor="RFC5936" target="https://www.rfc-editor.org/info/rfc5936" quoteTitle="true" derivedAnchor="RFC5936"> <front> <title>DNS Zone Transfer Protocol (AXFR)</title> <author initials="E." surname="Lewis" fullname="E. Lewis"> <organization showOnFrontPage="true"/> </author> <author initials="A." surname="Hoenes" fullname="A. Hoenes" role="editor"> <organization showOnFrontPage="true"/> </author> <date year="2010" month="June"/> <abstract> <t indent="0">The standard means within theopen questions that received no comments.</li> <li>Add more detail toDomain Name System protocol for maintaining coherence among a zone's authoritative name servers consists of three mechanisms. Authoritative Transfer (AXFR) is one of theimplementation section</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-04</t> <ul> <li>Add Github repository</li> <li>Fix typosmechanisms andreferencesis defined in RFC 1034 andimprove layout.</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-03</t> <ul> <li>Remove proposeRFC 1035.</t> <t indent="0">The definition of AXFR has proven insufficient in detail, thereby forcing implementations intended touse ALPN</li> <li>Clarify updatesbe compliant toboth RFC1995make assumptions, impeding interoperability. Yet today we have a satisfactory set of implementations that do interoperate. This document is a new definition of AXFR -- new in the sense that it records an accurate definition of an interoperable AXFR mechanism. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="5936"/> <seriesInfo name="DOI" value="10.17487/RFC5936"/> </reference> <reference anchor="RFC6973" target="https://www.rfc-editor.org/info/rfc6973" quoteTitle="true" derivedAnchor="RFC6973"> <front> <title>Privacy Considerations for Internet Protocols</title> <author initials="A." surname="Cooper" fullname="A. Cooper"> <organization showOnFrontPage="true"/> </author> <author initials="H." surname="Tschofenig" fullname="H. Tschofenig"> <organization showOnFrontPage="true"/> </author> <author initials="B." surname="Aboba" fullname="B. Aboba"> <organization showOnFrontPage="true"/> </author> <author initials="J." surname="Peterson" fullname="J. Peterson"> <organization showOnFrontPage="true"/> </author> <author initials="J." surname="Morris" fullname="J. Morris"> <organization showOnFrontPage="true"/> </author> <author initials="M." surname="Hansen" fullname="M. Hansen"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Smith" fullname="R. Smith"> <organization showOnFrontPage="true"/> </author> <date year="2013" month="July"/> <abstract> <t indent="0">This document offers guidance for developing privacy considerations for inclusion in protocol specifications. It aims to make designers, implementers, andRFC5936 by addingusers of Internet protocols aware of privacy-related design choices. It suggests that whether any individual RFC warrants a specificsectionsprivacy considerations section will depend on the document's content.</t> </abstract> </front> <seriesInfo name="RFC" value="6973"/> <seriesInfo name="DOI" value="10.17487/RFC6973"/> </reference> <reference anchor="RFC7766" target="https://www.rfc-editor.org/info/rfc7766" quoteTitle="true" derivedAnchor="RFC7766"> <front> <title>DNS Transport over TCP - Implementation Requirements</title> <author initials="J." surname="Dickinson" fullname="J. Dickinson"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Dickinson" fullname="S. Dickinson"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Bellis" fullname="R. Bellis"> <organization showOnFrontPage="true"/> </author> <author initials="A." surname="Mankin" fullname="A. Mankin"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Wessels" fullname="D. Wessels"> <organization showOnFrontPage="true"/> </author> <date year="2016" month="March"/> <abstract> <t indent="0">This document specifies the requirement for support of TCP as a transport protocol for DNS implementations and provides guidelines towards DNS-over-TCP performance on par with that of DNS-over-UDP. This document obsoletes RFC 5966 and therefore updates RFC 1035 and RFC 1123.</t> </abstract> </front> <seriesInfo name="RFC" value="7766"/> <seriesInfo name="DOI" value="10.17487/RFC7766"/> </reference> <reference anchor="RFC7828" target="https://www.rfc-editor.org/info/rfc7828" quoteTitle="true" derivedAnchor="RFC7828"> <front> <title>The edns-tcp-keepalive EDNS0 Option</title> <author initials="P." surname="Wouters" fullname="P. Wouters"> <organization showOnFrontPage="true"/> </author> <author initials="J." surname="Abley" fullname="J. Abley"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Dickinson" fullname="S. Dickinson"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Bellis" fullname="R. Bellis"> <organization showOnFrontPage="true"/> </author> <date year="2016" month="April"/> <abstract> <t indent="0">DNS messages between clients and servers may be received over either UDP or TCP. UDP transport involves keeping less state onthis</li> <li>Addasection onbusy server, but can cause truncation and retries over TCP. Additionally, UDP can be exploited for reflection attacks. Using TCP would reduce retransmits and amplification. However, clients commonly use TCP only for retries and servers typically use idle timeouts on the order of seconds.</t> <t indent="0">This document defines an EDNS0 option ("edns-tcp-keepalive") that allows DNS servers to signal a variable idle timeout. This signalling encourages the use of long-lived TCP connections by allowing the state associated with TCP transport to be managed effectively with minimal impact on the DNS transaction time.</t> </abstract> </front> <seriesInfo name="RFC" value="7828"/> <seriesInfo name="DOI" value="10.17487/RFC7828"/> </reference> <reference anchor="RFC7858" target="https://www.rfc-editor.org/info/rfc7858" quoteTitle="true" derivedAnchor="RFC7858"> <front> <title>Specification for DNS over Transport Layer Security (TLS)</title> <author initials="Z." surname="Hu" fullname="Z. Hu"> <organization showOnFrontPage="true"/> </author> <author initials="L." surname="Zhu" fullname="L. Zhu"> <organization showOnFrontPage="true"/> </author> <author initials="J." surname="Heidemann" fullname="J. Heidemann"> <organization showOnFrontPage="true"/> </author> <author initials="A." surname="Mankin" fullname="A. Mankin"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Wessels" fullname="D. Wessels"> <organization showOnFrontPage="true"/> </author> <author initials="P." surname="Hoffman" fullname="P. Hoffman"> <organization showOnFrontPage="true"/> </author> <date year="2016" month="May"/> <abstract> <t indent="0">This document describes the use of Transport Layer Security (TLS) to provide privacy for DNS. Encryption provided by TLS eliminates opportunities for eavesdropping and on-path tampering with DNS queries in the network, such as discussed in RFC 7626. In addition, this document specifies two usage profiles for DNS over TLS and provides advice on performance considerations to minimize overhead from using TCP and TLS with DNS.</t> <t indent="0">This document focuses on securing stub-to-recursive traffic, as per the charter of the DPRIVE Working Group. It does not prevent future applications of the protocol to recursive-to-authoritative traffic.</t> </abstract> </front> <seriesInfo name="RFC" value="7858"/> <seriesInfo name="DOI" value="10.17487/RFC7858"/> </reference> <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174"> <front> <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title> <author initials="B." surname="Leiba" fullname="B. Leiba"> <organization showOnFrontPage="true"/> </author> <date year="2017" month="May"/> <abstract> <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t> </abstract> </front> <seriesInfo name="BCP" value="14"/> <seriesInfo name="RFC" value="8174"/> <seriesInfo name="DOI" value="10.17487/RFC8174"/> </reference> <reference anchor="RFC8310" target="https://www.rfc-editor.org/info/rfc8310" quoteTitle="true" derivedAnchor="RFC8310"> <front> <title>Usage Profiles for DNS over TLS and DNS over DTLS</title> <author initials="S." surname="Dickinson" fullname="S. Dickinson"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Gillmor" fullname="D. Gillmor"> <organization showOnFrontPage="true"/> </author> <author initials="T." surname="Reddy" fullname="T. Reddy"> <organization showOnFrontPage="true"/> </author> <date year="2018" month="March"/> <abstract> <t indent="0">This document discusses usage profiles, based on one or more authentication mechanisms, which can be used for DNS over Transport Layer Security (TLS) or Datagram TLS (DTLS). These profiles can increase the privacy of DNS transactions compared to using only cleartext DNS. This document also specifies new authentication mechanisms -- it describes several ways that a DNS client can use an authentication domain name to authenticate a (D)TLS connection to a DNS server. Additionally, it defines (D)TLS protocol profiles for DNS clients and servers implementing DNS over (D)TLS. This document updates RFC 7858.</t> </abstract> </front> <seriesInfo name="RFC" value="8310"/> <seriesInfo name="DOI" value="10.17487/RFC8310"/> </reference> <reference anchor="RFC8446" target="https://www.rfc-editor.org/info/rfc8446" quoteTitle="true" derivedAnchor="RFC8446"> <front> <title>The Transport Layer Security (TLS) Protocol Version 1.3</title> <author initials="E." surname="Rescorla" fullname="E. Rescorla"> <organization showOnFrontPage="true"/> </author> <date year="2018" month="August"/> <abstract> <t indent="0">This document specifies version 1.3 of the Transport Layer Security (TLS) protocol. TLS allows client/server applications to communicate over the Internet in a way that is designed to prevent eavesdropping, tampering, and message forgery.</t> <t indent="0">This document updates RFCs 5705 and 6066, and obsoletes RFCs 5077, 5246, and 6961. This document also specifies new requirements for TLS 1.2 implementations.</t> </abstract> </front> <seriesInfo name="RFC" value="8446"/> <seriesInfo name="DOI" value="10.17487/RFC8446"/> </reference> <reference anchor="RFC8499" target="https://www.rfc-editor.org/info/rfc8499" quoteTitle="true" derivedAnchor="RFC8499"> <front> <title>DNS Terminology</title> <author initials="P." surname="Hoffman" fullname="P. Hoffman"> <organization showOnFrontPage="true"/> </author> <author initials="A." surname="Sullivan" fullname="A. Sullivan"> <organization showOnFrontPage="true"/> </author> <author initials="K." surname="Fujiwara" fullname="K. Fujiwara"> <organization showOnFrontPage="true"/> </author> <date year="2019" month="January"/> <abstract> <t indent="0">The Domain Name System (DNS) is defined in literally dozens of different RFCs. The terminology used by implementers and developers of DNS protocols, and by operators of DNS systems, has sometimes changed in the decades since the DNS was first defined. This document gives current definitions for many of the terms used in the DNS in a single document.</t> <t indent="0">This document obsoletes RFC 7719 and updates RFC 2308.</t> </abstract> </front> <seriesInfo name="BCP" value="219"/> <seriesInfo name="RFC" value="8499"/> <seriesInfo name="DOI" value="10.17487/RFC8499"/> </reference> <reference anchor="RFC8914" target="https://www.rfc-editor.org/info/rfc8914" quoteTitle="true" derivedAnchor="RFC8914"> <front> <title>Extended DNS Errors</title> <author initials="W." surname="Kumari" fullname="W. Kumari"> <organization showOnFrontPage="true"/> </author> <author initials="E." surname="Hunt" fullname="E. Hunt"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Arends" fullname="R. Arends"> <organization showOnFrontPage="true"/> </author> <author initials="W." surname="Hardaker" fullname="W. Hardaker"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Lawrence" fullname="D. Lawrence"> <organization showOnFrontPage="true"/> </author> <date year="2020" month="October"/> <abstract> <t indent="0">This document defines an extensible method to return additional information about the cause of DNS errors. Though created primarily to extend SERVFAIL to provide additional information about the cause of DNS and DNSSEC failures, the Extended DNS Errors option defined in this document allows all response types to contain extended error information. Extended DNS Error information does not change the processing of RCODEs.</t> </abstract> </front> <seriesInfo name="RFC" value="8914"/> <seriesInfo name="DOI" value="10.17487/RFC8914"/> </reference> <reference anchor="RFC8945" target="https://www.rfc-editor.org/info/rfc8945" quoteTitle="true" derivedAnchor="RFC8945"> <front> <title>Secret Key Transaction Authentication for DNS (TSIG)</title> <author initials="F." surname="Dupont" fullname="F. Dupont"> <organization showOnFrontPage="true"/> </author> <author initials="S." surname="Morris" fullname="S. Morris"> <organization showOnFrontPage="true"/> </author> <author initials="P." surname="Vixie" fullname="P. Vixie"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Eastlake 3rd" fullname="D. Eastlake 3rd"> <organization showOnFrontPage="true"/> </author> <author initials="O." surname="Gudmundsson" fullname="O. Gudmundsson"> <organization showOnFrontPage="true"/> </author> <author initials="B." surname="Wellington" fullname="B. Wellington"> <organization showOnFrontPage="true"/> </author> <date year="2020" month="November"/> <abstract> <t indent="0">This document describes a protocol for transaction-level authentication using shared secrets and one-way hashing. It can be used to authenticate dynamic updates to a DNS zone as coming from an approved client or to authenticate responses as coming from an approved name server.</t> <t indent="0">No recommendation is made here for distributing the shared secrets; it is expected that a network administrator will statically configure name servers and clients using some out-of-band mechanism.</t> <t indent="0">This document obsoletes RFCs 2845 and 4635.</t> </abstract> </front> <seriesInfo name="STD" value="93"/> <seriesInfo name="RFC" value="8945"/> <seriesInfo name="DOI" value="10.17487/RFC8945"/> </reference> </references> <references pn="section-16.2"> <name slugifiedName="name-informative-references">Informative References</name> <reference anchor="BIND" target="https://www.isc.org/bind/" quoteTitle="true" derivedAnchor="BIND"> <front> <title>BIND 9.16.16</title> <author> <organization showOnFrontPage="true">ISC</organization> </author> </front> </reference> <reference anchor="I-D.ietf-dprive-dnsoquic" quoteTitle="true" target="https://datatracker.ietf.org/doc/html/draft-ietf-dprive-dnsoquic-03" derivedAnchor="DPRIVE-DNSOQUIC"> <front> <title>Specification of DNS over Dedicated QUIC Connections</title> <author initials="C." surname="Huitema" fullname="Christian Huitema"> <organization showOnFrontPage="true">Private Octopus Inc.</organization> </author> <author initials="S." surname="Dickinson" fullname="Sara Dickinson"> <organization showOnFrontPage="true">Sinodun IT</organization> </author> <author initials="A." surname="Mankin" fullname="Allison Mankin"> <organization showOnFrontPage="true">Salesforce</organization> </author> <date month="July" day="12" year="2021"/> <abstract> <t indent="0"> This document describes the use of QUIC to provide transport privacy for DNS. The encryption provided by QUIC has similar properties to that provided by TLS, while QUIC transport eliminates the head-of- line blocking issues inherent with TCP and provides more efficient error corrections than UDP. DNS over QUIC (DoQ) has privacy properties similar to DNS over TLS (DoT) specified in RFC7858, and latency characteristics similar to classic DNS over UDP. </t> </abstract> </front> <seriesInfo name="Internet-Draft" value="draft-ietf-dprive-dnsoquic-03"/> <format type="TXT" target="https://www.ietf.org/archive/id/draft-ietf-dprive-dnsoquic-03.txt"/> <refcontent>Work in Progress</refcontent> </reference> <reference anchor="NIST-GUIDE" target="https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-81-2.pdf" quoteTitle="true" derivedAnchor="NIST-GUIDE"> <front> <title>Secure Domain Name System (DNS) Deployment Guide</title> <author fullname="Ramaswamy Chandramouli" initials="R." surname="Chandramouli"> <organization showOnFrontPage="true">NIST</organization> </author> <author fullname="Scott Rose" initials="S." surname="Rose"> <organization showOnFrontPage="true">NIST</organization> </author> <date month="September" year="2013"/> </front> </reference> <reference anchor="NSD" target="https://www.nlnetlabs.nl/projects/nsd/about/" quoteTitle="true" derivedAnchor="NSD"> <front> <title>NSD 4.3.6</title> <author> <organization showOnFrontPage="true">NLnet Labs</organization> </author> </front> </reference> <reference anchor="NSEC3-attacks" target="https://www.cs.bu.edu/~goldbe/papers/nsec3attacks.pdf" quoteTitle="true" derivedAnchor="NSEC3-attacks"> <front> <title>Stretching NSEC3 to the Limit: Efficient Zone Enumeration Attacks on NSEC3 Variants</title> <author fullname="Sharon Goldberg" initials="S." surname="Goldberg"> <organization showOnFrontPage="true">Boston University, Department of Computer Science</organization> </author> <author fullname="Moni Naor" initials="N." surname="Naor"> <organization showOnFrontPage="true">Weizmann Institute of Science, Department of Computer Science and Applied Mathematics</organization> </author> <author fullname="Dimitrios Papadopoulos" initials="D." surname="Papadopoulos"> <organization showOnFrontPage="true">Boston University, Department of Computer Science</organization> </author> <author fullname="Leonid Reyzin" initials="L." surname="Reyzin"> <organization showOnFrontPage="true">Boston University, Department of Computer Science</organization> </author> <author fullname="Sachin Vasant" initials="S." surname="Vasant"> <organization showOnFrontPage="true">Boston University, Department of Computer Science</organization> </author> <author fullname="Asaf Ziv" initials="A." surname="Ziv"> <organization showOnFrontPage="true">Weizmann Institute of Science, Department of Computer Science and Applied Mathematics</organization> </author> <date month="February" year="2015"/> </front> </reference> <reference anchor="I-D.vcelak-nsec5" quoteTitle="true" target="https://datatracker.ietf.org/doc/html/draft-vcelak-nsec5-08" derivedAnchor="NSEC5"> <front> <title>NSEC5, DNSSEC Authenticated Denial of Existence</title> <author initials="J." surname="Vcelak" fullname="Jan Vcelak"> <organization showOnFrontPage="true">CZ.NIC</organization> </author> <author initials="S." surname="Goldberg" fullname="Sharon Goldberg"> <organization showOnFrontPage="true">Boston University</organization> </author> <author initials="D." surname="Papadopoulos" fullname="Dimitrios Papadopoulos"> <organization showOnFrontPage="true">HKUST</organization> </author> <author initials="S." surname="Huque" fullname="Shumon Huque"> <organization showOnFrontPage="true">Salesforce</organization> </author> <author initials="D." surname="Lawrence" fullname="David C Lawrence"> <organization showOnFrontPage="true">Dyn</organization> </author> <date month="December" day="29" year="2018"/> </front> <seriesInfo name="Internet-Draft" value="draft-vcelak-nsec5-08"/> <refcontent>Work in Progress</refcontent> </reference> <reference anchor="RFC1982" target="https://www.rfc-editor.org/info/rfc1982" quoteTitle="true" derivedAnchor="RFC1982"> <front> <title>Serial Number Arithmetic</title> <author initials="R." surname="Elz" fullname="R. Elz"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Bush" fullname="R. Bush"> <organization showOnFrontPage="true"/> </author> <date year="1996" month="August"/> <abstract> <t indent="0">The DNS has long relied upon serial number arithmetic, a concept which has never really been defined, certainly not in an IETF document, though which has been widely understood. This memo supplies thethreat model</li> <li>Convert all SVG diagramsmissing definition. It is intended toASCII art</li> <li>Add discussions on concurrency limits</li> <li>Add discussions on Extended DNS error codes</li> <li>Re-work authentication requirements and discussion</li> <li>Add appendix discussion TLS connection management</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-02</t> <ul> <li>Significantlyupdatedescriptions for both AXoTRFC1034 andIXoTRFC1035. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="1982"/> <seriesInfo name="DOI" value="10.17487/RFC1982"/> </reference> <reference anchor="RFC5155" target="https://www.rfc-editor.org/info/rfc5155" quoteTitle="true" derivedAnchor="RFC5155"> <front> <title>DNS Security (DNSSEC) Hashed Authenticated Denial of Existence</title> <author initials="B." surname="Laurie" fullname="B. Laurie"> <organization showOnFrontPage="true"/> </author> <author initials="G." surname="Sisson" fullname="G. Sisson"> <organization showOnFrontPage="true"/> </author> <author initials="R." surname="Arends" fullname="R. Arends"> <organization showOnFrontPage="true"/> </author> <author initials="D." surname="Blacka" fullname="D. Blacka"> <organization showOnFrontPage="true"/> </author> <date year="2008" month="March"/> <abstract> <t indent="0">The Domain Name System Security (DNSSEC) Extensions introduced the NSEC resource record (RR) formessage and connection handling taking into account previous specifications in more detail</li> <li>Add useauthenticated denial of existence. This document introduces an alternative resource record, NSEC3, which similarly provides authenticated denial ofAPLNexistence. However, it also provides measures against zone enumeration andlimitations on traffic on XoT connections.</li> <li>Add new discussionspermits gradual expansion ofpaddingdelegation-centric zones. [STANDARDS-TRACK]</t> </abstract> </front> <seriesInfo name="RFC" value="5155"/> <seriesInfo name="DOI" value="10.17487/RFC5155"/> </reference> <reference anchor="RFC6891" target="https://www.rfc-editor.org/info/rfc6891" quoteTitle="true" derivedAnchor="RFC6891"> <front> <title>Extension Mechanisms forboth AXoTDNS (EDNS(0))</title> <author initials="J." surname="Damas" fullname="J. Damas"> <organization showOnFrontPage="true"/> </author> <author initials="M." surname="Graff" fullname="M. Graff"> <organization showOnFrontPage="true"/> </author> <author initials="P." surname="Vixie" fullname="P. Vixie"> <organization showOnFrontPage="true"/> </author> <date year="2013" month="April"/> <abstract> <t indent="0">The Domain Name System's wire protocol includes a number of fixed fields whose range has been or soon will be exhausted andIXoT</li> <li>Add text on SIG(0)</li> <li>Update security considerations</li> <li>Move multi-primary considerationsdoes not allow requestors toearlier as they are relatedadvertise their capabilities toconnection handling</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-01</t> <ul> <li>Minor editorial updates</li> <li>Add requirementresponders. This document describes backward-compatible mechanisms forTLS 1.3. or later</li> </ul> <t>draft-ietf-dprive-xfr-over-tls-00</t> <ul> <li>Rename after adoptionallowing the protocol to grow.</t> <t indent="0">This document updates the Extension Mechanisms for DNS (EDNS(0)) specification (and obsoletes RFC 2671) based on feedback from deployment experience in several implementations. It also obsoletes RFC 2673 ("Binary Labels in the Domain Name System") andreference update.</li> <li>Add placeholder for SIG(0) discussion</li> <li>Update sectionadds considerations onZONEMD</li> </ul> <t>draft-hzpa-dprive-xfr-over-tls-02</t> <ul> <li>Substantial re-workthe use of extended labels in thedocument.</li> </ul> <t>draft-hzpa-dprive-xfr-over-tls-01</t> <ul> <li>Editorial changes, updates to references.</li> </ul> <t>draft-hzpa-dprive-xfr-over-tls-00</t> <ul> <li>Initial commit</li> </ul> <t>[-@?I-D.ietf-tls-esni]</t> </section> </middle> <back> <references><name>Normative References</name> <reference anchor="DoT-ALPN" target="https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids"> <front> <title>TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs</title> <author> <organization>IANA</organization> </author> <date year="2021"></date>DNS.</t> </abstract> </front> <seriesInfo name="STD" value="75"/> <seriesInfo name="RFC" value="6891"/> <seriesInfo name="DOI" value="10.17487/RFC6891"/> </reference><xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1034.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1035.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1995.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1996.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2931.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5936.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6973.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7766.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7828.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7858.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8310.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8446.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8499.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8914.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8945.xml"/> </references> <references><name>Informative References</name><referenceanchor="BIND" target="https://www.isc.org/bind/">anchor="RFC8484" target="https://www.rfc-editor.org/info/rfc8484" quoteTitle="true" derivedAnchor="RFC8484"> <front><title>BIND 9.16.16</title> <author> <organization>ISC</organization><title>DNS Queries over HTTPS (DoH)</title> <author initials="P." surname="Hoffman" fullname="P. Hoffman"> <organization showOnFrontPage="true"/> </author><date year="2021"></date> </front> </reference> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.ietf-dprive-dnsoquic.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.ietf-dprive-phase2-requirements.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.ietf-dprive-rfc7626-bis.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.ietf-tls-esni.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml-ids/reference.I-D.vcelak-nsec5.xml"/> <reference anchor="NSD" target="https://www.nlnetlabs.nl/projects/nsd/about/"> <front> <title>NSD 4.3.6</title> <author> <organization>NLnet Labs</organization><author initials="P." surname="McManus" fullname="P. McManus"> <organization showOnFrontPage="true"/> </author> <dateyear="2021"></date>year="2018" month="October"/> <abstract> <t indent="0">This document defines a protocol for sending DNS queries and getting DNS responses over HTTPS. Each DNS query-response pair is mapped into an HTTP exchange.</t> </abstract> </front> <seriesInfo name="RFC" value="8484"/> <seriesInfo name="DOI" value="10.17487/RFC8484"/> </reference> <referenceanchor="NSEC3-attacks" target="https://www.cs.bu.edu/~goldbe/papers/nsec3attacks.pdf">anchor="RFC8976" target="https://www.rfc-editor.org/info/rfc8976" quoteTitle="true" derivedAnchor="RFC8976"> <front><title>Stretching NSEC3 to the Limit:
Efficient Zone Enumeration Attacks on NSEC3 Variants</title><title>Message Digest for DNS Zones</title> <authorfullname="Sharon Goldberg" initials="S." surname="Goldberg"> <organization> Boston University, Department of Computer Science</organization>initials="D." surname="Wessels" fullname="D. Wessels"> <organization showOnFrontPage="true"/> </author> <authorfullname="Moni Naor" initials="N." surname="Naor"> <organization>Weizmann Institute of Science, Department of Computer Science and Applied Mathematics</organization>initials="P." surname="Barber" fullname="P. Barber"> <organization showOnFrontPage="true"/> </author> <authorfullname="Dimitrios Papadopoulos" initials="D." surname="Papadopoulos"> <organization> Boston University, Department of Computer Science</organization>initials="M." surname="Weinberg" fullname="M. Weinberg"> <organization showOnFrontPage="true"/> </author> <authorfullname="Leonid Reyzin" initials="L." surname="Reyzin"> <organization> Boston University, Department of Computer Science</organization>initials="W." surname="Kumari" fullname="W. Kumari"> <organization showOnFrontPage="true"/> </author> <authorfullname="Sachin Vasant" initials="S." surname="Vasant"> <organization> Boston University, Department of Computer Science</organization>initials="W." surname="Hardaker" fullname="W. Hardaker"> <organization showOnFrontPage="true"/> </author><author fullname="Asaf Ziv" initials="A." surname="Ziv"> <organization>Weizmann Institute of Science, Department<date year="2021" month="February"/> <abstract> <t indent="0">This document describes a protocol and new DNS Resource Record that provides a cryptographic message digest over DNS zone data at rest. The ZONEMD Resource Record conveys the digest data in the zone itself. When used in combination with DNSSEC, ZONEMD allows recipients to verify the zone contents for data integrity and origin authenticity. This provides assurance that received zone data matches published data, regardless ofComputer Sciencehow the zone data has been transmitted andApplied Mathematics</organization>received. When used without DNSSEC, ZONEMD functions as a checksum, guarding only against unintentional changes. </t> <t indent="0">ZONEMD does not replace DNSSEC: DNSSEC protects individual RRsets (DNS data with fine granularity), whereas ZONEMD protects a zone's data as a whole, whether consumed by authoritative name servers, recursive name servers, or any other applications. </t> <t indent="0">As specified herein, ZONEMD is impractical for large, dynamic zones due to the time and resources required for digest calculation. However, the ZONEMD record is extensible so that new digest schemes may be added in the future to support large, dynamic zones.</t> </abstract> </front> <seriesInfo name="RFC" value="8976"/> <seriesInfo name="DOI" value="10.17487/RFC8976"/> </reference> <reference anchor="RFC9076" target="https://www.rfc-editor.org/info/rfc9076" quoteTitle="true" derivedAnchor="RFC9076"> <front> <title>DNS Privacy Considerations</title> <author initials="T." surname="Wicinski" fullname="T. Wicinski" role="editor"> <organization showOnFrontPage="true"/> </author> <dateyear="2015"></date>year="2021" month="July"/> <abstract> <t indent="0">This document describes the privacy issues associated with the use of the DNS by Internet users. It provides general observations about typical current privacy practices. It is intended to be an analysis of the present situation and does not prescribe solutions. This document obsoletes RFC 7626.</t> </abstract> </front> <seriesInfo name="RFC" value="9076"/> <seriesInfo name="DOI" value="10.17487/RFC9076"/> </reference><xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.1982.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5155.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.6891.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7942.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8484.xml"/> <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8976.xml"/><referenceanchor="nist-guide" target="https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-81-2.pdf">anchor="I-D.ietf-tls-esni" quoteTitle="true" target="https://datatracker.ietf.org/doc/html/draft-ietf-tls-esni-13" derivedAnchor="TLS-ESNI"> <front><title>Secure Domain Name System (DNS) Deployment Guide</title><title>TLS Encrypted Client Hello</title> <authorfullname="Ramaswamy Chandramouli" initials="R." surname="Chandramouli"> <organization>NIST</organization>initials="E." surname="Rescorla" fullname="Eric Rescorla"> <organization showOnFrontPage="true">RTFM, Inc.</organization> </author> <authorfullname="Scott Rose" initials="S." surname="Rose"> <organization>NIST</organization>initials="K." surname="Oku" fullname="Kazuho Oku"> <organization showOnFrontPage="true">Fastly</organization> </author> <author initials="N." surname="Sullivan" fullname="Nick Sullivan"> <organization showOnFrontPage="true">Cloudflare</organization> </author> <author initials="C. A." surname="Wood" fullname="Christopher A. Wood"> <organization showOnFrontPage="true">Cloudflare</organization> </author> <dateyear="2013"></date>month="August" day="12" year="2021"/> <abstract> <t indent="0"> This document describes a mechanism in Transport Layer Security (TLS) for encrypting a ClientHello message under a server public key. Discussion Venues This note is to be removed before publishing as an RFC. Source for this draft and an issue tracker can be found at https://github.com/tlswg/draft-ietf-tls-esni (https://github.com/tlswg/draft-ietf-tls-esni). </t> </abstract> </front> <seriesInfo name="Internet-Draft" value="draft-ietf-tls-esni-13"/> <format type="TXT" target="https://www.ietf.org/archive/id/draft-ietf-tls-esni-13.txt"/> <refcontent>Work in Progress</refcontent> </reference> </references> </references> <sectionanchor="xot-server-connection-handling"><name>XoT server connection handling</name> <t>Thisanchor="xot-server-connection-handling" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a"> <name slugifiedName="name-xot-server-connection-handl">XoT Server Connection Handling</name> <t indent="0" pn="section-appendix.a-1">This appendix provides a non-normative outline of the pros and cons of XoT serverconnection handlingconnection-handling options.</t><t>For<t indent="0" pn="section-appendix.a-2">For completeness, it is noted that an earlier draft version ofthe specificationthis document suggested using aXoT specificXoT-specific ALPN to negotiate TLS connections that supported only a limited set of queries (SOA,XRFs),XFRs); however, this did not gain support. Reasons given included additional code complexity and the fact that XoT and ADoT are both DNS wire format and so should share the <tt>dot</tt> ALPN.</t> <sectionanchor="only-listen-on-tls-on-a-specific-ip-address"><name>Only listen on TLSanchor="only-listen-on-tls-on-a-specific-ip-address" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1"> <name slugifiedName="name-listening-only-on-a-specifi">Listening Only on aspecificSpecific IPaddress</name> <t>ObviouslyAddress for TLS</name> <t indent="0" pn="section-appendix.a.1-1">Obviously, anameserver whichname server that hosts a zone and services queries for the zone on an IP address published in an NS record may wish to use a separate IP address forlistening on TLSXoT to listen forXoT,TLS, only publishing that address to its secondaries.</t><t>Pros: Probing<dl newline="false" spacing="normal" indent="3" pn="section-appendix.a.1-2"> <dt pn="section-appendix.a.1-2.1">Pros:</dt> <dd pn="section-appendix.a.1-2.2">Probing of the public IP address will show no support for TLS. ACLs will prevent zone transfer on all transports on aper query basis.</t> <t>Cons: Attackersper-query basis.</dd> <dt pn="section-appendix.a.1-2.3">Cons:</dt> <dd pn="section-appendix.a.1-2.4">Attackers passively observing traffic will still be able to observe TLS connections to the separateaddress.</t>address.</dd> </dl> </section> <sectionanchor="client-specific-tls-acceptance"><name>Client specific TLS acceptance</name> <t>Primariesanchor="client-specific-tls-acceptance" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2"> <name slugifiedName="name-client-specific-tls-accepta">Client-Specific TLS Acceptance</name> <t indent="0" pn="section-appendix.a.2-1">Primaries that includeIP basedIP-based ACLs and/or mutual TLS in their authentication models have the option of only accepting TLS connections from authorized clients. This could be implemented either using a proxy or directly in the DNS implementation.</t><t>Pros: Connection<dl newline="false" spacing="normal" indent="3" pn="section-appendix.a.2-2"> <dt pn="section-appendix.a.2-2.1">Pros:</dt> <dd pn="section-appendix.a.2-2.2">Connection management happens at setup time. The maximum number of TLS connections a server will have to support can be easily assessed. Once the connection isacceptedaccepted, the server might well be willing to answer any query on that connection since it is coming from a configuredsecondarysecondary, and a specific response policy on the connection may not be needed (seebelow).</t> <t>Cons: Currently,below).</dd> <dt pn="section-appendix.a.2-2.3">Cons:</dt> <dd pn="section-appendix.a.2-2.4">Currently, none of the majoropen sourceopen-source implementations of a DNS authoritativeimplementationsserver support such anoption.</t>option.</dd> </dl> </section> <sectionanchor="sni-based-tls-acceptance"><name>SNI based TLS acceptance</name> <t>Primariesanchor="sni-based-tls-acceptance" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.3"> <name slugifiedName="name-sni-based-tls-acceptance">SNI-Based TLS Acceptance</name> <t indent="0" pn="section-appendix.a.3-1">Primaries could also choose to only accept TLS connections based onan SNIa Server Name Indication (SNI) that was published only to their secondaries.</t><t>Pros: Reduces<dl newline="false" spacing="normal" indent="3" pn="section-appendix.a.3-2"> <dt pn="section-appendix.a.3-2.1">Pros:</dt> <dd pn="section-appendix.a.3-2.2">Reduces the number of acceptedconnections.</t> <t>Cons: Asconnections.</dd> <dt pn="section-appendix.a.3-2.3">Cons:</dt> <dd pn="section-appendix.a.3-2.4">As above. Also, this is not a recommended use of SNI. For SNIs sent in the clear, this would still allow attackers passively observing traffic to potentially abuse this mechanism. The use of Encrypted Client Hello <xreftarget="I-D.ietf-tls-esni"></xref>target="I-D.ietf-tls-esni" format="default" sectionFormat="of" derivedContent="TLS-ESNI"/> may be of usehere.</t>here.</dd> </dl> </section> <sectionanchor="transport-specific-response-policies"><name>Transport specific response policies</name> <t>Someanchor="transport-specific-response-policies" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.4"> <name slugifiedName="name-transport-specific-response">Transport-Specific Response Policies</name> <t indent="0" pn="section-appendix.a.4-1">Some primaries might rely on TSIG/SIG(0) combined withper-query IP basedper-query, IP-based ACLs to authenticate secondaries. In thiscasecase, the primary must accept all incoming TLS/TCP connections and then apply a transport-specific response policy on aper queryper-query basis.</t><t>As<t indent="0" pn="section-appendix.a.4-2">As an aside, whilst <xreftarget="RFC7766"></xref>target="RFC7766" format="default" sectionFormat="of" derivedContent="RFC7766"/> makes a general purpose distinction in the advice to clients about their usage of connections (between regular queries and zonetransfers)transfers), this is notstrictstrict, and nothing in the DNS protocol prevents using the same connection for both types of traffic.HenceHence, a server cannot know the intention of any client that connects toit,it; it can only inspect the messages it receives on such a connection and make per-query decisions about whether or not to answer those queries.</t><t>Example<t indent="0" pn="section-appendix.a.4-3">Example policies a XoT server might implement are:</t><ul> <li>strict: REFUSE<dl newline="false" spacing="normal" indent="12" pn="section-appendix.a.4-4"> <dt pn="section-appendix.a.4-4.1">strict:</dt> <dd pn="section-appendix.a.4-4.2">REFUSE all queries on TLSconnectionsconnections, except SOA and authorized XFRrequests</li> <li>moderate: REFUSErequests</dd> <dt pn="section-appendix.a.4-4.3">moderate:</dt> <dd pn="section-appendix.a.4-4.4">REFUSE all queries on TLS connections until one is received that is signed by a recognized TSIG/SIG(0) key, then answer all queries on the connection afterthat</li> <li>complex: applythat</dd> <dt pn="section-appendix.a.4-4.5">complex:</dt> <dd pn="section-appendix.a.4-4.6">apply a heuristic to determine which queries on a TLS connections toREFUSE</li> <li>relaxed: answerREFUSE</dd> <dt pn="section-appendix.a.4-4.7">relaxed:</dt> <dd pn="section-appendix.a.4-4.8">answer all non-XoT queries on all TLS connections with the same policy applied to TCPqueries</li> </ul> <t>Pros: Allowsqueries</dd> </dl> <dl newline="false" spacing="normal" indent="3" pn="section-appendix.a.4-5"> <dt pn="section-appendix.a.4-5.1">Pros:</dt> <dd pn="section-appendix.a.4-5.2">Allows for flexible behavior by the server that could be changed overtime.</t> <t>Cons: Thetime.</dd> <dt pn="section-appendix.a.4-5.3">Cons:</dt> <dd pn="section-appendix.a.4-5.4">The server must handle the burden of accepting all TLS connections just to perform XFRs with a small number of secondaries. Client behavior to a REFUSED response is not clearly defined (see <xreftarget="response-rcodes"></xref>).target="response-rcodes" format="default" sectionFormat="of" derivedContent="Section 7.8"/>). Currently, none of the majoropen sourceopen-source implementations of a DNS authoritativeimplementationsserver offer an option for different response policies in different transports (but such functionality could potentially be implemented using aproxy).</t>proxy).</dd> </dl> <sectionanchor="sni-based-response-policies"><name>SNI based response policies</name> <t>Inanchor="sni-based-response-policies" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.4.1"> <name slugifiedName="name-sni-based-response-policies">SNI-Based Response Policies</name> <t indent="0" pn="section-appendix.a.4.1-1">In a similar fashion, XoT servers might use the presence of an SNI in theclient helloClient Hello to determine which response policy to initially apply to the TLS connections.</t><t>Pros: This<dl newline="false" spacing="normal" indent="3" pn="section-appendix.a.4.1-2"> <dt pn="section-appendix.a.4.1-2.1">Pros:</dt> <dd pn="section-appendix.a.4.1-2.2">This hastothe potential to allow a clean distinction between a XoT service and any futureDoT basedDoT-based service for answering recursivequeries.</t> <t>Cons: As above.</t>queries.</dd> <dt pn="section-appendix.a.4.1-2.3">Cons:</dt> <dd pn="section-appendix.a.4.1-2.4">As above.</dd> </dl> </section> </section> </section> <section anchor="acknowledgements" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b"> <name slugifiedName="name-acknowledgements">Acknowledgements</name> <t indent="0" pn="section-appendix.b-1">The authors thank <contact fullname="Tony Finch"/>, <contact fullname="Benno Overeinder"/>, <contact fullname="Shumon Huque"/>, <contact fullname="Tim Wicinski"/>, and many other members of DPRIVE for review and discussions.</t> <t indent="0" pn="section-appendix.b-2">The authors particularly thank <contact fullname="Peter van Dijk"/>, <contact fullname="Ondrej Sury"/>, <contact fullname="Brian Dickson"/>, and several other open-source DNS implementers for valuable discussion and clarification on the issue associated with pipelining XFR queries and handling out-of-order/intermingled responses.</t> </section> <section anchor="contributors" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c"> <name slugifiedName="name-contributors">Contributors</name> <t indent="0" pn="section-appendix.c-1">Significant contributions to the document were made by:</t> <contact fullname="Han Zhang"> <organization showOnFrontPage="true">Salesforce</organization> <address> <postal> <street/> <city>San Francisco</city> <region>CA</region> <country>United States of America</country> </postal> <email>hzhang@salesforce.com</email> </address> </contact> </section> <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d"> <name slugifiedName="name-authors-addresses">Authors' Addresses</name> <author initials="W." surname="Toorop" fullname="Willem Toorop"> <organization showOnFrontPage="true">NLnet Labs</organization> <address> <postal> <street>Science Park 400</street> <city>Amsterdam</city> <code>1098 XH</code> <country>Netherlands</country> </postal> <email>willem@nlnetlabs.nl</email> </address> </author> <author initials="S." surname="Dickinson" fullname="Sara Dickinson"> <organization showOnFrontPage="true">Sinodun IT</organization> <address> <postal> <extaddr>Magdalen Centre</extaddr> <street>Oxford Science Park</street> <city>Oxford</city> <code>OX4 4GA</code> <country>United Kingdom</country> </postal> <email>sara@sinodun.com</email> </address> </author> <author initials="S." surname="Sahib" fullname="Shivan Sahib"> <organization showOnFrontPage="true">Brave Software</organization> <address> <postal> <city>Vancouver</city> <region>BC</region> <country>Canada</country> </postal> <email>shivankaulsahib@gmail.com</email> </address> </author> <author initials="P." surname="Aras" fullname="Pallavi Aras"> <organization showOnFrontPage="true">Salesforce</organization> <address> <postal> <city>Herndon</city> <region>VA</region> <country>United States of America</country> </postal> <email>paras@salesforce.com</email> </address> </author> <author initials="A." surname="Mankin" fullname="Allison Mankin"> <organization showOnFrontPage="true">Salesforce</organization> <address> <postal> <city>Herndon</city> <region>VA</region> <country>United States of America</country> </postal> <email>allison.mankin@gmail.com</email> </address> </author> </section> </back> </rfc>