What DNSSEC protects against, and what it does not
DNS has no built-in authenticity check. A resolver asks, somebody answers, and the first matching answer wins. Cache poisoning exploits this: an attacker slips a forged answer to a resolver, and every user of that resolver lands on a foreign server for the lifetime of the cache entry. On the path between user and resolver, an attacker on the same network can forge answers directly.
DNSSEC signs the zone data cryptographically so a validating resolver can tell whether an answer is genuine and unmodified. It encrypts nothing: anyone watching the traffic still sees every query. It does not replace TLS either, because DNSSEC only says the IP address is genuine, not that the server behind it is trustworthy. The practical benefit is that MX, TXT and CAA records cannot be redirected unnoticed.
How DNSSEC works
Every signed zone has key pairs. The zone signing key (ZSK) signs the actual records, producing an RRSIG record with the signature for each record type. The key signing key (KSK) signs the DNSKEY records that hold the public keys. So that a resolver can trust the KSK, a hash of it is published as a DS record in the parent zone; for example.com that is the .com zone at the registry.
This creates a chain of trust from the root zone through the TLD down to your domain. A validating resolver checks every level and, on success, sets the AD flag (authenticated data) in the answer. If the check fails, it returns no data but SERVFAIL. The user only sees: domain not reachable.
$ dig +dnssec example.com A
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; ANSWER SECTION:
example.com. 3600 IN A 203.0.113.10
example.com. 3600 IN RRSIG A 13 2 3600 20261001000000 20260910000000 12345 example.com. base64...The ad in the flags line means the queried resolver validated the answer. If it is missing, either the domain has no DNSSEC or the resolver does not validate. With dig +cd (checking disabled) you get the data even with a broken signature, which lets you distinguish a dead zone from a failing validation.
Enabling it: usually one click
At Cloudflare, many registrars and DNS hosts, DNSSEC is largely automated: the provider generates the keys, signs the zone and shows you the DS record. If domain and DNS live at the same provider, the DS is often published in the parent zone automatically. If they are separate, you copy the DS record into the domain panel at the registrar.
The order matters: first sign the zone and verify that DNSKEY and RRSIG records are served, then publish the DS at the registrar. A DS without matching signatures in the zone is the fastest route to SERVFAIL.
The big risk: DNS migration with a stale DS
The classic outage looks like this: a client had DNS at provider A with DNSSEC. The agency moves the zone to provider B, changes the nameservers at the registrar and is happy because the website works in a test. But the DS record at the registrar still points to provider A's keys. Every validating resolver sees a DS, finds no matching key in the new zone, and answers SERVFAIL.
Validating resolvers today include Google Public DNS, Cloudflare, Quad9 and those of most ISPs. For the majority of users the domain is gone, mail included. The test at the agency only works because its own resolver happens not to validate or the old provider still serves the zone. That is why the error is often discovered hours later through client complaints.
- Before the migration, check whether a DS record exists: dig DS example.com.
- Delete the DS record at the registrar and wait until the TTL of the TLD zone has passed, typically one to two days for .de and .com.
- Switch the nameservers to the new provider and verify the zone there completely.
- Enable DNSSEC at the new provider and publish the new DS at the registrar.
- Test with a validating resolver that the AD flag is set and no SERVFAIL occurs.
Key rollover and automation
Keys should be rotated regularly. A ZSK rollover stays within the zone and is invisible at automated providers. A KSK rollover changes the DS record and therefore needs the registrar's cooperation. To avoid manual copying there are CDS and CDNSKEY records (RFC 7344 and RFC 8078): the zone publishes the desired DS itself, and registrars or registries that support the procedure pick it up automatically.
Many registries support CDS scanning by now; whether your registrar uses it is in its documentation. Without automation the rule is: KSK rollover only with a schedule, and remove the old DS only after the new one has been published for at least one TTL.
Checking and monitoring
For a quick check, dig against a validating resolver such as 1.1.1.1 or 8.8.8.8 is enough: an answer with the AD flag means the chain is intact. SERVFAIL while dig +cd returns data means DNSSEC is broken. For detailed analysis DNSViz draws the whole chain graphically and marks exactly which level fails, such as a DS without matching DNSKEY or expired signatures. The DNS checker shows DS and DNSKEY of a domain at a glance.
Three things deserve permanent monitoring: whether the domain keeps resolving against a validating resolver, whether the DS record at the registrar changes, and whether the RRSIG signatures are renewed in time. Expired signatures are the second most common cause of DNSSEC outages on self-hosted zones, because a stopped signing job goes unnoticed for weeks until the signatures reach their expiry date.
- Resolution against validating resolvers: SERVFAIL means bogus, act immediately
- DS record in the TLD zone: every change must belong to a planned action
- Expiry dates of the RRSIG records: warn when renewal does not happen
- Nameserver changes: the moment when DS and keys drift apart
Is DNSSEC worth it for client domains?
For domains that carry mail, payments or login systems, yes. The protection against tampering with MX and TXT records is real, and DANE as well as some security standards require DNSSEC. For a plain brochure website the benefit is smaller than the risk of a forgotten DS record at the next hosting change.
If you enable it, document it in the client's domain inventory so nobody is surprised at the next migration. And monitor the domain, because from the inside a DNSSEC outage looks like normal operation.