DNSSEC (DNS Security Extensions)
DNSSEC is a set of extensions that add cryptographic signatures to DNS records, allowing a recursive resolver to verify that the answer it received really came from the zone owner.
In plain English
Plain DNS trusts whatever answer comes back, which is why cache-poisoning attacks have existed for decades. DNSSEC fixes that by signing every record so a tampered answer fails the signature check and gets thrown away.
How it works
DNSSEC is specified in RFC 4033 (intro), RFC 4034 (records), and RFC 4035 (protocol). Zone operators sign each RRset with a Zone-Signing Key (ZSK) producing RRSIG records, and publish the public key in a DNSKEY record. Trust is delegated up the tree using DS records in the parent zone — a hash of the child's Key-Signing Key (KSK). Validation proceeds from a hard-coded trust anchor at the root zone down to the queried name; if any link in that chain is missing or invalid, the resolver returns SERVFAIL. Authenticated denial of existence (proving that a name does not exist) uses NSEC or the hashed NSEC3 variant. DNSSEC adds extra bytes to responses, which is the main reason EDNS (RFC 6891) is required for it to be practical.
Related terms
- DNS — the protocol DNSSEC extends
- EDNS — required for DNSSEC's larger responses
- Recursive DNS — where validation happens
- Authoritative DNS — where signing happens
- TLD — the parent that publishes your DS record
- NXDOMAIN — authenticated by NSEC/NSEC3
- SOA — signed like every other record
SecDNS perspective
SecDNS resolvers validate DNSSEC by default and our authoritative platform signs every customer zone — broken signatures fail closed rather than silently returning a forged answer.