DS Record

Delegation Signer

Type code
43
Status
In use
Defined in
RFC 4034

What the DS record is for

DNSSEC validation works down the tree from a trusted key. A DS record is how a parent zone vouches for a child: it is published at the delegation point in the parent zone, signed with the parent zone keys, and contains a hash of one of the DNSKEY records in the child zone (usually the key-signing key).

A validating resolver that trusts the parent fetches the DS set, then fetches the child DNSKEY set and checks that one of those keys hashes to a DS digest and has signed the DNSKEY set. If that works, the child zone is trusted. If a delegation has no DS record, the child zone is treated as unsigned (insecure), even if it publishes DNSKEY and RRSIG records.

Unlike most records, DS lives on the parent side of a zone cut, so it is managed at the registrar or parent operator rather than in your own zone. The CDS and CDNSKEY records let a child signal the DS it wants without a manual change.

Wire format and fields

FieldSizeMeaning
Key Tag16 bitsThe key tag of the DNSKEY the digest refers to, computed as in RFC 4034 Appendix B. A hint for finding the key, not a unique identifier.
Algorithm8 bitsThe DNSSEC algorithm number of the referenced DNSKEY (e.g. 8 for RSASHA256, 13 for ECDSAP256SHA256).
Digest Type8 bitsThe hash used to build the digest: 1 is SHA-1, 2 is SHA-256 (RFC 4509), 4 is SHA-384 (RFC 6605).
DigestvariableThe hash of the DNSKEY owner name in canonical form followed by the DNSKEY RDATA.

Zone file syntax

<owner> <ttl> IN DS <key tag> <algorithm> <digest type> <digest (hex)>

Example

The DS record at cloudflare.com, fetched from live DNS on 27 November 2026:

cloudflare.com. 47178 IN DS 2371 13 2 32996839A6D808AFE3EB4A795A0E6A7A39A76FC52FF228B22B76F6D6 3826F2B9

Key tag 2371, algorithm 13 (ECDSA P-256 with SHA-256), digest type 2 (SHA-256). This record is served by the .com servers, not by cloudflare.com.

Common mistakes

  • Adding a DS at the registrar before the child zone is signed and serving the matching DNSKEY. Validating resolvers then fail every lookup for the domain (SERVFAIL).
  • Changing DNS providers or re-signing with a new key-signing key without updating the DS first. The old DS no longer matches any published key, so the domain goes bogus until it is fixed and caches expire.
  • Leaving a stale DS in place after turning off DNSSEC at the DNS host. The DS must be removed at the parent first, and the zone kept signed until the DS TTL has passed.
  • Publishing a DS whose algorithm field does not match the DNSKEY it refers to, for example after an algorithm rollover. Validators will not match it to the key.

Specifications

  • RFC 4034: Resource Records for the DNS Security Extensions
  • RFC 4509: Use of SHA-256 in DNSSEC Delegation Signer (DS) Resource Records (RRs) (Adds digest type 2, SHA-256.)
  • RFC 6605: Elliptic Curve Digital Signature Algorithm (DSA) for DNSSEC (Adds ECDSA algorithms 13 and 14 and digest type 4, SHA-384.)
  • RFC 6840: Clarifications and Implementation Notes for DNS Security (DNSSEC) (Clarifies how validators treat DS records with unknown or mixed algorithms.)
  • RFC 9904: DNSSEC Cryptographic Algorithm Recommendation Update Process (Replaces RFC 8624; algorithm and digest recommendations now live in the IANA registries.)
  • IANA DNS Resource Record (RR) TYPEs registry: type code and status

Related record types

Domain Intelligence APIs

Get started with our easy-to-use API docs.