DS record
termnetworkingsecuritycryptography
Kept in this browser · My desk
Stands for: Delegation Signer
A DS (Delegation Signer, type 43) record, published by a parent zone, holds the key tag, algorithm and a hash of one of the child zone's DNSKEYs, linking the two zones in the DNSSEC chain of trust.
The DS record is how DNSSEC (DNS Security Extensions) crosses a delegation. The parent signs a DS that says, in effect, "the child's key is the one whose digest is this". A validator that trusts the parent hashes the child's DNSKEY, compares the result with the DS and, if they match, trusts that key and everything it signs. A missing DS proven by the parent makes the child insecure; a DS that matches no key makes it bogus.
What it is. RFC (Request for Comments) 4034 (March 2005) defines the DS (Delegation Signer) record: "The type number for the DS record is 43", and its record data (RDATA) is "a 2 octet Key Tag field, a 1 octet Algorithm field, a 1 octet Digest Type field, and a Digest field". The DS lives in the parent zone, at the name of the delegation, and is signed by the parent's keys like any other RRset; it is the one record type the parent, not the child, is authoritative for at the child's name.
Where it came from. RFC 3658 (December 2003, O. Gudmundsson) introduced the DS record as "a modification to the DNS Security Extensions definition, motivated by operational considerations": a record "inserted at a zone cut" to say that the child is signed and recognizes the indicated DNSKEY (DNS public key) as a zone key, "an explicit statement about the delegation, rather than relying on inference", at the price of being "not backwards compatible with RFC 2535". RFC 4034 folded it into DNSSEC (the DNS Security Extensions) in March 2005 and obsoleted RFC 3658. Digest type 2, SHA-256 (Secure Hash Algorithm, 256 bits), came with RFC 4509 (May 2006, W. Hardaker), and type 4, SHA-384, with RFC 6605.
How the digest is made. "The digest is calculated by concatenating the canonical form of the fully qualified owner name of the DNSKEY RR with the DNSKEY RDATA, and then applying the digest algorithm": digest = algorithm(owner name | Flags | Protocol | Algorithm | Public Key), the owner name in lower-case wire form. RFC 4034's example publishes a DNSKEY for dskey.example.com ("key id = 60485") and the DS "60485 5 1 2BB183AF5F22588179A53B0A98631FAD1A292118"; RFC 4509 (May 2006) gives the SHA-256 version of the same link, digest type 2, "D4B7D520E7BB5F0F67674A0CCEB1E3E0614B93C4F9E99B8383F6A1E4469DA50A". Recomputed on 2026-11-23, both digests and the key tag match the printed values, and RFC 8080's Ed25519 example DS records (key tags 3613 and 35217, digest type 2) match their keys as well, which makes these three RFCs the natural test vectors for any DS checker.
A real link, recomputed. On 23 November 2026 the root zone, asked at a.root-servers.net, published "br. 86400 IN DS 38298 13 2 9F2D4993F47B0F2751DE0007D70A2754EE532FE373761154D9EA7A8CB9D8EA18", the record that the root zone database of IANA (the Internet Assigned Numbers Authority) shows for .br (last updated 2023-11-14). From a.dns.br, .br published two DNSKEY records of algorithm 13, ECDSA (Elliptic Curve Digital Signature Algorithm) P-256 with SHA-256, one with flags 256 and one with flags 257. For the second, the digest input is the owner name in wire form, 02 62 72 00, followed by the 68-octet RDATA: 01 01 (flags 257), 03 (protocol), 0d (algorithm 13) and the 64-octet public key. SHA-256 over those 72 octets gives 9F2D4993...B9D8EA18 exactly, and the key tag computed over the same RDATA is 38298, the tag that also signs the child's DNSKEY set. In the root the DS is covered by an RRSIG (resource record signature) of algorithm 8 made with the root's key 8763: a DS is parent data, signed with the parent's key.
The key tag. It is not a hash but a checksum: RFC 4034, Appendix B, sums the DNSKEY RDATA in 16-bit groups, folds the carry and keeps 16 bits (algorithm 1 uses a different rule). It only narrows the search: "it is essential to note that the key tag is not a unique identifier", so validators must try every key that matches.
Rules a validator applies. The DNSKEY a DS points to "MUST be a DNSSEC zone key", with Flags bit 7 set, or the DS and key "MUST NOT be used" (section 5.2). The IANA (Internet Assigned Numbers Authority) registry of DS digest types, read on 2026-11-23, marks SHA-1 (1) MUST NOT for delegation but still RECOMMENDED for validation, SHA-256 (2) MUST to implement and RECOMMENDED, SHA-384 (4) MAY, and the GOST digest (3) MUST NOT; an unsupported algorithm or digest makes the child count as unsigned rather than broken. In presentation form the digest is hexadecimal, case-insensitive, with whitespace allowed.
Digest rules today. RFC 9904 (November 2025) moved the DS digest recommendations into IANA's registry columns without changing them, and RFC 9905 then deprecated SHA-1 there: digest type 1 MUST NOT be used for delegation while validators keep it. RFC 9905 adds that the RSASHA1 algorithms "MUST NOT be used when creating DS records" and that validating resolvers "MUST treat" such DS records as insecure. RFC 6840, section 5.2, had already said that a DS with an unknown digest is treated like one pointing to an unknown key algorithm. The registry read on 23 November 2026 also marks the old GOST digest (3) MUST NOT for validation, through RFC 9906, and lists GOST R 34.11-2012 (5) and SM3 (6) as MAY.
In operation. A zone operator generates the DS from its key-signing key and gives it to the parent, usually through the registrar; publishing a DS for a key that is not yet in the child's DNSKEY RRset, or removing the key while the DS remains, breaks validation for the whole zone until caches expire. The root's own trust anchor is published in the same DS form.
Automating the handover. The step that most often breaks is the copy from child to parent. RFC 7344 (September 2014, W. Kumari, O. Gudmundsson and G. Barwood, Informational) lets the child publish CDS (child DS) and CDNSKEY (child DNSKEY) records that state what it wants in the parent; RFC 8078 (March 2017, O. Gudmundsson and P. Wouters) adds initial enablement and the delete forms "CDS 0 0 0 0" and "CDNSKEY 0 3 0 0"; RFC 9615 (July 2024, P. Thomassen and N. Wisiol) lets a parent accept the first DS through authenticated signals from the zone's operator; and RFC 9859 (September 2025) lets the child send a NOTIFY to the parent instead of waiting for a scan. BIND's parental-agents option queries the parent to see that a new DS "is actually published before withdrawing the old DNSSEC key".
The top of the chain. The root has no parent, so its DS is handed to resolvers out of band. IANA's root-anchors.xml lists, in DS form with algorithm 8 and digest type 2, key tag 19036 (valid from 15 July 2010 to 11 January 2019), key tag 20326 (from 2 February 2017, digest E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D) and key tag 38696 (from 18 July 2024); a validating resolver starts every chain from such a trust anchor, then follows DS to DNSKEY, zone by zone.
How it differs. The DS is the only DNSSEC record a parent publishes about a child, and the only link between two zones' keys. The DNSKEY it points to lives in the child; the RRSIG that covers it lives in the parent and is made with the parent's key; a trust anchor is the same digest configured in the resolver instead of fetched. Changing a DS is therefore a change made through the parent's operator, usually the registrar, never by editing the child zone.
Also known as: ds, delegation signer, ds rr, rr type 43
Sources
- IETF, RFC 4034, Resource Records for the DNS Security Extensions (R. Arends et al.), March 2005 (read 2026-11-23): RRSIG type 46 and DS type 43, their wire and presentation formats, examples, canonical form and the key tag of Appendix B
- IETF, RFC 4509, Use of SHA-256 in DNSSEC Delegation Signer (DS) Resource Records (W. Hardaker), May 2006 (read 2026-11-23): section 2.3, the SHA-256 DS example for the RFC 4034 key
- IETF, RFC 8080, Edwards-Curve Digital Security Algorithm (EdDSA) for DNSSEC (O. Sury, R. Edmonds), February 2017 (read 2026-11-23): section 6 examples (Ed25519 and Ed448 DNSKEY, DS and RRSIG)
- IANA, Delegation Signer (DS) Resource Record Digest Algorithms, CSV export (read 2026-11-23): SHA-1 MUST NOT for delegation, SHA-256 MUST implement and RECOMMENDED, SHA-384 MAY
- IANA, DNS Security Algorithm Numbers, CSV export (read 2026-11-23): algorithms 8, 13 and 15 RECOMMENDED for signing; 5 and 7 MUST NOT for signing
- IETF, RFC 3658, Delegation Signer (DS) Resource Record (O. Gudmundsson), December 2003, obsoleted by RFC 4034 (read 2026-11-23): the DS RR at the zone cut as an explicit statement that the child is signed and recognizes the indicated key; not backwards compatible with RFC 2535; updates RFC 1035, 2535, 3008 and 3090
- IANA, Root Zone Database, .br (read 2026-11-23): manager Comite Gestor da Internet no Brasil; name servers a.dns.br to f.dns.br with IPv4 and IPv6 addresses; secure delegation, DS 38298 13 2 9f2d4993f47b0f2751de0007d70a2754ee532fe373761154d9ea7a8cb9d8ea18; last updated 2023-11-14
- IANA, root-anchors.xml, the root zone trust anchors (read 2026-11-23): key tag 19036 valid 2010-07-15 to 2019-01-11; 20326 valid from 2017-02-02, digest E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D; 38696 valid from 2024-07-18, digest 683D2D0ACB8C9B712A1948B27F741219298D0A450D612C483AF444A4C0FB2B16; all algorithm 8, digest type 2, flags 257
- IETF, RFC 6840, Clarifications and Implementation Notes for DNS Security (DNSSEC) (S. Weiler, D. Blacka, eds.), February 2013, updates RFC 4033 to 4035 and 5155 (read 2026-11-23): 5.2 unknown DS digests treated as unknown algorithms; 5.4 a resolver SHOULD accept any valid RRSIG and call an RRset bogus only if all fail; 5.5 the key tag of algorithm 1; copy taken at 18:00 by the DNS research
- IETF, RFC 9904, DNSSEC Cryptographic Algorithm Recommendation Update Process (W. Hardaker, W. Kumari), November 2025, obsoletes RFC 8624, updates RFC 9157 (read 2026-11-23): the canonical recommendations move to IANA registry columns Use for and Implement for (signing or delegation, and validation); statuses of RFC 8624 unchanged; Tables 2 and 3
- IETF, RFC 9905, Deprecating the Use of SHA-1 in DNSSEC Signature Algorithms (W. Hardaker, W. Kumari), November 2025, updates RFC 4034 and 5155 (read 2026-11-23): RSASHA1 (5) and RSASHA1-NSEC3-SHA1 (7) MUST NOT be used to create DS, DNSKEY or RRSIG records; validators keep the code but operators treat them as unsupported, so such answers are insecure; DS digest SHA-1 MUST NOT for delegation
- IETF, RFC 7344, Automating DNSSEC Delegation Trust Maintenance (W. Kumari, O. Gudmundsson, G. Barwood), September 2014, Informational (read 2026-11-23): CDS and CDNSKEY records published by the child for the parent to copy into its DS set
- IETF, RFC 8078, Managing DS Records from the Parent via CDS/CDNSKEY (O. Gudmundsson, P. Wouters), March 2017, updates RFC 7344 (read 2026-11-23): initial enablement and the delete forms CDS 0 0 0 0 and CDNSKEY 0 3 0 0
- IETF, RFC 9615, Automatic DNSSEC Bootstrapping Using Authenticated Signals from the Zone's Operator (P. Thomassen, N. Wisiol), July 2024, updates RFC 7344 and 8078 (read 2026-11-23): authenticated signals let a parent accept the first DS for a zone not yet securely delegated
- IETF, RFC 9859, Generalized DNS Notifications (J. Stenstam, P. Thomassen, J. Levine), September 2025 (read 2026-11-23): NOTIFY with qtype CDS or CSYNC from child to parent; the DSYNC record (type 66) under _dsync names the endpoint; scheme 1 NOTIFY; example IN DSYNC CDS NOTIFY 5359 cds-scanner.example.net.
- ISC, BIND 9 Administrator Reference Manual, Configuration Reference, parental-agents, 9.21.29-dev (read 2026-11-23): for a signed zone in a key rollover, BIND queries the parental agents to see whether the new DS is actually published before withdrawing the old DNSSEC key; copy taken at 18:01 by the DNS research