DNSSEC
DNS Security Extensions
DNSSEC (DNS Security Extensions) is a set of protocols that cryptographically signs DNS records so resolvers can verify the data came from the legitimate domain owner and has not been tampered with in transit.
Classic DNS was designed in 1983 with no security — any response a resolver accepted was treated as legitimate. DNSSEC, defined across RFCs 4033-4035 (2005) and extended later, fixes this by adding digital signatures over DNS records. A resolver that validates DNSSEC can verify that a response came from the authoritative name server and that no intermediate party modified the answer.
DNSSEC does not encrypt DNS — that is the role of DoH or DoT. DNSSEC and DoH solve different problems and are commonly combined in modern deployments.
How DNSSEC validates a response
DNSSEC introduces several record types that carry cryptographic information:
| Record | Purpose |
|---|---|
| RRSIG | Digital signature over a DNS record set |
| DNSKEY | Public key for the zone |
| DS | Hash of a child zone's DNSKEY, stored in the parent zone |
| NSEC / NSEC3 | Proves non-existence of a name without revealing the zone contents |
When a validating resolver requests www.example.com, it follows the chain of trust from the root zone down: the root signs .com's DS record, .com signs example.com's DS record, example.com signs the actual A record for www. The resolver verifies each signature using the previously-validated public key. If any link is broken, the response is rejected.
The chain of trust
Trust starts at the DNS root zone, which is signed by the root key (rotated by ICANN every few years). Each TLD (.com, .org, .uk) is signed by its registry with a key whose hash is published in the root. Each domain owner publishes their own DNSKEY records signed by their key, and registers the DS record with their registrar so it appears in the TLD zone.
This hierarchy means:
- A domain cannot be DNSSEC-signed unless its TLD is signed. All major TLDs are signed.
- A domain cannot be DNSSEC-signed unless the registrar publishes the DS record to the parent zone.
- If any link in the chain is broken (expired key, mismatched DS, etc.), the entire chain fails for that domain.
What DNSSEC protects against
- DNS cache poisoning (Kaminsky-style attacks). Without DNSSEC, an attacker who races the authoritative response can inject false records into a caching resolver. DNSSEC signatures make injected records detectable.
- On-path DNS hijacking. A network attacker between the resolver and authoritative server cannot forge responses without the signing keys.
- Registrar compromise (partially). If the attacker also controls the registrar relationship, they can publish their own DS record, defeating DNSSEC. Pure-software attacks against resolvers are stopped.
- BGP hijacking of DNS infrastructure (partially). Hijacked routing that redirects DNS traffic to attacker infrastructure cannot produce valid signatures.
What DNSSEC does NOT do
- Does not encrypt queries. Use DoH or DoT for that.
- Does not authenticate the resolver to the user. The resolver itself could lie to its clients (most users trust their resolver; this is part of why DoH+DNSSEC together matters).
- Does not prevent compromised key material from being used. If the domain owner's signing key is stolen, the attacker can sign forged records.
- Does not protect against attacks at the TLS layer. Even with verified DNS, MITM at the TLS layer is a separate concern.
The operational complexity
DNSSEC has a deserved reputation for operational complexity. The primary issues:
- Key rotation. Keys must be rotated periodically; the rotation process involves coordinating DNSKEY changes, DS changes at the registrar, and timing the propagation. Botched rotations have caused multi-hour outages for major sites.
- Algorithm migration. Moving from older algorithms (RSA-SHA1) to modern ones (ECDSA P-256, Ed25519) requires careful coordination.
- Failure mode is "fails closed". A misconfigured DNSSEC chain takes the domain offline for any validating resolver. Without DNSSEC, configuration mistakes are silent.
- Provider lock-in considerations. Moving DNS providers while DNSSEC-signed requires careful key handoff to avoid validation failures during migration.
Modern managed DNS providers (Cloudflare, Route 53, Google Cloud DNS, NS1) automate key management, making DNSSEC effectively one-click. Self-managed deployments require more care.
Adoption status in 2026
DNSSEC adoption is uneven:
- Signed: ~5-10% of .com domains; 40%+ of .se, .nl, .cz; 80%+ of US federal .gov domains.
- Validating: Most major recursive resolvers (Cloudflare 1.1.1.1, Google 8.8.8.8, Quad9) validate. Many ISP resolvers do not.
- Visible to end users: Almost never. Browsers do not display DNSSEC status.
The low end-user visibility is part of why adoption has been slow: domain owners get little marketing value from signing, while bearing the operational cost.
Frequently Asked Questions
Does DNSSEC encrypt DNS queries?
No. DNSSEC provides authenticity and integrity — proving the DNS data came from the legitimate domain owner and was not modified — but does not encrypt the data. DNS queries with DNSSEC are still visible to network observers. For encryption, DoH or DoT is required. DNSSEC and DoH solve different problems and are commonly combined.
What percentage of domains use DNSSEC?
In 2026, roughly 5-10% of .com domains are DNSSEC-signed; adoption is higher for ccTLDs in Europe (40%+ in Sweden, Netherlands, Czech Republic) and very low (under 1%) in much of Asia and the Americas. Major financial, government, and infrastructure domains usually sign; most commercial sites do not. The slow adoption reflects operational complexity and limited end-user visibility.
What happens if DNSSEC validation fails?
A validating resolver returns SERVFAIL to the client when signatures fail to verify. This breaks DNS resolution for the affected domain — users cannot reach the site at all. This is intentional: failing closed is the security guarantee. However, the strict failure mode is also why DNSSEC operational mistakes (expired signatures, broken delegation) cause high-profile outages. Properly automating DNSSEC key rotation is critical.
Should I enable DNSSEC for my domain?
Yes if your DNS provider makes it easy (Cloudflare, Route 53, many modern providers offer one-click DNSSEC). Most DNS providers handle signing and key rotation automatically. The user-facing benefit is small because most browsers don't show DNSSEC status, but the protection against DNS hijacking, cache poisoning, and BGP-route-based attacks is real for high-value domains (financial, government, infrastructure).
Related Terms
More From This Section
All Networking Terms
A-to-Z networking and internet glossary.
5G
5G (Fifth Generation Cellular): 5G is the fifth generation of cellular wireless technology, offering peak speeds of…
API
An API is a defined contract that lets one piece of software request data or services from another — the basis of every…
Run a Speed Test
Measure download, upload, ping, and jitter in your browser.