DNSSEC has a reputation for being the DNS feature that can take a perfectly healthy domain offline. That reputation comes almost entirely from one scenario: a mismatch between what the registry says your keys are and what your DNS host actually signs with. When that happens, validating resolvers refuse to return any answer at all, and visitors see "site can't be reached" while the site itself is fine.
This guide explains what DNSSEC protects against, how the chain of trust is built from DS and DNSKEY records, how to enable it without drama, and how to diagnose the failure cases.
What DNSSEC does and does not do
Plain DNS answers carry no proof of origin. A resolver that receives a forged answer, for example through cache poisoning, has no way to tell. DNSSEC adds digital signatures (RRSIG records) to the records in a zone, so a validating resolver can check that each answer really came from the zone owner and was not altered.
DNSSEC does not encrypt anything. Anyone can still see which names you look up; privacy is the job of encrypted transports like DNS over HTTPS. It also does not protect the connection to the website itself; that is TLS.
The chain of trust
Signatures are only useful if the resolver trusts the key that made them. DNSSEC builds that trust from the root down:
- The resolver has the root key built in as a trust anchor.
- The root zone publishes a DS record for
.com(a hash of the.comkey) and signs it. - The
.comzone publishes a DS record forexample.comand signs it. - The
example.comzone publishes its DNSKEY records and signs its records with them.
The DS record at the parent is the link. It must match a DNSKEY in your zone. You do not publish the DS in your own zone; you submit it to your registrar, which sends it to the registry.
Most zones use two kinds of key:
| DNSKEY flags | Role | Purpose |
|---|---|---|
| 257 | KSK (key-signing key) | Signs the DNSKEY set; the DS at the parent points to it |
| 256 | ZSK (zone-signing key) | Signs the ordinary records in the zone |
Some providers use one combined key. Common modern algorithms are 13 (ECDSA P-256 with SHA-256) and 8 (RSA/SHA-256). Older algorithms such as 5 and 7 (RSA/SHA-1) should be replaced, and DS records should use digest type 2 (SHA-256) rather than 1 (SHA-1).
Check a domain's DNSSEC status
The DNSSEC Checker asks Google Public DNS, a validating resolver, for the SOA, A, DNSKEY and DS records with DNSSEC requested.
- Open the DNSSEC Checker and enter a domain such as
example.com. - Click Check DNSSEC.
- Read the headline status:
- DNSSEC signed and validated: the AD (Authenticated Data) flag is set, so the whole chain from the root validated.
- DNSSEC not enabled: no DNSKEY and no DS.
- Signed but chain of trust incomplete: the zone has DNSKEY records but no DS at the registry.
- DNSSEC broken: SERVFAIL from the validating resolver, or a DS exists but answers are not validated.
- Read the findings for algorithm and digest warnings.
- Compare the tables: DS records (at the parent zone) show key tag, algorithm, digest type and digest; DNSKEY records (in the zone) show flags, role, algorithm and a shortened public key. The DS key tag should match the tag of a current KSK.
The checker reports what one validating resolver concludes. It does not re-verify each signature itself, which is why the command-line tools below are useful for deeper debugging.
Command-line checks
dig +dnssec example.com A
dig DS example.com +short
dig DNSKEY example.com +short
delv example.com
Look for the ad flag in the header of dig +dnssec output when querying a validating resolver. delv, shipped with BIND, performs validation locally and prints "fully validated" or the reason it failed. A useful trick when a domain returns SERVFAIL is dig +cd example.com: the cd (checking disabled) flag asks the resolver to skip validation. If the query works with +cd and fails without it, DNSSEC is the cause.
Enabling DNSSEC safely
- Turn on signing at your DNS host. Most managed DNS providers offer a single switch. The host generates keys and signs the zone.
- Copy the DS record (or the DNSKEY, if your registrar asks for that) that the DNS host shows.
- Add it at your registrar. Some registrars and DNS hosts that are the same company do this automatically.
- Verify with the DNSSEC Checker that the status becomes validated. The DS may take a while to appear, depending on the registry.
Keep a note that DNSSEC is on. Most outages happen months later when someone changes something without remembering it.
Fixing broken DNSSEC
SERVFAIL after changing DNS provider
The old DS record still points at the old provider's key, and the new provider signs with a different one, or not at all. The fix is to remove the old DS at the registrar (or replace it with the new provider's DS). Because the DS is cached for its TTL, recovery is not instant. In future, remove the DS and wait out its TTL before switching, as described in how to find and change domain nameservers.
Expired signatures
RRSIG records have an expiry date. Managed providers re-sign automatically; self-hosted setups can fail if the signing job stops. Re-sign the zone and fix the automation.
Key rollover gone wrong
If a new KSK was introduced and the DS updated before the new key was published, or the old key removed too early, the chain breaks. Publish both keys, wait for TTLs, then retire the old one.
Signed zone, no DS
Not an outage, but no protection either: resolvers treat the domain as unsigned. Add the DS at the registrar.
The SOA Lookup and NS Lookup help confirm which provider is authoritative while you debug, and the WHOIS Lookup shows whether the registry reports the domain as signed.
Frequently asked questions
Does DNSSEC slow down my website?
Validation adds some processing at the resolver, and signed responses are larger, but resolvers cache validated answers. For most visitors the difference is not noticeable.
What is the AD flag?
AD means Authenticated Data. A validating resolver sets it when it has verified the answer through the full chain of trust, so seeing it indicates DNSSEC is working.
Where do I add the DS record?
At your domain registrar, not in your own zone. The registrar passes it to the registry for your top-level domain.
Why does my domain work on some networks but not others?
Only validating resolvers reject broken DNSSEC. Networks using non-validating resolvers still get answers, which makes DNSSEC failures look intermittent.
Which DNSSEC algorithm should I use?
Algorithm 13 (ECDSA P-256/SHA-256) is widely supported and produces small signatures. Algorithm 8 (RSA/SHA-256) is also fine. Avoid SHA-1 based algorithms.