The chain is end to end
The parent publishes a DS record, the child publishes a DNSKEY, and every answer is signed. A validating resolver needs all three to line up; one mismatch fails the whole zone, not one record.
SERVFAIL is what a validating resolver returns when it cannot prove an answer. The authoritative servers can be answering correctly the whole time and the name can still fail for every resolver that validates. Turning DNSSEC off is the fastest way to make it worse.
This page is free. It shows how to separate a validation failure from an authoritative failure in one query, how to compare the parent's DS with the child's DNSKEY, and the order in which keys and DS records have to change.
The parent publishes a DS record, the child publishes a DNSKEY, and every answer is signed. A validating resolver needs all three to line up; one mismatch fails the whole zone, not one record.
NXDOMAIN means the name does not exist. SERVFAIL means the resolver could not complete validation. A validating resolver returns SERVFAIL rather than serving an unproven answer.
With checking disabled, the resolver returns the data it would otherwise reject. If +cd answers and the normal query does not, the failure is validation, not authority.
A wrong DS or an expired signature stays cached for its TTL after you fix the source. Plan the wait, and lower the TTL before the change window, not during it.
| Command or view | What it tells you |
|---|---|
| dig +dnssec acme.test A | The validating path. A SERVFAIL status here, with a working authoritative server, points at the chain. |
| dig +cd acme.test A @1.1.1.1 | Same query with checking disabled. An answer proves the data exists and validation is what fails; a timeout or refusal points somewhere else. |
| dig DS acme.test +noall +answer @<parent-ns> | The delegation the parent publishes: key tag, algorithm, digest type and digest. This is what the resolver must match. |
| dig DNSKEY acme.test +noall +answer @<authoritative-ns> | The keys the child actually serves. The DS key tag must match one of these DNSKEY records, with the same algorithm. |
| dig acme.test RRSIG +noall +answer | Signature validity. Compare the expiration with the current time; an expired or not-yet-valid RRSIG explains a failure with no configuration change. |
| delv @1.1.1.1 acme.test A | A validator that explains itself: it reports a fully validated answer or the reason the chain broke, which dig does not. |
| dig +trace +dnssec acme.test | The delegation path from the root down. It shows where the DS and the DNSKEY stop agreeing. |
| dnssec-verify -o acme.test zone.db | For a self-hosted signed zone: checks the signatures offline before they reach a resolver. |
| # | Failure mode | What you see | What to do |
|---|---|---|---|
| 1 | DS published before the child serves DNSKEY | Validating resolvers return SERVFAIL while the authoritative server answers normally. | Publish and confirm the DNSKEY first, wait for it to be visible, then add the DS. Never the other way round. |
| 2 | DS removed before the child stops signing, or the reverse | Some resolvers fail and some do not, depending on which DS they still have cached. | Remove the DS at the parent first, wait out the DS TTL and the zone's maximum TTL, then disable signing. |
| 3 | A KSK rollover at the wrong moment | The new key is served but the DS still points at the old one, or the old key is withdrawn while its DS is cached. | Follow the double-signing timings: publish, wait, switch DS, wait, withdraw. Shorten TTLs before the window. |
| 4 | Expired signatures | The zone still answers directly, but RRSIG expiration is in the past and validators refuse it. | Keep the signer running and alert on signature expiry well before it happens; re-sign from the source zone. |
| 5 | An algorithm validators no longer accept | Some resolvers validate, others return SERVFAIL, after a key change to a deprecated algorithm. | Check the current algorithm recommendations before a rollover, and keep a supported algorithm in the chain during the transition. |
| 6 | Clock skew on the signer | Signatures are valid on the signer and rejected elsewhere because inception is in the future or expiry already passed. | Keep the signer on synchronised time and monitor the offset, not only the signature dates. |
| 7 | Disabling DNSSEC at the child first | Every validating resolver returns SERVFAIL until the parent DS is removed and every cached copy expires. | Remove the DS first and wait; disabling signing is the last step, not the first response to an outage. |
| Step | Action | Why |
|---|---|---|
| 1 | Confirm with +cd | You need to know whether the data is there and validation is failing, or the authoritative side is down. |
| 2 | Compare DS and DNSKEY key tags | This is the most common break and the fastest to see. A tag that matches nothing is the whole incident. |
| 3 | Check signature dates | An expired signature needs a signer fix, not a registry change. |
| 4 | Restore the last known-good DS | If a rollover broke the chain, putting the previous DS back is faster than finishing the rollover under pressure. |
| 5 | Only then consider removing the DS | Removing it turns validation off for the zone. It restores reachability and gives up the protection; record the decision. |
| 6 | Wait out the TTLs | Resolvers that cached the broken state keep failing after the fix. Do not declare success from one query on one resolver. |
Publish a DS that matches no DNSKEY on a staging zone and confirm SERVFAIL with +dnssec and an answer with +cd.
Run a KSK rollover end to end at 60-second TTLs and record how long each stage has to wait before the next one is safe.
Stop the signer and watch the resolver behaviour change at expiry. Confirm the alert fires before users see SERVFAIL.
Query a validating and a non-validating resolver after each stage. A change that only one of them accepts is a partial outage, not a success.
Removing the DS at the parent does restore reachability, but only after caches expire. Disabling signing at the child while the DS is still published makes the outage worse. If you remove the DS, record it as a deliberate loss of protection and schedule the re-enable.
They use different resolvers, with different caches and different validation behaviour. Test at least two validating resolvers and one non-validating one before concluding the fix worked.
It signs the zone and shows you the DS to publish, but the DS lives at the registrar and the rollover order is still yours. The provider cannot fix a DS that the parent does not have.
Before every key rollover, on a staging zone, with the same TTLs you will use in production. The failure is almost always a timing mistake, and timing is what the rehearsal measures.
The paid runbooks cover the same discipline for other dated changes: a default that flips, a certificate that shortens, and a rollback that must be proven first.
This page is free, no checkout. Paid runbooks are $9.99 each and covered by the 7-day refund policy at /runbooks/refund.