RFC 8976: Message Digest for DNS Zones
- D. Wessels,
- P. Barber,
- M. Weinberg,
- W. Kumari,
- W. Hardaker
Abstract
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 of how the zone data has been transmitted and received. When used without DNSSEC, ZONEMD functions as a checksum, guarding only against unintentional changes.¶
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.¶
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.¶
Status of This Memo
This is an Internet Standards Track document.¶
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.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2021 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://
1. Introduction
In the DNS, a zone is the collection of authoritative resource records (RRs) sharing a common origin ([RFC8499]). Zones are often stored as files in the so-called "master file format" ([RFC1034]). Zones are generally distributed among name servers using the zone transfer (AXFR) ([RFC5936]) and incremental zone transfer (IXFR) ([RFC1995]) protocols. They can also be distributed outside of the DNS with any file transfer protocol such as FTP, HTTP, and rsync, or even as email attachments. Currently, there is no standard way to compute a hash or message digest for a stand-alone zone.¶
This document specifies an RR type that provides a cryptographic message digest of the data in a zone. It allows a receiver of the zone to verify the zone's integrity and authenticity when used in combination with DNSSEC. The digest RR is a part of the zone itself, allowing verification of the zone, no matter how it is transmitted. The digest uses the wire format of zone data in a canonical ordering. Thus, it is independent of presentation format such as whitespace, capitalization, and comments.¶
This specification is OPTIONAL to implement by both publishers and consumers of zone data.¶
1.1. Motivation
The primary motivation for this protocol enhancement is the desire to verify the data integrity and origin authenticity of a stand-alone zone, regardless of how it is transmitted. A consumer of zone data should be able to verify that it is as published by the zone operator.¶
Note, however, that integrity and authenticity can only be assured when the zone is signed. DNSSEC provides three strong security guarantees relevant to this protocol:¶
A secondary motivation is to provide the equivalent of a checksum, allowing a zone recipient to check for unintended changes and operational errors such as accidental truncation.¶
1.2. Alternative Approaches
One approach to preventing data tampering and corruption is to secure the distribution channel. The DNS has a number of features that are already used for channel security. Perhaps the most widely used is DNS transaction signatures (TSIGs) ([RFC8945]). A TSIG uses shared secret keys and a message digest to protect individual query and response messages. It is generally used to authenticate and validate UPDATE ([RFC2136]), AXFR ([RFC5936]), and IXFR ([RFC1995]) messages.¶
DNS Request and Transaction Signatures (SIG(0)) ([RFC2931]) is another protocol extension that authenticates individual DNS transactions. Whereas SIG records normally cover specific RR types, SIG(0) is used to sign an entire DNS message. Unlike TSIG, SIG(0) uses public key cryptography rather than shared secrets.¶
The Transport Layer Security protocol suite also provides channel
security. The DPRIVE Working Group is in the process of specifying
DNS Zone Transfer
Unfortunately, the protections provided by these channel security
techniques are (in practice) ephemeral and are not retained after
the data transfer is complete. They ensure that the client receives
the data from the expected server and that the data sent by the
server is not modified during transmission. However, they do not
guarantee that the server transmits the data as originally published
and do not provide any methods to verify data that is read after
transmission is complete. For example, a name server loading saved
zone data upon restart cannot guarantee that the on-disk data has
not been modified. Such modification could be the result of an
accidental corruption of the file or perhaps an incomplete saving of
the file ([DISK
Why not simply rely on DNSSEC, which provides certain data security
guarantees? For zones that are signed, a recipient could validate
all of the signed RRsets. Additionally, denial
There are existing tools and protocols that provide data security, such as OpenPGP ([RFC4880]) and S/MIME ([RFC8551]). In fact, the internic.net site publishes Pretty Good Privacy (PGP) signatures alongside the root zone and other files available there. However, this is a detached signature with no strong association to the corresponding zone file other than its timestamp. Attached signatures are of course possible, but these necessarily change the format of the file being distributed; a zone signed with OpenPGP or S/MIME no longer looks like a DNS zone and could not directly be loaded into a name server. Once loaded, the signature data is lost, so it cannot be further propagated.¶
It seems the desire for data security in DNS zones was envisioned as far back as 1997. [RFC2065] is an obsoleted specification of the first generation DNSSEC Security Extensions. It describes a zone transfer signature, identified as the AXFR SIG, which is similar to the technique proposed by this document. That is, it proposes ordering all (signed) RRsets in a zone, hashing their contents, and then signing the zone hash. The AXFR SIG is described only for use during zone transfers. It did not postulate the need to validate zone data distributed outside of the DNS. Furthermore, its successor, [RFC2535], omits the AXFR SIG while at the same time introducing an IXFR SIG. (Note: RFC 2535 was obsoleted by [RFC4033], [RFC4034], and [RFC4035].)¶
1.3. Design Overview
This document specifies a new Resource Record type to convey a message digest of the content of a zone. The digest is calculated at the time of zone publication. If the zone is signed with DNSSEC, any modifications of the digest can be detected. The procedures for digest calculation and DNSSEC signing are similar. Both require data to be processed in a well-defined order and format. It may be possible to perform DNSSEC signing and digest calculation in parallel.¶
The zone digest is designed to be used on zones that have infrequent updates. As specified herein, the digest is recalculated over the entire zone content each time the zone is updated. This specification does not provide an efficient mechanism for updating the digest on incremental updates of zone data. It is, however, extensible so that future schemes may be defined to support efficient incremental digest updates.¶
It is expected that verification of a zone digest will be implemented in name server software. That is, a name server can verify the zone data it was given and refuse to serve a zone that fails verification. For signed zones, the name server needs a trust anchor to perform DNSSEC validation. For signed non-root zones, the name server may need to send queries to validate a chain of trust. Digest verification could also be performed externally.¶
1.4. Use Cases
1.4.1. Root Zone
The root zone ([InterNIC]) is one of the most widely distributed DNS zones on the Internet, served by more than 1000 separate instances ([ROOT-SERVERS]) at the time of this writing. Additionally, many organizations configure their own name servers to serve the root zone locally. Reasons for doing so include privacy and reduced access time. [RFC8806] describes one way to do this. As the root zone spreads beyond its traditional deployment boundaries, the verification of the completeness of the zone contents becomes more important.¶
1.4.2. Providers, Secondaries, and Anycast
Since its very early days, the developers of the DNS recognized
the importance of secondary name servers and service diversity.
However, modern DNS service has complex provisioning that includes
multiple third-party providers ([RFC8901]) and hundreds of anycast instances ([RFC3258]). Instead of a simple
primary
1.4.3. Response Policy Zones
A Response Policy Zone (RPZ) is "a mechanism to introduce a customized policy in Domain Name System servers, so that recursive resolvers return possibly modified results" ([RPZ]). The policy information is carried inside specially constructed DNS zones. A number of companies provide RPZ feeds, which are consumed by name server and firewall products. While RPZs can be signed with DNSSEC, the data is not queried directly and would not be subject to DNSSEC validation.¶
1.4.4. Centralized Zone Data Service
ICANN operates the Centralized Zone Data Service ([CZDS]), which is a repository of top-level domain zone files. Users that have been granted access are then able to download zone data. Adding a zone digest to these would provide CZDS users with assurances that the data has not been modified between origination and retrieval. Note that ZONEMD could be added to zone data supplied to CZDS without requiring it to be present in the zone data served by production name servers, since the digest is inherently attached to the specific copy of the zone.¶
1.4.5. General Purpose Comparison Check
Since the zone digest calculation does not depend on presentation format, it could be used to compare multiple copies of a zone received from different sources, or copies generated by different processes. In this case, it serves as a checksum and can be useful even for unsigned zones.¶
1.5. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The terms Private Use, Reserved, Unassigned, and Specification Required are to be interpreted as defined in [RFC8126].¶
2. The ZONEMD Resource Record
This section describes the ZONEMD Resource Record, including its fields, wire format, and presentation format. The Type value for the ZONEMD RR is 63. The ZONEMD RR is class independent. The RDATA of the resource record consists of four fields: Serial, Scheme, Hash Algorithm, and Digest.¶
2.1. Non-apex ZONEMD Records
This document specifies ZONEMD RRs located at the zone apex. Non-apex ZONEMD RRs are not forbidden, but have no meaning in this specification. Non-apex ZONEMD RRs MUST NOT be used for verification.¶
During digest calculation, non-apex ZONEMD RRs are treated as ordinary RRs. They are digested as is, and the RR is not replaced by a placeholder RR.¶
Unless explicitly stated otherwise, "ZONEMD" always refers to apex records throughout this document.¶
2.2. ZONEMD RDATA Wire Format
The ZONEMD RDATA wire format is encoded as follows:¶
2.2.1. The Serial Field
The Serial field is a 32-bit unsigned integer in network byte order. It is the serial number from the zone's SOA record ([RFC1035], Section 3.3.13) for which the zone digest was generated.¶
It is included here to clearly bind the ZONEMD RR to a particular version of the zone's content. Without the serial number, a stand-alone ZONEMD digest has no obvious association to any particular instance of a zone.¶
2.2.2. The Scheme Field
The Scheme field is an 8-bit unsigned integer that identifies the methods by which data is collated and presented as input to the hashing function.¶
Herein, SIMPLE, with Scheme value 1, is the only standardized
Scheme defined for ZONEMD records and it MUST be
supported by implementations
Scheme values 240-254 are allocated for Private Use.¶
2.2.3. The Hash Algorithm Field
The Hash Algorithm field is an 8-bit unsigned integer that identifies the cryptographic hash algorithm used to construct the digest.¶
Herein, SHA384 ([RFC6234]), with
Hash Algorithm value 1, is the only standardized Hash Algorithm
defined for ZONEMD records that MUST be supported
by implementations
SHA512 ([RFC6234]), with Hash
Algorithm value 2, is also defined for ZONEMD records and
SHOULD be supported by implementations
Hash Algorithm values 240-254 are allocated for Private Use.¶
The "ZONEMD Hash Algorithms" registry is further described in Section 5.¶
2.2.4. The Digest Field
The Digest field is a variable-length sequence of octets containing the output of the hash algorithm. The length of the Digest field is determined by deducting the fixed size of the Serial, Scheme, and Hash Algorithm fields from the RDATA size in the ZONEMD RR header.¶
The Digest field MUST NOT be shorter than 12 octets. Digests for the SHA384 and SHA512 hash algorithms specified herein are never truncated. Digests for future hash algorithms MAY be truncated but MUST NOT be truncated to a length that results in less than 96 bits (12 octets) of equivalent strength.¶
Section 3 describes how to calculate the digest for a zone. Section 4 describes how to use the digest to verify the contents of a zone.¶
2.3. ZONEMD Presentation Format
The presentation format of the RDATA portion is as follows:¶
2.4. ZONEMD Example
The following example shows a ZONEMD RR in presentation format:¶
2.5. Including ZONEMD RRs in a Zone
The zone operator chooses an appropriate hash algorithm and scheme and includes the calculated zone digest in the apex ZONEMD RRset. The zone operator MAY choose any of the defined hash algorithms and schemes, including the Private Use code points.¶
The ZONEMD RRset MAY contain multiple records to support algorithm agility ([BCP201]). When multiple ZONEMD RRs are present, each MUST specify a unique Scheme and Hash Algorithm tuple. It is RECOMMENDED that a zone include only one ZONEMD RR, unless the zone operator is in the process of transitioning to a new scheme or hash algorithm.¶
3. Calculating the Digest
The algorithm described in this section is designed for the
common case of offline DNSSEC signing.
Slight deviations may be permitted or necessary in other
situations, such as with unsigned zones or online DNSSEC signing.
Implementations that deviate from the described algorithm are
advised to ensure that it produces ZONEMD RRs, signatures,
and denial
3.1. Add ZONEMD Placeholder
In preparation for calculating the zone digest(s), any existing ZONEMD records (and covering RRSIGs) at the zone apex are first deleted.¶
Prior to calculation of the digest, and prior to signing with
DNSSEC, one or more placeholder ZONEMD records are added to the
zone apex. This
ensures that
denial
When multiple ZONEMD RRs are published in the zone, e.g., during an algorithm rollover, each MUST specify a unique Scheme and Hash Algorithm tuple.¶
It is RECOMMENDED that the TTL of the ZONEMD record match the TTL of the Start of Authority (SOA). However, the TTL of the ZONEMD record may be safely ignored during verification in all cases.¶
In the placeholder record, the Serial field is set to the current SOA Serial. The Scheme field is set to the value for the chosen collation scheme. The Hash Algorithm field is set to the value for the chosen hash algorithm. Since apex ZONEMD records are excluded from digest calculation, the value of the Digest field does not matter at this point in the process.¶
3.2. Optionally, Sign the Zone
Following the addition of placeholder records, the zone may be signed with DNSSEC. When the digest calculation is complete, and the ZONEMD record is updated, the signature(s) for the ZONEMD RRset MUST be recalculated and updated as well. Therefore, the signer is not required to calculate a signature over the placeholder record at this step in the process, but it is harmless to do so.¶
3.3. Scheme-Specific Processing
Herein, only the SIMPLE collation scheme is defined. Additional schemes may be defined in future updates to this document.¶
3.3.1. The SIMPLE Scheme
For the SIMPLE scheme, the digest is calculated over the zone as a whole. This means that a change to a single RR in the zone requires iterating over all RRs in the zone to recalculate the digest. SIMPLE is a good choice for zones that are small and/or stable, but it is probably not good for zones that are large and/or dynamic.¶
Calculation of a zone digest requires RRs to be processed in a consistent format and ordering. This specification uses DNSSEC's canonical on-the-wire RR format (without name compression) and ordering as specified in Sections 6.1, 6.2, and 6.3 of [RFC4034] with the additional provision that RRsets having the same owner name MUST be numerically ordered, in ascending order, by their numeric RR TYPE.¶
3.3.1.1. SIMPLE Scheme Inclusion/Exclusion Rules
When iterating over records in the zone, the following
inclusion
3.3.1.2. SIMPLE Scheme Digest Calculation
A zone digest using the SIMPLE scheme is calculated by
concatenating all RRs in the zone, in the format and order
described in Section 3.3.1
subject to the inclusion
3.4. Update ZONEMD RR
The calculated zone digest is inserted into the placeholder ZONEMD RR. Repeat for each digest if multiple digests are to be published.¶
If the zone is signed with DNSSEC, the RRSIG record(s) covering the ZONEMD
RRset MUST then be added or updated. Because the ZONEMD placeholder was added prior to signing,
the zone will already have the appropriate denial
Some DNSSEC implementations (especially "online signing") might update the SOA serial number whenever a new signature is made. To preserve the calculated digest, generation of a ZONEMD signature MUST NOT also result in a change to the SOA serial number. The ZONEMD RR and the matching SOA MUST be published at the same time.¶
4. Verifying Zone Digest
The recipient of a zone that has a ZONEMD RR verifies the zone by calculating the digest as follows:¶
Each time zone verification is performed, the verifier SHOULD report the status as either successful or unsuccessful. When unsuccessful, the verifier SHOULD report the reason(s) that verification did not succeed.¶
5. IANA Considerations
5.1. ZONEMD RRtype
This document defines a new DNS RR type, ZONEMD, whose value 63 has been allocated by IANA from the "Resource Record (RR) TYPEs" subregistry of the "Domain Name System (DNS) Parameters" registry:¶
5.2. ZONEMD Scheme
IANA has created a new subregistry in the "Domain Name System (DNS) Parameters" registry as follows:¶
- Registry Name:
- ZONEMD Schemes¶
- Registration Procedure:
- Specification Required¶
- Reference:
- [RFC8976]¶
6. Security Considerations
6.1. Using Zone Digest without DNSSEC
Users of ZONEMD with unsigned zones are advised that it provides no real protection against attacks. While zone digests can be used in the absence of DNSSEC, this only provides protection against accidental zone corruption such as transmission errors and truncation. When used in this manner, it effectively serves only as a checksum. For zones not signed with DNSSEC, an attacker can make any zone modifications appear to be valid by recomputing the Digest field of a ZONEMD RR.¶
6.2. Attacks against the Zone Digest
An attacker, whose goal is to modify zone content before it is used by the victim, may consider a number of different approaches.¶
The attacker might perform a downgrade attack to an unsigned zone. This is why Section 4 talks about determining whether or not to expect DNSSEC signatures for the zone in step 1.¶
The attacker might perform a downgrade attack by removing
one or more ZONEMD records. Such a removal is detectable only with DNSSEC
validation and is why Section 4
talks about checking denial
The attacker might alter the Scheme, Hash Algorithm, or Digest fields of the ZONEMD record. Such modifications are detectable only with DNSSEC validation.¶
As stated in [BCP201], cryptographic algorithms age and become weaker as cryptanalysis techniques and computing resources improve with time. Implementors and publishers of zone digests should anticipate the need for algorithm agility on long timescales.¶
6.3. Use of Multiple ZONEMD Hash Algorithms
When a zone publishes multiple ZONEMD RRs, the overall security is only as good as the weakest hash algorithm in use. For this reason, Section 2 recommends only publishing multiple ZONEMD RRs when transitioning to a new scheme or hash algorithm. Once the transition is complete, the old scheme or hash algorithm should be removed from the ZONEMD RRset.¶
6.4. DNSSEC Timing Considerations
As with all DNSSEC signatures, the ability to perform signature validation of a ZONEMD record is limited in time. If the DS record(s) or trust anchors for the zone to be verified are no longer available, the recipient cannot validate the ZONEMD RRset. This could happen even if the ZONEMD signature is still current (not expired), since the zone's DS record(s) may have been withdrawn following a Key Signing Key (KSK) rollover.¶
For zones where it may be important to validate a ZONEMD RRset through its entire signature validity period, the zone operator should ensure that KSK rollover timing takes this into consideration.¶
6.5. Attacks Utilizing ZONEMD Queries
Nothing in this specification prevents clients from making, and servers from responding to, ZONEMD queries. Servers SHOULD NOT calculate zone digests dynamically (for each query) as this can be used as a CPU resource exhaustion attack.¶
ZONEMD responses could be used in
a distributed denial
6.6. Resilience and Fragility
ZONEMD is used to detect incomplete or corrupted zone data prior to
its use, thereby increasing resilience by not using corrupt data,
but also introduces some denial
Zone publishers may want to deploy ZONEMD gradually perhaps by utilizing one of the Private Use hash algorithm code points listed in Section 5.3. Similarly, recipients may want to initially configure verification failures only as a warning, and later as an error after gaining experience and confidence with the feature.¶
7. Performance Considerations
This section is provided to make zone publishers aware of the performance requirements and implications of including ZONEMD RRs in a zone.¶
7.1. SIMPLE SHA384
As mentioned previously, the SIMPLE scheme may be impractical for use in zones that are either large or highly dynamic. Zone publishers should carefully consider the use of ZONEMD in such zones since it might cause consumers of zone data (e.g., secondary name servers) to expend resources on digest calculation. For such use cases, it is recommended that ZONEMD only be used when digest calculation time is significantly less than propagation times and update intervals.¶
The authors' implementation (Appendix B.1) includes an option to record and report CPU usage of its operation. The software was used to generate digests for more than 800 Top-Level Domain (TLD) zones available from [CZDS]. The table below summarizes the results for the SIMPLE scheme and SHA384 hash algorithm grouped by zone size. The Rate column is the mean amount of time per RR to calculate the digest, running on commodity hardware in early 2020.¶
For example, based on the above table, it takes approximately 0.13 seconds to calculate a SIMPLE SHA384 digest for a zone with 22,000 RRs, and about 2.5 seconds for a zone with 300,000 RRs.¶
These benchmarks attempt to emulate a worst-case scenario and take into account the time required to canonicalize the zone for processing. Each of the 800+ zones were measured three times and then averaged, with a different random sorting of the input data prior to each measurement.¶
8. Privacy Considerations
This specification has no impact on user privacy.¶
9. References
9.1. Normative References
- [RFC1034]
-
Mockapetris, P., "Domain names - concepts and facilities", STD 13, RFC 1034, DOI 10
.17487 , , <https:///RFC1034 www >..rfc -editor .org /info /rfc1034 - [RFC1035]
-
Mockapetris, P., "Domain names - implementation and specification", STD 13, RFC 1035, DOI 10
.17487 , , <https:///RFC1035 www >..rfc -editor .org /info /rfc1035 - [RFC2119]
-
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10
.17487 , , <https:///RFC2119 www >..rfc -editor .org /info /rfc2119 - [RFC4034]
-
Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose, "Resource Records for the DNS Security Extensions", RFC 4034, DOI 10
.17487 , , <https:///RFC4034 www >..rfc -editor .org /info /rfc4034 - [RFC6234]
-
Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, DOI 10
.17487 , , <https:///RFC6234 www >..rfc -editor .org /info /rfc6234 - [RFC8174]
-
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10
.17487 , , <https:///RFC8174 www >..rfc -editor .org /info /rfc8174
9.2. Informative References
- [BCP201]
-
Housley, R., "Guidelines for Cryptographic Algorithm Agility and Selecting Mandatory<https://
-to , BCP 201, RFC 7696, .-Implement Algorithms" www >.rfc -editor .org /info /bcp201 - [CZDS]
-
Internet Corporation for Assigned Names and Numbers (ICANN), "Centralized Zone Data Service", , <https://
czds >..icann .org / - [DISK
-FULL -FAILURE] -
DENIC, "Background of the Partial Failure of the Name Service for .de Domains", , <https://
web >..archive .org /web /20100618032705 /https ://www .denic .de /en /denic -in -dialogue /news /2733 .html - [DNS-TOOLS]
-
"DNS tools for zone signature (file, pkcs11-hsm) and validation, and zone digest (ZONEMD)", commit 489de21, , <https://
github >..com /niclabs /dns -tools - [DPRIVE
-XFR -OVER -TLS] -
Toorop, W., Dickinson, S., Sahib, S., Aras, P., and A. Mankin, "DNS Zone Transfer
-over , Work in Progress, Internet-Draft, draft-TLS" -ietf , , <https://-dprive -xfr -over -tls -05 tools >..ietf .org /html /draft -ietf -dprive -xfr -over -tls -05 - [InterNIC]
-
InterNIC, "Index of ftp://
rs , , <ftp://.internic .net /" ftp >..internic .net /domain / - [LDNS
-ZONE -DIGEST] -
"Implementation of Message Digests for DNS Zones using the ldns library", commit 71c0cd1, , <https://
github >..com /verisign /ldns -zone -digest - [RFC1995]
-
Ohta, M., "Incremental Zone Transfer in DNS", RFC 1995, DOI 10
.17487 , , <https:///RFC1995 www >..rfc -editor .org /info /rfc1995 - [RFC2065]
-
Eastlake 3rd, D. and C. Kaufman, "Domain Name System Security Extensions", RFC 2065, DOI 10
.17487 , , <https:///RFC2065 www >..rfc -editor .org /info /rfc2065 - [RFC2136]
-
Vixie, P., Ed., Thomson, S., Rekhter, Y., and J. Bound, "Dynamic Updates in the Domain Name System (DNS UPDATE)", RFC 2136, DOI 10
.17487 , , <https:///RFC2136 www >..rfc -editor .org /info /rfc2136 - [RFC2535]
-
Eastlake 3rd, D., "Domain Name System Security Extensions", RFC 2535, DOI 10
.17487 , , <https:///RFC2535 www >..rfc -editor .org /info /rfc2535 - [RFC2931]
-
Eastlake 3rd, D., "DNS Request and Transaction Signatures ( SIG(0)s )", RFC 2931, DOI 10
.17487 , , <https:///RFC2931 www >..rfc -editor .org /info /rfc2931 - [RFC3258]
-
Hardie, T., "Distributing Authoritative Name Servers via Shared Unicast Addresses", RFC 3258, DOI 10
.17487 , , <https:///RFC3258 www >..rfc -editor .org /info /rfc3258 - [RFC4033]
-
Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose, "DNS Security Introduction and Requirements", RFC 4033, DOI 10
.17487 , , <https:///RFC4033 www >..rfc -editor .org /info /rfc4033 - [RFC4035]
-
Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose, "Protocol Modifications for the DNS Security Extensions", RFC 4035, DOI 10
.17487 , , <https:///RFC4035 www >..rfc -editor .org /info /rfc4035 - [RFC4880]
-
Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer, "OpenPGP Message Format", RFC 4880, DOI 10
.17487 , , <https:///RFC4880 www >..rfc -editor .org /info /rfc4880 - [RFC5155]
-
Laurie, B., Sisson, G., Arends, R., and D. Blacka, "DNS Security (DNSSEC) Hashed Authenticated Denial of Existence", RFC 5155, DOI 10
.17487 , , <https:///RFC5155 www >..rfc -editor .org /info /rfc5155 - [RFC5936]
-
Lewis, E. and A. Hoenes, Ed., "DNS Zone Transfer Protocol (AXFR)", RFC 5936, DOI 10
.17487 , , <https:///RFC5936 www >..rfc -editor .org /info /rfc5936 - [RFC8126]
-
Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10
.17487 , , <https:///RFC8126 www >..rfc -editor .org /info /rfc8126 - [RFC8484]
-
Hoffman, P. and P. McManus, "DNS Queries over HTTPS (DoH)", RFC 8484, DOI 10
.17487 , , <https:///RFC8484 www >..rfc -editor .org /info /rfc8484 - [RFC8499]
-
Hoffman, P., Sullivan, A., and K. Fujiwara, "DNS Terminology", BCP 219, RFC 8499, DOI 10
.17487 , , <https:///RFC8499 www >..rfc -editor .org /info /rfc8499 - [RFC8551]
-
Schaad, J., Ramsdell, B., and S. Turner, "Secure
/Multipurpose , RFC 8551, DOI 10Internet Mail Extensions (S/MIME) Version 4.0 Message Specification" .17487 , , <https:///RFC8551 www >..rfc -editor .org /info /rfc8551 - [RFC8806]
-
Kumari, W. and P. Hoffman, "Running a Root Server Local to a Resolver", RFC 8806, DOI 10
.17487 , , <https:///RFC8806 www >..rfc -editor .org /info /rfc8806 - [RFC8901]
-
Huque, S., Aras, P., Dickinson, J., Vcelak, J., and D. Blacka, "Multi-Signer DNSSEC Models", RFC 8901, DOI 10
.17487 , , <https:///RFC8901 www >..rfc -editor .org /info /rfc8901 - [RFC8945]
-
Dupont, F., Morris, S., Vixie, P., Eastlake 3rd, D., Gudmundsson, O., and B. Wellington, "Secret Key Transaction Authentication for DNS (TSIG)", STD 93, RFC 8945, DOI 10
.17487 , , <https:///RFC8945 www >..rfc -editor .org /info /rfc8945 - [ROOT-SERVERS]
-
Root Server Operators, "root
-servers , , <https://.org" www >..root -servers .org / - [RPZ]
-
Wikipedia, "Response policy zone", , <https://
en >..wikipedia .org /w /index .php ?title =Response _policy _zone &oldid =960043728 - [ZONE
-DIGEST -HACKATHON] -
"Prototype implementation of ZONEMD for the IETF 102 hackathon", commit 76ad7a7, , <https://
github >..com /shane -kerr /Zone Digest Hackathon - [ZONE
-DIGEST -TESTS] -
IETF, "RFC 8976 ZONEMD Test Cases", , <https://
trac >..ietf .org /trac /dnsop /wiki /RFC8976ZONEMDTe st Cases
Appendix A. Example Zones with Digests
This appendix contains example zones with accurate ZONEMD records.
These can be used to verify an implementation of the zone digest
protocol. Additional and more extensive test cases can be found via
the ZONEMD Tests Wiki ([ZONE
A.1. Simple EXAMPLE Zone
Here, the EXAMPLE zone contains an SOA record, NS and glue records, and a ZONEMD record.¶
A.2. Complex EXAMPLE Zone
Here, the EXAMPLE zone contains duplicate RRs, an occluded RR, uppercase names, a wildcard, a multi-record RRset, a non-apex ZONEMD RR, and one out-of-zone RR.¶
A.3. EXAMPLE Zone with Multiple Digests
Here, the EXAMPLE zone contains multiple ZONEMD records. It has both SHA384 and SHA512 digests using the SIMPLE scheme. It also includes ZONEMD records with Scheme and Hash Algorithm values in the private range (240-254). These additional private-range digests are not verifiable.¶
A.4. The URI.ARPA Zone
The following sample zone is the URI.ARPA zone retrieved 2021-01-21. Note this sample zone has been re-signed with unpublished keys, so that the added ZONEMD RR also has a signature.¶
A.5. The ROOT-SERVERS.NET Zone
The following sample zone is the ROOT
Appendix B. Implementation Status
This section records the status of known implementations of the protocol defined by this specification at the time of publication, and is inspired by the concepts described in RFC 7942.¶
Please note that the listing of any individual implementation here does not imply endorsement by the IETF. Furthermore, no effort has been spent to verify the information presented here that was supplied by IETF contributors. This is not intended as, and must not be construed to be, a catalog of available implementations or their features. Readers are advised to note that other implementations may exist.¶
B.2. Shane Kerr's Implementation
Shane Kerr wrote an implementation of this
specification during the IETF 102 hackathon ([ZONE
This implementation does not:¶
B.3. NIC Chile Lab's Implementation
NIC Chile Labs wrote an implementation of this specification as part of "dns-tools" suite ([DNS-TOOLS]), which besides digesting, can also sign and verify zones. This implementation is in Go and is able to perform the following functions:¶
Acknowledgments
The authors wish to thank David Blacka, Scott Hollenbeck, and Rick Wilhelm for providing feedback on early drafts of this document. Additionally, they thank Joe Abley, Mark Andrews, Ralph Dolmans, Donald Eastlake 3rd, Richard Gibson, Olafur Gudmundsson, Bob Harold, Paul Hoffman, Evan Hunt, Shumon Huque, Tatuya Jinmei, Mike St. Johns, Burt Kaliski, Shane Kerr, Matt Larson, Barry Leiba, John Levine, Ed Lewis, Matt Pounsett, Mukund Sivaraman, Petr Spacek, Ondrej Sury, Willem Toorop, Florian Weimer, Tim Wicinski, Wouter Wijngaards, Paul Wouters, and other members of the DNSOP Working Group for their input.¶
The authors would again like to thank Tim Wicinski, who served as the Document Shepherd for this document.¶