<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.43 (Ruby 3.4.9) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-linker-diem-adem-dns-02" category="info" consensus="true" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.34.1 -->
  <front>
    <title abbrev="ADEM over DNS">An Authentic Digital, Distinctive EMblem (ADEM) - Distribution and Discovery over the DNS</title>
    <seriesInfo name="Internet-Draft" value="draft-linker-diem-adem-dns-02"/>
    <author fullname="Felix Linker">
      <organization/>
      <address>
        <email>linkerfelix@gmail.com</email>
      </address>
    </author>
    <date year="2026" month="October" day="17"/>
    <area>Applications and Real-Time</area>
    <workgroup>Digital Emblems</workgroup>
    <abstract>
      <?line 34?>

<t>The ADEM Core Specification specifies the message format and authorization model for digital, distinctive emblems.
This document specifies how such emblems can be used to mark domain names and how they can be conveyed over the DNS.</t>
    </abstract>
    <note removeInRFC="true">
      <name>About This Document</name>
      <t>
        The latest revision of this draft can be found at <eref target="https://adem-wg.github.io/adem-dns-spec/draft-linker-diem-adem-dns.html"/>.
        Status information for this document may be found at <eref target="https://datatracker.ietf.org/doc/draft-linker-diem-adem-dns/"/>.
      </t>
      <t>
        Discussion of this document takes place on the
        Digital Emblems Working Group mailing list (<eref target="mailto:diem@ietf.org"/>),
        which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/diem"/>.
        Subscribe at <eref target="https://www.ietf.org/mailman/listinfo/diem/"/>.
      </t>
      <t>Source for this draft and an issue tracker can be found at
        <eref target="https://github.com/adem-wg/adem-dns-spec"/>.</t>
    </note>
  </front>
  <middle>
    <?line 39?>

<section anchor="introduction">
      <name>Introduction</name>
      <t><xref target="I-D.linker-diem-adem-core"/> specifies the message format and authorization model of digital emblems recognized under International Humanitarian Law (IHL); in particular, it specifies the use of CBOR Web Tokens (CWTs) <xref target="RFC8392"/> and COSE_Key structures <xref target="RFC9052"/> for digital, distinctive emblems.
This draft specifies how such emblems can mark fully qualified domain names (FQDNs) using the DNS and the new <tt>IHLE</tt> DNS resource record (RR) type.</t>
    </section>
    <section anchor="conventions-and-definitions">
      <name>Conventions and Definitions</name>
      <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>
      <?line -18?>

<t>DNS terminology and message fields are used as defined in <xref target="RFC1035"/>.</t>
    </section>
    <section anchor="the-ihle-resource-record">
      <name>The IHLE Resource Record</name>
      <t>The <tt>IHLE</tt> (International Humanitarian Law Emblem) DNS RR type is used to mark an FQDN with a digital, distinctive emblem <xref target="I-D.linker-diem-adem-core"/>.
The type value for the <tt>IHLE</tt> RR is TODO.</t>
      <section anchor="ihle-rdata-wire-format">
        <name>IHLE RDATA Wire Format</name>
        <t>The RDATA for an <tt>IHLE</tt> RR consists of a single variable-length Token field.
The Token field <bcp14>MUST</bcp14> contain a CWT that either encodes an ADEM token or a COSE_Key structure containing ADEM-related public key material as specified in <xref target="I-D.linker-diem-adem-core"/>.
The field consumes all octets indicated by RDLENGTH.
It <bcp14>MUST</bcp14> contain exactly one complete CBOR data item and <bcp14>MUST NOT</bcp14> contain trailing data.</t>
        <t>When an <tt>IHLE</tt> RR contains an emblem, the emblem's <tt>assets</tt> claim <bcp14>MUST</bcp14> be an array (major type 4) of UTF-8 strings (major type 3).
Each string in this array <bcp14>MUST</bcp14> be an FQDN <xref target="RFC9499"/>.
Relative names, i.e., without a terminating empty label, are permitted and <bcp14>MUST</bcp14> be interpreted relative to the empty root label.</t>
      </section>
      <section anchor="ihle-rdata-presentation-format">
        <name>IHLE RDATA Presentation Format</name>
        <t>The presentation format of the RDATA portion <bcp14>MUST</bcp14> represent the Token field as a sequence of case-insensitive hexadecimal digits.
Whitespace is allowed within the hexadecimal text.</t>
      </section>
      <section anchor="additional-section-processing">
        <name>Additional Section Processing</name>
        <t>When a name server receives a query whose QNAME is the owner name of an <tt>IHLE</tt> RRset in the QCLASS, it <bcp14>MUST</bcp14> include that RRset in the Additional section of the response, unless the RRset is already included in the Answer section.
This requirement applies regardless of the query's QTYPE.</t>
        <t>The server <bcp14>MUST NOT</bcp14> include only a subset of the <tt>IHLE</tt> RRset.
If the transport's size limit prevents the complete RRset from being included, the server <bcp14>MUST</bcp14> set the TC bit; the complete response returned following retry over a transport that permits a larger response <bcp14>MUST</bcp14> include the entire RRset.</t>
      </section>
      <section anchor="dnssec-considerations">
        <name>DNSSEC Considerations</name>
        <t>ADEM tokens already are signed objects.
Thus, signing <tt>IHLE</tt> RRsets using DNSSEC is optional.
An <tt>IHLE</tt> RRset may be signed with DNSSEC, for example, because it is part of a signed zone.
Successful DNSSEC validation of the RRset, though, <bcp14>MUST NOT</bcp14> be treated as successful validation of any ADEM token it contains or as establishing trust in public key material for ADEM validation.</t>
      </section>
    </section>
    <section anchor="discovering-and-validating-ihle-emblems">
      <name>Discovering and Validating IHLE Emblems</name>
      <t>For distribution over the DNS, assets are identified by FQDNs.
To retrieve an asset's digital emblems, validators can perform a general DNS lookup, as specified in <xref target="RFC1034"/>, with the asset's FQDN as QNAME, an arbitrary QTYPE, and the QCLASS <tt>IN</tt>.
When validators receive a set of tokens and public keys over the DNS, they validate it as follows:</t>
      <ol spacing="normal" type="1"><li>
          <t>Validate the set of tokens and public keys according to <xref target="I-D.linker-diem-adem-core"/>.</t>
        </li>
        <li>
          <t>If the validation procedure returns a result other than <tt>INVALID</tt>, verify that the queried FQDN occurs in the emblem's <tt>assets</tt> claim value using simple, case-insensitive string comparison.</t>
        </li>
      </ol>
    </section>
    <section anchor="semantics-of-ihle-emblems">
      <name>Semantics of IHLE Emblems</name>
      <t>A valid emblem that marks an FQDN signals that this domain name and services associated with this domain name are used for purposes protected under IHL.
It signals that the domain name and services associated with that domain name should be respected, protected, and not disrupted.
Intuitively speaking, the emblem has the function of a stop sign and signals that one should not use a domain name as part of an operation to disrupt services.</t>
      <t>The emblem does not signal that systems which are identified by the domain name, e.g., via <tt>A</tt> or <tt>AAAA</tt> records, enjoy the same specific protections as the domain name itself.
For example, it could be that a domain name has an <tt>A</tt> record which contains an IP address that routes to a multi-tenant database server, and tenants are identified by the domain name.
That database server requires queries to include the domain of the tenant and, by itself, may not be protected.
Nevertheless, if one were to only discover this database server via a domain name that is marked with an emblem, there should be no reason to disrupt that database server.</t>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <t>TODO</t>
    </section>
    <section anchor="iana-considerations">
      <name>IANA Considerations</name>
      <t>TODO</t>
    </section>
  </middle>
  <back>
    <references anchor="sec-normative-references">
      <name>Normative References</name>
      <reference anchor="I-D.linker-diem-adem-core">
        <front>
          <title>ADEM Core Specification</title>
          <author fullname="Felix Linker" initials="F." surname="Linker">
         </author>
          <date day="5" month="October" year="2026"/>
          <abstract>
            <t>   In times of armed conflict, the protective emblems of the red cross,
   red crescent, and red crystal are used to mark physical assets.  This
   enables military units to identify assets as respected and protected
   under international humanitarian law.  This draft specifies the
   format and trust architecture of a protective, digital emblem to
   network-connected infrastructure.  Such emblems mark assets as
   protected under IHL analogously to the physical emblems.

            </t>
          </abstract>
        </front>
        <seriesInfo name="Internet-Draft" value="draft-linker-diem-adem-core-01"/>
      </reference>
      <reference anchor="RFC8392">
        <front>
          <title>CBOR Web Token (CWT)</title>
          <author fullname="M. Jones" initials="M." surname="Jones"/>
          <author fullname="E. Wahlstroem" initials="E." surname="Wahlstroem"/>
          <author fullname="S. Erdtman" initials="S." surname="Erdtman"/>
          <author fullname="H. Tschofenig" initials="H." surname="Tschofenig"/>
          <date month="May" year="2018"/>
          <abstract>
            <t>CBOR Web Token (CWT) is a compact means of representing claims to be transferred between two parties. The claims in a CWT are encoded in the Concise Binary Object Representation (CBOR), and CBOR Object Signing and Encryption (COSE) is used for added application-layer security protection. A claim is a piece of information asserted about a subject and is represented as a name/value pair consisting of a claim name and a claim value. CWT is derived from JSON Web Token (JWT) but uses CBOR rather than JSON.</t>
          </abstract>
        </front>
        <seriesInfo name="RFC" value="8392"/>
        <seriesInfo name="DOI" value="10.17487/RFC8392"/>
      </reference>
      <reference anchor="RFC9052">
        <front>
          <title>CBOR Object Signing and Encryption (COSE): Structures and Process</title>
          <author fullname="J. Schaad" initials="J." surname="Schaad"/>
          <date month="August" year="2022"/>
          <abstract>
            <t>Concise Binary Object Representation (CBOR) is a data format designed for small code size and small message size. There is a need to be able to define basic security services for this data format. This document defines the CBOR Object Signing and Encryption (COSE) protocol. This specification describes how to create and process signatures, message authentication codes, and encryption using CBOR for serialization. This specification additionally describes how to represent cryptographic keys using CBOR.</t>
            <t>This document, along with RFC 9053, obsoletes RFC 8152.</t>
          </abstract>
        </front>
        <seriesInfo name="STD" value="96"/>
        <seriesInfo name="RFC" value="9052"/>
        <seriesInfo name="DOI" value="10.17487/RFC9052"/>
      </reference>
      <reference anchor="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>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="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>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="RFC1035">
        <front>
          <title>Domain names - implementation and specification</title>
          <author fullname="P. Mockapetris" initials="P." surname="Mockapetris"/>
          <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="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>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>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>
      <reference anchor="RFC1034">
        <front>
          <title>Domain names - concepts and facilities</title>
          <author fullname="P. Mockapetris" initials="P." surname="Mockapetris"/>
          <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>
    </references>
    <?line 136?>

<section numbered="false" anchor="acknowledgments">
      <name>Acknowledgments</name>
      <t>TODO acknowledge.</t>
    </section>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA51Y7XLbuBX9z6dAlR+1OxIdJ9lp4t3urtaS1571RyIr68l0
OjVIQhJikuACpBUlk3fps/TJeu4FKFGyk7TND4cCgYuLc88994KDwSCqdZ2r
I9EblmLY1AtV1joVIz3Xtcz7eHC1LtNa3ysxvkhyVYi94Wh8sS8G/M7qpKm1
KYUsMxpIzb2yK0F/BYyJ0eV1L5JJYtU97YGV/h2Pp7JWc2NXR0KXMxNFmUlL
WcCZzMpZPch1eafsINOqGMgMf7LSDZ4+i1yTFNo57FqvKsw+G09PhHgiZO4M
NtFlpiqFP2Xd64ueynRtrJY5/Tgb/oL/jMXTZHrSi8qmSJQ9ijJ4chSlpnSq
dI07ErVtVASXn0fSKkmuV1Wu4TB2dXzYiZL5YKoL1YuWxt7NrWkqzAvIiXFB
YLledKdWeJ8dRfeqbLCJEF+cKoQ/UO8GBnU5F7/STBovpM4xTlD8rFU9i42d
07i06QLji7qu3NHBAU2jIUQrbqcd0MBBYs3SqQMyQOuw8aJJsJJxXWJSi6+r
VEozciDi6o7tMDP2S2NtttccfDlm8aIu8l4USdDLAGwxgH0hZk2e+3CfqFx/
EOe8lF8pf15vbEZvf57TUJyaIopKYwtJjDyKIiLO5lccx1E0GAyETEBNmdZR
NAUJmXbHxipxDU/1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