Use this when signing zones or validating DNS answers with DNSSEC.
DNSSEC
DNSSEC adds digital signatures to DNS records so resolvers can verify they come from the zone owner and are unchanged. It uses RRSIG, DNSKEY and DS records in a chain of trust from the root.
1. DNSSEC signs zones so resolvers can validate answers.
2. Chain of trust from root via DS records.
3. Enable validation on resolvers.
4. Automate key rollovers.
5. Monitor signature expiry.
zone signed → DS at parent → resolver validates
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
dig +dnssec +multi example.com DNSKEYVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checking DNSSEC Verify boundary
dig +dnssec +multi example.com DNSKEY
dig example.com DS @a.gtld-servers.net
delv example.com
delv reports fully validated when the chain works. dnsviz.net visualises the chain and errors. Common failure: DS record at the parent not updated after a KSK rollover → SERVFAIL for validating resolvers.
Step 2 Common mistakes Narrow the fault
- Letting DS records expire or mismatch after key rollover.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- RRSIG, DNSKEY and DS form the chain of trust.
- Expired signatures break resolution.
- Key rollovers must be planned.
dig +dnssec +multi <domain> SOA— RRSIG presentdelv <domain>— validated resultdig @<validating-resolver> dnssec-failed.org— should SERVFAIL
ReferenceWhy it matters1 section · depth on demand
How DNSSEC works
Zones are signed (RRSIG records); the zone's public key (DNSKEY) is vouched for by a DS record in the parent zone, building a chain of trust from the root. Validating resolvers return SERVFAIL for bad signatures and set the AD flag on valid answers.
dig +dnssec example.com
delv example.com
Risks: expired signatures or mismatched DS after key rollover make the whole domain unresolvable for validating resolvers.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
DNSSEC adds digital signatures to DNS records so validating resolvers can verify that answers are authentic and unmodified. A chain of trust runs from the root zone through TLDs to individual zones via DS and DNSKEY records.
| Record | Purpose |
|---|---|
| DNSKEY | Zone's public keys (KSK and ZSK) |
| RRSIG | Signatures over record sets |
| DS | Hash of the child's KSK, published in the parent |
| NSEC/NSEC3 | Authenticated denial of existence |
dig +dnssec example.com A
dig DS example.com @a.gtld-servers.net
delv example.com # validates and explains
Operational risk: expired signatures or a mismatched DS record make the zone fail validation everywhere — automate signing and key rollovers (most DNS platforms do), and monitor validation externally.
Record types
| Record | Purpose |
|---|---|
| DNSKEY | Public keys of the zone (KSK and ZSK) |
| RRSIG | Signatures over record sets |
| DS | Hash of the child's KSK, published in the parent |
| NSEC / NSEC3 | Authenticated denial of existence |
| CDS / CDNSKEY | Child signals key changes to the parent |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in DNS Security → DNSSEC. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc4033 · confidence 94%