Lesson 4 of 9 · 26m
DNSSEC Chain of Trust Without the Magic
Understand DNSKEYs, RRSIGs, DS records, validation states, and why DNSSEC failures look like total outages.
DNSSEC does not encrypt DNS. It signs DNS. That distinction saves you from a decade of bad vendor explanations. DNSSEC lets a validating resolver prove that the answer came from the zone's keys and was not modified in transit. It says nothing about whether the content is the right business decision, and it does nothing for confidentiality.
The chain is parent to child
A zone has DNSKEY records. Key-signing keys sign zone-signing keys, and zone-signing keys sign record sets. The parent publishes a DS record that identifies the child's key-signing key. Validation links those pieces:
root trust anchor
-> signed .org zone
-> DS for sudosecurity.org
-> DNSKEY in sudosecurity.org
-> RRSIG over www.sudosecurity.org ABreak any link and validating resolvers return SERVFAIL. Non-validating resolvers may continue returning the answer. That is why DNSSEC incidents often look like partial Internet outages rather than clean failures.
Inspect the pieces directly
dig sudosecurity.org DNSKEY @1.1.1.1 +dnssec +multi
dig sudosecurity.org DS @1.1.1.1 +short
dig www.sudosecurity.org A @1.1.1.1 +dnssecWith +dnssec, look for RRSIG beside the answer and check the flags. On a validating resolver, ad means the resolver authenticated the data according to its policy. You can force validation checking behavior with +cd — checking disabled — to compare outcomes:
dig www.sudosecurity.org A @1.1.1.1
dig www.sudosecurity.org A @1.1.1.1 +cdIf the first is SERVFAIL and the second is NOERROR, suspect validation rather than missing zone data.
Signatures expire by design
An RRSIG has inception and expiration times. Operators sometimes focus on key rollover and forget signature lifetime. A signer outage can leave otherwise correct data with stale signatures. Validation then fails even though every A record looks correct to non-validating clients.
dig www.sudosecurity.org A @8.8.8.8 +dnssec +noall +answer +rrcommentsRead signature validity timestamps carefully and compare them with the resolver's clock. Time synchronization is security infrastructure here, not a nicety.
DNSSEC is a binary user experience
End users do not receive a certificate warning they can click through. Validation failure is resolution failure. That means deployment must be staged with measurement: validate from multiple resolvers, monitor signed zone freshness, alert before RRSIG expiration, and test DS changes from outside your own network.
Field notes
SERVFAILis a symptom, not a DNSSEC diagnosis; compare+cd, direct authoritative queries, and multiple validating resolvers.- Do not publish a DS record until the child DNSKEY and signatures are stable and visible globally.
- DNSSEC authenticates denial of existence through NSEC or NSEC3; those records matter during NXDOMAIN debugging.
- A misconfigured firewall that fragments or drops large UDP responses can break signed lookups before validation even starts.
Was this lesson helpful?