<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.5.21 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-pp-additional-contents-01" category="info" consensus="true">
  <front>
    <title abbrev="Additional; Glue">The Additional Section and Glue in DNS Responses</title>

    <author initials="P." surname="Hoffman" fullname="Paul Hoffman">
      <organization>ICANN</organization>
      <address>
        <email>paul.hoffman@icann.org</email>
      </address>
    </author>
    <author initials="P." surname="van Dijk" fullname="Peter van Dijk">
      <organization>PowerDNS</organization>
      <address>
        <email>peter.van.dijk@powerdns.com</email>
      </address>
    </author>

    <date year="2021" month="December" day="13"/>

    
    
    <keyword>Internet-Draft</keyword>

    <abstract>


<t>Implementers have recently expressed different views on what can appear in the Additional section
in DNS responses.
Proposals for adding functionality to the DNS protocol that rely on non-glue records in
the Additional section rely on having a common understanding of the semantics of
the Additional section.</t>

<t>This document restates what has been said in other DNS standards, and does not update any of them.</t>



    </abstract>



  </front>

  <middle>


<section anchor="introduction" title="Introduction">

<t>RFC 1034 <xref target="DNS-CONCEPTS"/>, RFC 1035 <xref target="DNS-BASE"/>, and RFC 2181 <xref target="DNS-CLARIFICATIONS"/>
are the basis for understanding the DNS protocol and message format.
One important part of the message format is what record types can appear in each section of DNS responses,
and the semantics of the presence or absence of those record types in each section.
This document focuses on the contents of the Additional section in DNS responses.</t>

<t>This document explicitly does not update <xref target="DNS-CONCEPTS"/>, <xref target="DNS-BASE"/>, <xref target="DNS-CLARIFICATIONS"/>, or any other document.</t>

</section>
<section anchor="purpose-of-the-additional-section" title="Purpose of the Additional Section">

<t>When describing what each section holds, Section 3.7 of <xref target="DNS-CONCEPTS"/> says:</t>

<t><list style='empty'>
  <t>Additional – Carries RRs which may be helpful in using the RRs in the other sections.</t>
</list></t>

<t>When describing the algorithm for putting together a DNS response, Section 4.3.2 of <xref target="DNS-CONCEPTS"/> says:</t>

<t><list style='empty'>
  <t>6. Using local data only, attempt to add other RRs which may be useful to the additional section of the query.</t>
</list></t>

<t>When describing what each section holds, Section 4.1 of <xref target="DNS-BASE"/> says:</t>

<t><list style='empty'>
  <t>Additional – RRs holding additional information</t>
</list></t>

<t>and that it:</t>

<t><list style='empty'>
  <t>contains RRs which relate to the query, but are not strictly answers for the question.</t>
</list></t>

</section>
<section anchor="glue" title="Glue">

<t>Section 4.2.1 of <xref target="DNS-CONCEPTS"/> says:</t>

<t><list style='empty'>
  <t>Data that allows access to name servers for subzones (sometimes called “glue” data).</t>
</list></t>

<t>and</t>

<t><list style='empty'>
  <t>To fix this problem, a zone contains “glue” RRs which are not
part of the authoritative data, and are address RRs for the servers.
These RRs are only necessary if the name server’s name is “below” the
cut, and are only used as part of a referral response.</t>
</list></t>

<t>Section 5.4.1 of <xref target="DNS-CLARIFICATIONS"/> says:</t>

<t><list style='empty'>
  <t>“Glue” above includes any record in a zone file that is not properly
part of that zone, including nameserver records of delegated sub-
zones (NS records), address records that accompany those NS records
(A, AAAA, etc), and any other stray data that might appear.</t>
</list></t>

</section>
<section anchor="dnssec" title="DNSSEC">

<t>RFC 4035 <xref target="DNSSEC"/> discusses the inclusion of DNSSEC signatures on data in the Additional section.
Section 3.1.1 says:</t>

<t><list style='empty'>
  <t>When placing a signed RRset in the Additional section, the name
server MUST also place its RRSIG RRs in the Additional section.
If space does not permit inclusion of both the RRset and its
associated RRSIG RRs, the name server MAY retain the RRset while
dropping the RRSIG RRs.  If this happens, the name server MUST NOT
set the TC bit solely because these RRSIG RRs didn’t fit.</t>
</list></t>

</section>
<section anchor="conclusions" title="Conclusions">

<t>The foundational documents for the DNS did not place any restriction on what additional information might appear
in the Additional section of DNS replies.
If they had, the widely used extension mechanism in RFC 6891 <xref target="DNS-EXTENSIONS"/> would not be possible.</t>

<t>Glue records are addresses for name servers.
These records can (and almost always do) appear in the Additional section of responses that are delegations.
Non-address records that appear in the Additional section are not considered glue
as that term is used in existing RFCs.</t>

<t>It is both acceptable and common for RRSIG RRs to appear in the Additional section of responses.</t>

<t>New protocols can specify that non-address resource records can appear in the Additional section of responses.
They can define the semantics of the presence or absence of those non-address records.</t>

</section>
<section anchor="iana-considerations" title="IANA Considerations">

<t>This document does not create any new IANA considerations.</t>

</section>
<section anchor="security-considerations" title="Security Considerations">

<t>This document does not create any new security considerations.</t>

</section>


  </middle>

  <back>


    <references title='Informative References'>





<reference anchor='DNS-CONCEPTS' target='https://www.rfc-editor.org/info/rfc1034'>
<front>
<title>Domain names - concepts and facilities</title>
<author fullname='P.V. Mockapetris' initials='P.V.' surname='Mockapetris'><organization/></author>
<date month='November' year='1987'/>
<abstract><t>This RFC is the revised basic definition of The Domain Name System.  It obsoletes RFC-882.  This memo describes the domain style names and their used for host address look up and electronic mail forwarding.  It discusses the clients and servers in the domain name system and the protocol 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='DNS-BASE' target='https://www.rfc-editor.org/info/rfc1035'>
<front>
<title>Domain names - implementation and specification</title>
<author fullname='P.V. Mockapetris' initials='P.V.' surname='Mockapetris'><organization/></author>
<date month='November' year='1987'/>
<abstract><t>This RFC is the revised specification of the protocol and format used in the implementation of the Domain Name System.  It obsoletes RFC-883. This memo documents the details of the domain name client - 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='DNS-CLARIFICATIONS' target='https://www.rfc-editor.org/info/rfc2181'>
<front>
<title>Clarifications to the DNS Specification</title>
<author fullname='R. Elz' initials='R.' surname='Elz'><organization/></author>
<author fullname='R. Bush' initials='R.' surname='Bush'><organization/></author>
<date month='July' year='1997'/>
<abstract><t>This document considers some areas that have been identified as problems with the specification of the Domain Name System, and proposes remedies for the defects identified. [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='2181'/>
<seriesInfo name='DOI' value='10.17487/RFC2181'/>
</reference>



<reference anchor='DNS-EXTENSIONS' target='https://www.rfc-editor.org/info/rfc6891'>
<front>
<title>Extension Mechanisms for DNS (EDNS(0))</title>
<author fullname='J. Damas' initials='J.' surname='Damas'><organization/></author>
<author fullname='M. Graff' initials='M.' surname='Graff'><organization/></author>
<author fullname='P. Vixie' initials='P.' surname='Vixie'><organization/></author>
<date month='April' year='2013'/>
<abstract><t>The Domain Name System's wire protocol includes a number of fixed fields whose range has been or soon will be exhausted and does not allow requestors to advertise their capabilities to responders.  This document describes backward-compatible mechanisms for allowing the protocol to grow.</t><t>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 (&quot;Binary Labels in the Domain Name System&quot;) and adds considerations on the use of extended labels in the DNS.</t></abstract>
</front>
<seriesInfo name='STD' value='75'/>
<seriesInfo name='RFC' value='6891'/>
<seriesInfo name='DOI' value='10.17487/RFC6891'/>
</reference>



<reference anchor='DNSSEC' target='https://www.rfc-editor.org/info/rfc4035'>
<front>
<title>Protocol Modifications for the DNS Security Extensions</title>
<author fullname='R. Arends' initials='R.' surname='Arends'><organization/></author>
<author fullname='R. Austein' initials='R.' surname='Austein'><organization/></author>
<author fullname='M. Larson' initials='M.' surname='Larson'><organization/></author>
<author fullname='D. Massey' initials='D.' surname='Massey'><organization/></author>
<author fullname='S. Rose' initials='S.' surname='Rose'><organization/></author>
<date month='March' year='2005'/>
<abstract><t>This document is part of a family of documents that describe the DNS Security Extensions (DNSSEC).  The DNS Security Extensions are a collection of new resource records and protocol modifications that add data origin authentication and data integrity to the DNS.  This document describes the DNSSEC protocol modifications.  This document defines the concept of a signed zone, along with the requirements for serving and resolving by using DNSSEC.  These techniques allow a security-aware resolver to authenticate both DNS resource records and authoritative DNS error indications. </t><t> This document obsoletes RFC 2535 and incorporates changes from all updates to RFC 2535.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='4035'/>
<seriesInfo name='DOI' value='10.17487/RFC4035'/>
</reference>




    </references>



  </back>

<!-- ##markdown-source:
H4sIAPN5t2EAA51Xa28jtxX9zl9BOB+yC0gD2+tNExUIonqdrYBGa9gKkgIF
AmqGI7E7Q05JjrVqsP+955Kclyx3keiTho/7OPfcB+fzOfPKV3LBN3vJl0Wh
vDJaVPxR5vSPC13w91UrudL83fqRP0jXGO2kY2K7tfJpMbr013CSFSbXoobI
worSz5tmLvoj89xoL7V388srxpyH+N9EZTROe4u7TDU2/HX++vLyu8tr9vGw
4CvcsVr6+TuSyHLhF7CnNCwnU7RrXXe9UQvGuTf5gh9hY/hbyMbvF/wGX85Y
b2Xpul13rIdPJlq/NxYC5tiCAqzfZ/zvpixroWkpunUv2mq8auwOJt4u12v6
krVQ1YI3OJTt46EfVC60znDuRPSTAKjq3x9HsiU8nawH6ffmIC3gHyugkxlO
ZgVO/tDQiUK7LDc1Y9rYWnj1JBdAFED1X5yCOL/9sL69u988LvjDj7dXl29u
0vrflo933drb7uw/lg+rH+HeZvVhHW9cX317lXbvft3crR/7nW++/S7tPN7d
hpUbksTm8zkXW+etyD1jq7qpZC0pqI7vxZPkVub4rI5cfmqsdE4WvFBlKS1W
+ZOSB8fBxcNeeA4ouWgaKSxR0k9Z6yJrWSKr7ciasXtrGuNE5TjQ4ERIveNl
q/N4U/kjqBLE0cXGGhDHVFiASithGfRro+c7ygWYa2zhYAA7b0B/Bd6RIsER
lhrfrS7gNNGelk0ZNDqEVHuVw8nyBYEZY5u9chy51RJy5JoXXroIyl44vpVS
cydUQbgYiLHBlaBMwNpZyOXC4I42nrdNgftYOyYz6izGqVZFUSGVvqK0s6Zo
I6QMweTEFf7772MOff4842nrbdoiGtEy6aMt4kt3a8Kmz5+ZsDJgsBVOxdh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