<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" docName="draft-ietf-dnssd-multi-qtypes-14" number="10029" updates="" obsoletes="" xml:lang="en" category="std" consensus="true" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true" prepTime="2026-07-31T17:55:40" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-dnssd-multi-qtypes-14" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc10029" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="DNS Multiple QTYPEs">DNS Multiple QTYPEs</title>
    <seriesInfo name="RFC" value="10029" stream="IETF"/>
    <author initials="R." surname="Bellis" fullname="Ray Bellis">
      <organization abbrev="ISC" showOnFrontPage="true">Internet Systems Consortium, Inc.</organization>
      <address>
        <postal>
          <street>PO Box 360</street>
          <city>Newmarket</city>
          <region>NH</region>
          <code>03857</code>
          <country>United States of America</country>
        </postal>
        <phone>+1 650 423 1300</phone>
        <email>ray@isc.org</email>
      </address>
    </author>
    <date month="07" year="2026"/>
    <area>INT</area>
    <workgroup>dnssd</workgroup>
    <keyword>DNS</keyword>
    <keyword>resource record</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This document specifies a method for a DNS client to request additional
DNS record types to be delivered alongside the primary record type
specified in the Question section of a DNS QUERY (OpCode=0).</t>
    </abstract>
    <boilerplate>
      <section anchor="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 a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc10029" 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) 2026 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised 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" 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-specification">Specification</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2">
              <li pn="section-toc.1-1.3.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.2.1.1"><xref derivedContent="3.1" format="counter" sectionFormat="of" target="section-3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-multiple-qtype-edns-options">Multiple QTYPE EDNS Options Format</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.2">
                <t indent="0" pn="section-toc.1-1.3.2.2.1"><xref derivedContent="3.2" format="counter" sectionFormat="of" target="section-3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-client-request-generation">Client Request Generation</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.3">
                <t indent="0" pn="section-toc.1-1.3.2.3.1"><xref derivedContent="3.3" format="counter" sectionFormat="of" target="section-3.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-server-request-parsing">Server Request Parsing</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.4">
                <t indent="0" pn="section-toc.1-1.3.2.4.1"><xref derivedContent="3.4" format="counter" sectionFormat="of" target="section-3.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-server-response-generation">Server Response Generation</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.5">
                <t indent="0" pn="section-toc.1-1.3.2.5.1"><xref derivedContent="3.5" format="counter" sectionFormat="of" target="section-3.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-client-response-processing">Client Response Processing</xref></t>
              </li>
            </ul>
          </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-security-considerations">Security Considerations</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-iana-considerations">IANA Considerations</xref></t>
          </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-references">References</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-normative-references">Normative References</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-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-examples">Examples</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="A.1" format="counter" sectionFormat="of" target="section-appendix.a.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-stub-query-for-a-with-mqtyp">Stub Query for A with MQTYPE-Query for AAAA and HTTPS</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="A.2" format="counter" sectionFormat="of" target="section-appendix.a.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-stub-query-for-ds-with-mqty">Stub Query for DS with MQTYPE-Query for DNSKEY</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="A.3" format="counter" sectionFormat="of" target="section-appendix.a.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-recursive-query-for-ds-with">Recursive Query for DS with MQTYPE-Query for NS</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.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.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-address">Author's Address</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">A commonly requested DNS <xref target="STD13" format="default" sectionFormat="of" derivedContent="STD13"/> feature is the ability to receive
multiple related resource records (RRs) in a single DNS response.</t>
      <t indent="0" pn="section-1-2">For example, it may be desirable to receive the A, AAAA, and HTTPS
RRs for a domain name together, rather than having to issue
multiple queries.</t>
      <t indent="0" pn="section-1-3">The DNS wire protocol in theory supported having multiple questions
      in a single packet, but in practice this does not work.  <xref target="RFC9619" format="default" sectionFormat="of" derivedContent="RFC9619"/> updates RFC 1035 <xref target="STD13" format="default" sectionFormat="of" derivedContent="STD13"/> to only
      permit a single question in a QUERY (OpCode=0) request.</t>
      <t indent="0" pn="section-1-4">Sending QTYPE=ANY does not guarantee that all resource record sets (RRsets) will be returned.
<xref section="4.1" sectionFormat="of" target="RFC8482" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8482#section-4.1" derivedContent="RFC8482"/> specifies that responders may return a single RRset of
their choosing.</t>
      <t indent="0" pn="section-1-5">This document provides a solution for those cases where only the QTYPE
varies by specifying a new option for the Extension Mechanisms for DNS
(EDNS) <xref target="RFC6891" format="default" sectionFormat="of" derivedContent="RFC6891"/> that contains an additional list of QTYPE values
that the client wishes to receive in addition to the single
QTYPE appearing in the Question section.  A different EDNS option is
used in response packets as protection against DNS middleboxes that echo
EDNS options verbatim.</t>
      <t indent="0" pn="section-1-6">The specification described herein is applicable both for queries from a
stub resolver to recursive servers, and from recursive resolvers to
authoritative servers. It does not apply to Multicast DNS queries
<xref target="RFC6762" format="default" sectionFormat="of" derivedContent="RFC6762"/>, which are already designed to allow requesting multiple
records in a single query, but it is applicable to DNS-Based Service
Discovery (DNS-SD) <xref target="RFC6763" format="default" sectionFormat="of" derivedContent="RFC6763"/>.</t>
    </section>
    <section anchor="terminology" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>",
    "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be
    interpreted as described in BCP 14 <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
    shown here.
      </t>
      <t indent="0" pn="section-2-2">This document makes use of DNS terminology defined in <xref target="RFC9499" format="default" sectionFormat="of" derivedContent="RFC9499"/>.</t>
    </section>
    <section anchor="specification" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-specification">Specification</name>
      <section anchor="multiple-qtype-edns-options-format" numbered="true" removeInRFC="false" toc="include" pn="section-3.1">
        <name slugifiedName="name-multiple-qtype-edns-options">Multiple QTYPE EDNS Options Format</name>
        <t indent="0" pn="section-3.1-1">The overall format of an EDNS option is shown for reference in <xref target="fig-edns" format="default" sectionFormat="of" derivedContent="Figure 1"/>,
per <xref target="RFC6891" format="default" sectionFormat="of" derivedContent="RFC6891"/>, followed by the option-specific data.</t>
        <figure anchor="fig-edns" align="left" suppress-title="false" pn="figure-1">
          <name slugifiedName="name-edns-option-format">EDNS Option Format</name>
          <artset pn="section-3.1-2.1">
            <artwork type="svg" align="left" pn="section-3.1-2.1.1"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="192" width="552" viewBox="0 0 552 192" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px" stroke-linecap="round">
                <path d="M 32,32 L 32,112" fill="none" stroke="black"/>
                <path d="M 32,144 L 32,160" fill="none" stroke="black"/>
                <path d="M 544,32 L 544,112" fill="none" stroke="black"/>
                <path d="M 544,144 L 544,160" fill="none" stroke="black"/>
                <path d="M 32,32 L 544,32" fill="none" stroke="black"/>
                <path d="M 32,64 L 544,64" fill="none" stroke="black"/>
                <path d="M 32,96 L 544,96" fill="none" stroke="black"/>
                <path d="M 32,160 L 544,160" fill="none" stroke="black"/>
                <g class="text">
                  <text x="12" y="52">0:</text>
                  <text x="288" y="52">OPTION-CODE</text>
                  <text x="12" y="84">2:</text>
                  <text x="288" y="84">OPTION-LENGTH</text>
                  <text x="12" y="116">4:</text>
                  <text x="32" y="132">:</text>
                  <text x="288" y="132">OPTION-DATA</text>
                  <text x="544" y="132">:</text>
                </g>
              </svg>
            </artwork>
            <artwork type="ascii-art" align="left" pn="section-3.1-2.1.2">
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    0: |                          OPTION-CODE                          |
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    2: |                         OPTION-LENGTH                         |
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    4: |                                                               |
       :                          OPTION-DATA                          :
       |                                                               |
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+</artwork>
          </artset>
        </figure>
        <dl spacing="normal" newline="false" indent="3" pn="section-3.1-3">
          <dt pn="section-3.1-3.1">OPTION-CODE:</dt>
          <dd pn="section-3.1-3.2">MQTYPE-Query (20) in queries and MQTYPE-Response (21) in responses.</dd>
          <dt pn="section-3.1-3.3">OPTION-LENGTH:</dt>
          <dd pn="section-3.1-3.4">Size (in octets) of OPTION-DATA.</dd>
          <dt pn="section-3.1-3.5">OPTION-DATA:</dt>
          <dd pn="section-3.1-3.6">Option specific, as depicted in <xref target="fig-qtx" format="default" sectionFormat="of" derivedContent="Figure 2"/>.</dd>
        </dl>
        <figure anchor="fig-qtx" align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-mqtype-option-data-format">MQTYPE OPTION-DATA Format</name>
          <artset pn="section-3.1-4.1">
            <artwork type="svg" align="left" pn="section-3.1-4.1.1"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="192" width="552" viewBox="0 0 552 192" class="diagram" text-anchor="middle" font-family="monospace" font-size="13px" stroke-linecap="round">
                <path d="M 32,32 L 32,80" fill="none" stroke="black"/>
                <path d="M 32,112 L 32,160" fill="none" stroke="black"/>
                <path d="M 544,32 L 544,80" fill="none" stroke="black"/>
                <path d="M 544,112 L 544,160" fill="none" stroke="black"/>
                <path d="M 32,32 L 544,32" fill="none" stroke="black"/>
                <path d="M 32,64 L 544,64" fill="none" stroke="black"/>
                <path d="M 32,128 L 544,128" fill="none" stroke="black"/>
                <path d="M 32,160 L 544,160" fill="none" stroke="black"/>
                <g class="text">
                  <text x="12" y="52">0:</text>
                  <text x="288" y="52">QT1</text>
                  <text x="12" y="84">2:</text>
                  <text x="32" y="100">:</text>
                  <text x="288" y="100">...</text>
                  <text x="544" y="100">:</text>
                  <text x="288" y="148">QTn</text>
                </g>
              </svg>
            </artwork>
            <artwork type="ascii-art" align="left" pn="section-3.1-4.1.2">
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    0: |                              QT1                              |
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
    2: |                                                               |
       :                              ...                              :
       |                                                               |
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
       |                              QTn                              |
       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+</artwork>
          </artset>
        </figure>
        <t indent="0" pn="section-3.1-5">The OPTION-DATA is a list of 2-octet values in network order, most significant bit (MSB) first, and each specifying a
DNS RRTYPE that must be for a data RRTYPE as described in
<xref section="3.1" sectionFormat="of" target="RFC6895" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6895#section-3.1" derivedContent="RFC6895"/>.  Individual values from the list (with unspecified index "x") are referred to as "QTx" in the following sections.</t>
      </section>
      <section anchor="client-request-generation" numbered="true" removeInRFC="false" toc="include" pn="section-3.2">
        <name slugifiedName="name-client-request-generation">Client Request Generation</name>
        <t indent="0" pn="section-3.2-1">DNS clients implementing this specification <bcp14>MUST</bcp14> generate packets that
conform to the server request parsing rules described in <xref target="sec-server-request" format="default" sectionFormat="of" derivedContent="Section 3.3"/>.</t>
        <t indent="0" pn="section-3.2-2">The choice of when a client implementation should attempt to coalesce
queries for multiple QTYPEs using this method is implementation specific
and not discussed further herein. However, careful considerations should
be taken into account when coalescing queries on behalf of an application,
if such a feature is not explicitly requested by the application. How
an application interacts with an underlying name resolution library is
internal to the implementation and is thus out of scope.</t>
      </section>
      <section anchor="sec-server-request" numbered="true" removeInRFC="false" toc="include" pn="section-3.3">
        <name slugifiedName="name-server-request-parsing">Server Request Parsing</name>
        <t indent="0" pn="section-3.3-1">In addition to the error cases discussed in <xref section="7" sectionFormat="of" target="RFC6891" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6891#section-7" derivedContent="RFC6891"/>,
the server <bcp14>MUST</bcp14> return a FORMERR response if the server receives:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3.3-2">
          <li pn="section-3.3-2.1">
            <t indent="0" pn="section-3.3-2.1.1">An MQTYPE-Query option in any inbound DNS message with an
OpCode other than QUERY (0).</t>
          </li>
          <li pn="section-3.3-2.2">
            <t indent="0" pn="section-3.3-2.2.1">An MQTYPE-Response option in any inbound DNS message.</t>
          </li>
          <li pn="section-3.3-2.3">
            <t indent="0" pn="section-3.3-2.3.1">More than one MQTYPE-Query option in a query.</t>
          </li>
          <li pn="section-3.3-2.4">
            <t indent="0" pn="section-3.3-2.4.1">An MQTYPE-Query in a query that contains no primary
question (i.e., QDCOUNT=0).</t>
          </li>
          <li pn="section-3.3-2.5">
            <t indent="0" pn="section-3.3-2.5.1">An MQTYPE-Query option in a query where the primary question
is a non-data RRTYPE (e.g., ANY, AXFR).</t>
          </li>
          <li pn="section-3.3-2.6">
            <t indent="0" pn="section-3.3-2.6.1">An MQTYPE-Query option with an empty QT list.</t>
          </li>
          <li pn="section-3.3-2.7">
            <t indent="0" pn="section-3.3-2.7.1">An invalid QTx (e.g., one corresponding to a Meta RRTYPE).</t>
          </li>
          <li pn="section-3.3-2.8">
            <t indent="0" pn="section-3.3-2.8.1">A duplicate QTx (or one duplicating the primary QTYPE field)
in a query.</t>
          </li>
        </ul>
      </section>
      <section anchor="server-response-generation" numbered="true" removeInRFC="false" toc="include" pn="section-3.4">
        <name slugifiedName="name-server-response-generation">Server Response Generation</name>
        <t indent="0" pn="section-3.4-1">A conforming server that receives an MQTYPE-Query option in a valid query <bcp14>MUST</bcp14>
return an MQTYPE-Response option in its response, even if
that response is truncated (TC=1). This is necessary to indicate that the server does
support this extension. Refer to <xref target="sec-server-request" format="default" sectionFormat="of" derivedContent="Section 3.3"/> for invalid queries.</t>
        <t indent="0" pn="section-3.4-2">The server <bcp14>MUST</bcp14> first start constructing a response for the primary
(QNAME, QCLASS, QTYPE) tuple specified in the Question section per
the existing DNS sections.  The RCODE and all other flags (such as AA or
AD) <bcp14>MUST</bcp14> be determined at this time.</t>
        <t indent="0" pn="section-3.4-3">If this initial response results in truncation (TC=1), then the
additional queries specified in the MQTYPE-Query option <bcp14>MUST NOT</bcp14> be
processed.</t>
        <t indent="0" pn="section-3.4-4">After the initial response is prepared, the server <bcp14>MUST</bcp14> attempt to
combine the responses for individual (QNAME, QCLASS, QTx) combinations
into the response for the first query.  If a recursive server does
not yet have those responses available, it <bcp14>MAY</bcp14> first make appropriate
outbound queries to populate its caches.</t>
        <t indent="0" pn="section-3.4-5">For each individual combination, the server <bcp14>MUST</bcp14> evaluate the resulting
RCODE and other flags and check that they all match the values generated
from the primary query.</t>
        <t indent="0" pn="section-3.4-6">If any mismatch is detected, the mismatching additional response <bcp14>MUST NOT</bcp14>
be included in the final combined response, and its QTx value <bcp14>MUST NOT</bcp14> be
included in the MQTYPE-Response option's list.  This might happen, for
example, if the primary query resulted in a NOERROR response, but a QTx
query resulted in a SERVFAIL. This could also happen if the primary response has AA=0, but a
QTx response has AA=1, which might happen if the NS and DS records
were both requested at the parent side of a zone cut.</t>
        <t indent="0" pn="section-3.4-7">The server <bcp14>MUST</bcp14> attempt to combine the remaining individual RRs into the
same sections in which they would have appeared in a standalone query (i.e., as if each combination had been "the question" per Section <xref section="4.1" sectionFormat="bare" target="RFC1035" format="default" derivedLink="https://rfc-editor.org/rfc/rfc1035#section-4.1" derivedContent="RFC1035"/> of RFC 1035 <xref target="STD13" format="default" sectionFormat="of" derivedContent="STD13"/>).</t>
        <t indent="0" pn="section-3.4-8">The server <bcp14>MUST</bcp14> detect duplicate RRs and keep only a single copy of each
RR in its respective section.  Duplicates can occur, for example, in the Answer
section if a CNAME chain is involved, or in the Authority section if
multiple QTYPEs don't exist, etc.  Note that RRs can be legitimately
duplicated in different sections such as for the (SOA, TYPE12345)
combination at a zone apex where TYPE12345 is not present.</t>
        <t indent="0" pn="section-3.4-9">The handling of an MQTYPE-Query option <bcp14>MUST NOT</bcp14> itself trigger a truncated
response.  If response size (or other) limits do not allow all of the
data obtained by querying for an additional QTx to be included in the
final response in their entirety (i.e., as complete RRsets), then the
server <bcp14>MUST NOT</bcp14> include the respective QTx in the MQTYPE-Response
option's list and <bcp14>MAY</bcp14> stop processing further QTx combinations.</t>
        <t indent="0" pn="section-3.4-10">If all RRs for a single QTx combination fit into the message, then the
server <bcp14>MUST</bcp14> include the respective QTx in the MQTYPE-Response
option's list to indicate that the given query type was completely
processed.</t>
        <t indent="0" pn="section-3.4-11">Note that it is possible for the resulting MQTYPE-Response option to
contain an empty list, but as described above, the option must still be
returned.</t>
      </section>
      <section anchor="client-response-processing" numbered="true" removeInRFC="false" toc="include" pn="section-3.5">
        <name slugifiedName="name-client-response-processing">Client Response Processing</name>
        <t indent="0" pn="section-3.5-1">If the response to a query containing an MQTYPE-Query option does not
contain an MQTYPE-Response option, or if it erroneously contains an
MQTYPE-Query option, the client <bcp14>MUST</bcp14> treat the response as if this
option is unsupported by the server and <bcp14>MUST</bcp14> process the primary
response as if the MQTYPE-Query option had not been used.</t>
        <t indent="0" pn="section-3.5-2">In the above case, or if the server generates a FORMERR response, the
client <bcp14>MUST</bcp14> issue additional standalone queries (that is, without using the
MQTYPE-Query option) for all QTYPEs for which an answer is still
required.</t>
        <t indent="0" pn="section-3.5-3">If the MQTYPE-Response option is present more than once or if a QTx
value is duplicated (or duplicates the primary QTYPE field), the client
<bcp14>MUST</bcp14> treat the answer as invalid (equivalent to FORMERR).</t>
        <t indent="0" pn="section-3.5-4">The Question section and the list of types present in the
MQTYPE-Response option indicates the list of (QNAME, QCLASS, QTYPEs)
combinations that are completely answered and contained within the
received response.  The answers to all query combinations share the same
RCODE and all other flags.</t>
        <t indent="0" pn="section-3.5-5">All RRs required by existing DNS specifications are expected to be
present in the respective sections of the DNS message, including proofs
of nonexistence where required. The client <bcp14>MUST NOT</bcp14> rely on any
particular order of RRs in the message sections.</t>
        <t indent="0" pn="section-3.5-6">For the purposes of <xref section="5.4.1" sectionFormat="of" target="RFC2181" format="default" derivedLink="https://rfc-editor.org/rfc/rfc2181#section-5.4.1" derivedContent="RFC2181"/>, any authoritative
answers received <bcp14>MUST</bcp14> be ranked the same as the answer for the primary
question.</t>
        <t indent="0" pn="section-3.5-7">Clients <bcp14>MUST</bcp14> take into account that individual RRs might originate from
different DNS zones and that proofs of nonexistence might have been
produced by different signers.</t>
        <t indent="0" pn="section-3.5-8">Absence of QTx values that were requested by the client but are not present
in the MQTYPE-Response option indicates that:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3.5-9">
          <li pn="section-3.5-9.1">
            <t indent="0" pn="section-3.5-9.1.1">(for responses from recursive servers) the server does not have
any records for that QTx value in cache, and/or</t>
          </li>
          <li pn="section-3.5-9.2">
            <t indent="0" pn="section-3.5-9.2.1">the individual responses could not be combined into one message
because of RCODE or other flag mismatches, and/or</t>
          </li>
          <li pn="section-3.5-9.3">
            <t indent="0" pn="section-3.5-9.3.1">the server was unwilling to process the request (for example, because a limit
was exceeded), and/or</t>
          </li>
          <li pn="section-3.5-9.4">
            <t indent="0" pn="section-3.5-9.4.1">the response size limit would be exceeded.</t>
          </li>
        </ul>
        <t indent="0" pn="section-3.5-10">The client <bcp14>MUST</bcp14> subsequently initiate separate standalone queries for
all QTx values for which an answer is still required.</t>
      </section>
    </section>
    <section anchor="security-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-4-1">The method documented here does not change any of the security
properties of the DNS protocol itself.</t>
      <t indent="0" pn="section-4-2">However, it should be noted that this method does increase the potential
amplification factor when the DNS protocol is used as a vector for a
denial-of-service attack.  A further risk is being able to maliciously
cause recursive servers to perform large amounts of additional work.</t>
      <t indent="0" pn="section-4-3">Implementors <bcp14>SHOULD</bcp14> therefore allow operators to configure limits on the
number of QTx values specified and/or the resulting response size.  The
recommended values of those limits will depend on the environment in
which this specification is used.  In public DNS, it is expected that a
limit of four QTx values would be appropriate, but when used with DNS-SD
or within private networks, higher limits would be acceptable.</t>
    </section>
    <section anchor="iana-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-5-1">IANA has assigned the following values in the "DNS EDNS0 Option Codes (OPT)"
registry within the "Domain Name System (DNS) Parameters" registry group:</t>
      <table align="center" pn="table-1">
        <name slugifiedName="name-mqtype-edns-option-numbers">MQTYPE EDNS Option Numbers</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Value</th>
            <th align="left" colspan="1" rowspan="1">Name</th>
            <th align="left" colspan="1" rowspan="1">Status</th>
            <th align="left" colspan="1" rowspan="1">Reference</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="1" rowspan="1">20</td>
            <td align="left" colspan="1" rowspan="1">MQTYPE-Query</td>
            <td align="left" colspan="1" rowspan="1">Optional</td>
            <td align="left" colspan="1" rowspan="1">RFC 10029</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">21</td>
            <td align="left" colspan="1" rowspan="1">MQTYPE-Response</td>
            <td align="left" colspan="1" rowspan="1">Optional</td>
            <td align="left" colspan="1" rowspan="1">RFC 10029</td>
          </tr>
        </tbody>
      </table>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references" pn="section-6">
      <name slugifiedName="name-references">References</name>
      <references anchor="sec-normative-references" pn="section-6.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification. 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 the Internet 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="RFC2181" target="https://www.rfc-editor.org/info/rfc2181" quoteTitle="true" derivedAnchor="RFC2181">
          <front>
            <title>Clarifications to the DNS Specification</title>
            <author fullname="R. Elz" initials="R." surname="Elz"/>
            <author fullname="R. Bush" initials="R." surname="Bush"/>
            <date month="July" year="1997"/>
            <abstract>
              <t indent="0">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="RFC6891" target="https://www.rfc-editor.org/info/rfc6891" quoteTitle="true" derivedAnchor="RFC6891">
          <front>
            <title>Extension Mechanisms for DNS (EDNS(0))</title>
            <author fullname="J. Damas" initials="J." surname="Damas"/>
            <author fullname="M. Graff" initials="M." surname="Graff"/>
            <author fullname="P. Vixie" initials="P." surname="Vixie"/>
            <date month="April" year="2013"/>
            <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 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 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") 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="RFC6895" target="https://www.rfc-editor.org/info/rfc6895" quoteTitle="true" derivedAnchor="RFC6895">
          <front>
            <title>Domain Name System (DNS) IANA Considerations</title>
            <author fullname="D. Eastlake 3rd" initials="D." surname="Eastlake 3rd"/>
            <date month="April" year="2013"/>
            <abstract>
              <t indent="0">This document specifies Internet Assigned Numbers Authority (IANA) parameter assignment considerations for the allocation of Domain Name System (DNS) resource record types, CLASSes, operation codes, error codes, DNS protocol message header bits, and AFSDB resource record subtypes. It obsoletes RFC 6195 and updates RFCs 1183, 2845, 2930, and 3597.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="42"/>
          <seriesInfo name="RFC" value="6895"/>
          <seriesInfo name="DOI" value="10.17487/RFC6895"/>
        </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 fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <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="RFC9619" target="https://www.rfc-editor.org/info/rfc9619" quoteTitle="true" derivedAnchor="RFC9619">
          <front>
            <title>In the DNS, QDCOUNT Is (Usually) One</title>
            <author fullname="R. Bellis" initials="R." surname="Bellis"/>
            <author fullname="J. Abley" initials="J." surname="Abley"/>
            <date month="July" year="2024"/>
            <abstract>
              <t indent="0">This document updates RFC 1035 by constraining the allowed value of the QDCOUNT parameter in DNS messages with OPCODE = 0 (QUERY) to a maximum of one, and it specifies the required behavior when values that are not allowed are encountered.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9619"/>
          <seriesInfo name="DOI" value="10.17487/RFC9619"/>
        </reference>
        <referencegroup anchor="STD13" target="https://www.rfc-editor.org/info/std13" derivedAnchor="STD13">
          <reference anchor="RFC1034" target="https://www.rfc-editor.org/info/rfc1034" quoteTitle="true">
            <front>
              <title>Domain names - concepts and facilities</title>
              <author fullname="P. Mockapetris" initials="P." surname="Mockapetris"/>
              <date month="November" year="1987"/>
              <abstract>
                <t indent="0">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="RFC1035" target="https://www.rfc-editor.org/info/rfc1035" quoteTitle="true">
            <front>
              <title>Domain names - implementation and specification</title>
              <author fullname="P. Mockapetris" initials="P." surname="Mockapetris"/>
              <date month="November" year="1987"/>
              <abstract>
                <t indent="0">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>
        </referencegroup>
      </references>
      <references anchor="sec-informative-references" pn="section-6.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="RFC6762" target="https://www.rfc-editor.org/info/rfc6762" quoteTitle="true" derivedAnchor="RFC6762">
          <front>
            <title>Multicast DNS</title>
            <author fullname="S. Cheshire" initials="S." surname="Cheshire"/>
            <author fullname="M. Krochmal" initials="M." surname="Krochmal"/>
            <date month="February" year="2013"/>
            <abstract>
              <t indent="0">As networked devices become smaller, more portable, and more ubiquitous, the ability to operate with less configured infrastructure is increasingly important. In particular, the ability to look up DNS resource record data types (including, but not limited to, host names) in the absence of a conventional managed DNS server is useful.</t>
              <t indent="0">Multicast DNS (mDNS) provides the ability to perform DNS-like operations on the local link in the absence of any conventional Unicast DNS server. In addition, Multicast DNS designates a portion of the DNS namespace to be free for local use, without the need to pay any annual fee, and without the need to set up delegations or otherwise configure a conventional DNS server to answer for those names.</t>
              <t indent="0">The primary benefits of Multicast DNS names are that (i) they require little or no administration or configuration to set them up, (ii) they work when no infrastructure is present, and (iii) they work during infrastructure failures.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6762"/>
          <seriesInfo name="DOI" value="10.17487/RFC6762"/>
        </reference>
        <reference anchor="RFC6763" target="https://www.rfc-editor.org/info/rfc6763" quoteTitle="true" derivedAnchor="RFC6763">
          <front>
            <title>DNS-Based Service Discovery</title>
            <author fullname="S. Cheshire" initials="S." surname="Cheshire"/>
            <author fullname="M. Krochmal" initials="M." surname="Krochmal"/>
            <date month="February" year="2013"/>
            <abstract>
              <t indent="0">This document specifies how DNS resource records are named and structured to facilitate service discovery. Given a type of service that a client is looking for, and a domain in which the client is looking for that service, this mechanism allows clients to discover a list of named instances of that desired service, using standard DNS queries. This mechanism is referred to as DNS-based Service Discovery, or DNS-SD.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6763"/>
          <seriesInfo name="DOI" value="10.17487/RFC6763"/>
        </reference>
        <reference anchor="RFC8482" target="https://www.rfc-editor.org/info/rfc8482" quoteTitle="true" derivedAnchor="RFC8482">
          <front>
            <title>Providing Minimal-Sized Responses to DNS Queries That Have QTYPE=ANY</title>
            <author fullname="J. Abley" initials="J." surname="Abley"/>
            <author fullname="O. Gudmundsson" initials="O." surname="Gudmundsson"/>
            <author fullname="M. Majkowski" initials="M." surname="Majkowski"/>
            <author fullname="E. Hunt" initials="E." surname="Hunt"/>
            <date month="January" year="2019"/>
            <abstract>
              <t indent="0">The Domain Name System (DNS) specifies a query type (QTYPE) "ANY". The operator of an authoritative DNS server might choose not to respond to such queries for reasons of local policy, motivated by security, performance, or other reasons.</t>
              <t indent="0">The DNS specification does not include specific guidance for the behavior of DNS servers or clients in this situation. This document aims to provide such guidance.</t>
              <t indent="0">This document updates RFCs 1034 and 1035.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8482"/>
          <seriesInfo name="DOI" value="10.17487/RFC8482"/>
        </reference>
        <reference anchor="RFC9499" target="https://www.rfc-editor.org/info/rfc9499" quoteTitle="true" derivedAnchor="RFC9499">
          <front>
            <title>DNS Terminology</title>
            <author fullname="P. Hoffman" initials="P." surname="Hoffman"/>
            <author fullname="K. Fujiwara" initials="K." surname="Fujiwara"/>
            <date month="March" year="2024"/>
            <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 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 updates RFC 2308 by clarifying the definitions of "forwarder" and "QNAME". It obsoletes RFC 8499 by adding multiple terms and clarifications. Comprehensive lists of changed and new definitions can be found in Appendices A and B.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="219"/>
          <seriesInfo name="RFC" value="9499"/>
          <seriesInfo name="DOI" value="10.17487/RFC9499"/>
        </reference>
      </references>
    </references>
    <section anchor="examples" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-examples">Examples</name>
      <t indent="0" pn="section-appendix.a-1">The examples below are shown as what might be reported by the Internet Systems Consortium (ISC) Dig utility.
For the purposes of brevity, irrelevant content is omitted.</t>
      <section anchor="stub-query-for-a-with-mqtype-query-for-aaaa-https" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1">
        <name slugifiedName="name-stub-query-for-a-with-mqtyp">Stub Query for A with MQTYPE-Query for AAAA and HTTPS</name>
        <t indent="0" pn="section-appendix.a.1-1">In this example, a stub resolver has requested the A record for
www.example.com, along with an MQTYPE-Query option requesting AAAA and
HTTPS records.  The stub resolver has also set the DO bit, indicating
DNSSEC support.</t>
        <t indent="0" pn="section-appendix.a.1-2">The presence of the HTTPS QTYPE in the MQTYPE-Response option of the response
coupled with its absence from the Answer section indicates that the
recursive server currently holds no data for this QTYPE.  The corresponding
type fields in the NSEC3 record further provide a cryptographic proof of
nonexistence for the HTTPS QTYPE, and the SOA record also indicates a
"negative answer".</t>
        <figure anchor="figaaaahttps" align="left" suppress-title="false" pn="figure-3">
          <name slugifiedName="name-a-aaaa-and-https">A, AAAA, and HTTPS</name>
          <artwork align="left" pn="section-appendix.a.1-3.1">
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 11111
;; flags: qr rd ra ad
;; QUERY: 1, ANSWER: 4, AUTHORITY: 4, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; MQTYPE-Response: AAAA HTTPS

;; QUESTION SECTION:
;www.example.com.         IN  A

;; ANSWER SECTION:
www.example.com.    2849  IN  A       192.0.2.1
www.example.com.    2849  IN  RRSIG   A [...]
www.example.com.    3552  IN  AAAA    3fff::1234
www.example.com.    3552  IN  RRSIG   AAAA [...]

;; AUTHORITY SECTION:
example.com.        2830  IN  SOA     ns.example.com. [...]
example.com.        2830  IN  RRSIG   SOA 13 2 [...]
[...].example.com.  2830  IN  NSEC3   [...] A TXT AAAA RRSIG
[...].example.com.  2830  IN  RRSIG   NSEC3 [...]</artwork>
        </figure>
      </section>
      <section anchor="stub-query-for-ds-with-mqtype-query-for-dnskey" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2">
        <name slugifiedName="name-stub-query-for-ds-with-mqty">Stub Query for DS with MQTYPE-Query for DNSKEY</name>
        <t indent="0" pn="section-appendix.a.2-1">In this similar example, the primary QTYPE is for DS, and the MQTYPE-Query
field only contains DNSKEY.</t>
        <t indent="0" pn="section-appendix.a.2-2">Both the DS and DNSKEY records are returned, along with their corresponding
RRSIG records.</t>
        <figure anchor="figdsdnskey" align="left" suppress-title="false" pn="figure-4">
          <name slugifiedName="name-stub-ds-and-dnskey">Stub DS and DNSKEY</name>
          <artwork align="left" pn="section-appendix.a.2-3.1">
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 33333
;; flags: qr rd ra ad
;; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; MQTYPE-Response: DNSKEY

;; QUESTION SECTION:
;example.com.                 IN      DS

;; ANSWER SECTION:
example.com.        625   IN  DNSKEY  256 3 13 [...]
example.com.        625   IN  DNSKEY  257 3 13 [...]
example.com.        625   IN  RRSIG   DNSKEY [...] example.com. [...]
example.com.      86185   IN  DS      370 13 2 [...]
example.com.      86185   IN  RRSIG   DS [...] com. [...]</artwork>
        </figure>
      </section>
      <section anchor="recursive-query-for-ds-with-mqtype-query-for-ns" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.3">
        <name slugifiedName="name-recursive-query-for-ds-with">Recursive Query for DS with MQTYPE-Query for NS</name>
        <t indent="0" pn="section-appendix.a.3-1">In this instance, a recursive resolver is sending a DS record query to the
parent zone's authoritative server and simultaneously requesting the NS
records for the zone.</t>
        <t indent="0" pn="section-appendix.a.3-2">Since the DS record response is marked as authoritative (AA = 1), but the
NS record data on the parent side of a zone cut is not authoritative
(AA = 0), the server is unable to merge the responses, and the NS QTYPE
is omitted from the MQTYPE-Response field.</t>
        <figure anchor="figdsns" align="left" suppress-title="false" pn="figure-5">
          <name slugifiedName="name-recursive-ds-and-ns">Recursive DS and NS</name>
          <artwork align="left" pn="section-appendix.a.3-3.1">
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 33333
;; flags: qr aa
;; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; MQTYPE-Response: [empty]

;; QUESTION SECTION:
;example.com.             IN  DS

;; ANSWER SECTION:
example.com.      86185   IN  DS      370 13 2 [...]
example.com.      86185   IN  RRSIG   DS [...] com. [...]</artwork>
        </figure>
      </section>
    </section>
    <section numbered="false" anchor="acknowledgements" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.b-1">The author wishes to thank the following for their feedback and reviews
during the initial development of this document: <contact fullname="Michael Graff"/>, <contact fullname="Olafur Gudmundsson"/>, <contact fullname="Matthijs Mekking"/>, and <contact fullname="Paul Vixie"/>.</t>
      <t indent="0" pn="section-appendix.b-2">In addition, the author wishes to thank the following for subsequent
reviews during discussion in the DNSSD Working Group: <contact fullname="Chris Box"/>, <contact fullname="Stuart Cheshire"/>, <contact fullname="Esko Dijk"/>, <contact fullname="Ted Lemon"/>, <contact fullname="David Schinazi"/>, and <contact fullname="Petr Spacek"/>.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-authors-address">Author's Address</name>
      <author initials="R." surname="Bellis" fullname="Ray Bellis">
        <organization abbrev="ISC" showOnFrontPage="true">Internet Systems Consortium, Inc.</organization>
        <address>
          <postal>
            <street>PO Box 360</street>
            <city>Newmarket</city>
            <region>NH</region>
            <code>03857</code>
            <country>United States of America</country>
          </postal>
          <phone>+1 650 423 1300</phone>
          <email>ray@isc.org</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
