Record type reference
DS Record
A DS (delegation signer) record lives in the parent zone and holds a hash of the child zone’s signing key. It is the link that carries the DNSSEC chain of trust from the parent down to your domain.
DS record at a glance
| Field | Value |
|---|---|
| Type code | 43 |
| Defined in | RFC 4034, section 5 |
| Value | Key tag, algorithm, digest type and digest |
| Where it lives | In the parent zone, at the delegation point; you submit it through your registrar |
| Needed when | Your zone is signed with DNSSEC |
Here is how a DS record looks in a zone file:
example.com. 86400 IN DS 2371 13 2 1F987CC6583E92DF0890718C42A2A2A8B2B2B4A8E3F0C9A1D0B5E6F7A8B9C0D1
Read left to right: key tag 2371, algorithm 13 (ECDSA P-256 with SHA-256), digest type 2 (SHA-256), then the digest of the matching DNSKEY. The digest here is illustrative.
How DS fits the chain of trust
A validating resolver trusts the root zone's key. The root signs a DS record for com, com signs a DS record for example.com, and that DS must match a DNSKEY in your zone, usually your key signing key (KSK). If it matches and the signatures check out, the resolver trusts every signed answer in your zone.
Because the DS sits in the parent, you cannot publish it in your own zone. Your DNS provider generates it when you enable DNSSEC, and you (or your registrar, if it is also your DNS provider) submit it to the registry. Some registries pick up changes automatically from CDS records in the child zone (RFC 8078).
The fields
| Field | Meaning |
|---|---|
| Key tag | A short number identifying which DNSKEY this DS refers to |
| Algorithm | The signing algorithm of that key: 13 (ECDSA P-256) and 8 (RSA/SHA-256) are the most common |
| Digest type | The hash used: 2 (SHA-256) is standard; 1 (SHA-1) should no longer be used for new DS records (RFC 8624) |
| Digest | The hash of the DNSKEY record |
Changing or removing DS safely
A DS that matches no key in your zone breaks the chain, and validating resolvers return SERVFAIL for every name in the domain. That makes DS changes the riskiest part of DNSSEC:
- Moving DNS providers: either carry the keys across or remove the DS, wait for its TTL to expire, then move.
- Turning DNSSEC off: remove the DS first, wait out the parent's TTL (often one or two days), and only then stop signing.
- Key rollovers: publish the new DS alongside the old one, then remove the old one after caches have caught up. DNSSEC key rollovers has the timings.
How to look up a DS record
Each tool below sends the query to your default resolver unless you name a server. Swap in your own domain for example.com, and add a public resolver such as 1.1.1.1 to compare answers with what your network sees. delv, which ships with dig, validates the chain and reports where it breaks.
dig (macOS, Linux, WSL)
| Command | What it does |
|---|---|
| dig example.com DS | The DS set, as your resolver has it |
| dig +short example.com DS | Key tag, algorithm, digest type and digest |
| dig example.com DS @a.gtld-servers.net +norecurse | The DS exactly as the .com registry publishes it |
| dig +dnssec example.com DS | The DS with the parent’s RRSIG signature |
| delv example.com A | Validate the chain of trust; prints "fully validated" or the reason it failed |
nslookup (Windows, macOS, Linux)
| Command | What it does |
|---|---|
| nslookup -type=DS example.com | The DS set from your default DNS server |
| nslookup -type=DS example.com a.gtld-servers.net | The DS as the .com servers publish it |
PowerShell (Windows)
| Command | What it does |
|---|---|
| Resolve-DnsName -Name example.com -Type DS | The DS record with its fields as columns |
| Resolve-DnsName example.com -Type DS -DnssecOk | Also return the RRSIG that signs it |
| Resolve-DnsName example.com -Type DS -Server a.gtld-servers.net -NoRecursion | The DS straight from the .com servers |
If a signed domain suddenly fails everywhere, query it with dig +cd (checking disabled). An answer with +cd and SERVFAIL without it points at a DNSSEC problem, very often a DS that no longer matches.
Common mistakes
- Leaving the old DS in place after moving providers. The new provider’s keys do not match, and the domain goes dark for validating resolvers.
- Removing DNSSEC signing before the DS. Same result: a DS with nothing to match.
- Submitting the ZSK instead of the KSK. The DS should match the key flagged 257 in your DNSKEY set.
- Only a SHA-1 digest. Publish a SHA-256 (type 2) DS.
DS records in Domain Visualizer
Domain Visualizer looks up DS and DNSKEY at the apex on every scan. Together they show whether the domain is signed and linked to its parent; Security Posture reports a broken or missing chain as a finding.
FAQ
Where do I add a DS record?
At your registrar, not in your DNS zone. Your DNS provider gives you the DS values (or a DNSKEY to hash) when you enable DNSSEC, and the registrar passes them to the registry.
What happens if my DS record is wrong?
Validating resolvers, which serve a large share of internet users, return SERVFAIL for every name in your domain. Non-validating resolvers keep working, which can make the outage look partial.
Can I have more than one DS record?
Yes. Several DS records are normal during a key rollover or when a zone is signed by two providers. A resolver needs only one of them to match.
Sources and further reading
- RFC 4034: Resource Records for the DNS Security Extensions: section 5 defines DS
- RFC 8624: Algorithm Implementation Requirements and Usage Guidance for DNSSEC
- RFC 8078: Managing DS Records from the Parent via CDS/CDNSKEY
- BIND 9 manual: delv
- BIND 9 manual: dig
- Microsoft Learn: nslookup
- Microsoft Learn: Resolve-DnsName