The short version
- DNSSEC is worth having, but it is the one DNS change where a mistake doesn’t just break one record: it can take your entire domain offline, website, email and all.
- The danger is the DS record at your registrar. If it doesn’t match the keys your nameservers are using, validating resolvers treat every answer for your domain as forged and refuse to return it.
- Fixing the mistake is quick; recovering from it is not. Resolvers cache the bad DS, often for 24 hours or more, and keep failing until it expires.
- A deliberate plan removes almost all of the risk: sign first, wait, verify, add the DS by copy and paste, verify again, and always remove the DS before you stop signing.
What DNSSEC does, in one paragraph
DNSSEC (DNS Security Extensions) adds digital signatures to your DNS records. Your nameservers publish a public key (the DNSKEY) and a signature (an RRSIG) alongside each set of records. Your registrar then publishes a fingerprint of that key, the DS record, in the parent zone, such as .com. A validating resolver follows that chain from the root down: it trusts the root, the root vouches for .com, and the DS in .com vouches for your key. If every link checks out, the answer is genuine. If any link is broken, the resolver assumes an attack and returns an error instead. For more on how lookups work in general, see What is DNS?
Why a DNSSEC mistake breaks everything
Most DNS errors are local. A typo in an A record breaks one hostname; a missing MX record breaks mail. DNSSEC is different because the DS record sits above all of your records. Once the parent zone says “this domain is signed, with this key”, validating resolvers insist on it for every lookup. If the key they find doesn’t match, or there are no signatures at all, they answer SERVFAIL for the whole domain.
And validating resolvers are not a niche. Most large public resolvers validate DNSSEC, as do many internet providers and corporate networks, so a broken chain cuts off a large share of your visitors at once. Worse, it often looks fine from where you are sitting: if your own resolver doesn’t validate, your site keeps loading for you while customers on other networks see “server not found”.
Common ways it goes wrong:
- Adding the DS too early. The DS is published before every nameserver is serving the signed zone, or before resolvers’ cached copies of your old, unsigned records have expired.
- A DS that doesn’t match. A mistyped digest, the wrong key tag, the wrong algorithm or digest type, or a DS copied from an old key.
- Turning off signing before removing the DS. The parent still says the domain is signed, but the signatures are gone.
- Moving to a new DNS provider with the DS still in place. The new provider either doesn’t sign the zone or signs it with different keys, and neither matches the DS.
- Deleting the zone, or letting it lapse, while the registry still holds a DS for it.
- A key rollover done out of order, where the new key is used before the DS for it has been published and cached long enough.
Why recovery takes more than a day
When a DNSSEC mistake is spotted, the fix is usually simple: correct or remove the DS at the registrar. The trouble is how long the internet takes to notice.
- The registry has to publish your change. Your registrar sends the update to the registry, which publishes it in the TLD zone. This can take minutes or hours, and some registrars process DS changes by hand or only during business hours.
- Resolvers have already cached the bad DS. The DS record has a TTL set by the registry, not by you, and at many large TLDs it’s a full day. A resolver that fetched the bad DS keeps using it until that TTL runs out, no matter what you change.
- Failures are cached too. Resolvers remember that your domain failed validation, so they don’t even try again for a while.
- You can’t flush other people’s caches. Some public resolvers offer a cache-flush form, but the thousands of provider, corporate and home resolvers out there will simply wait.
Add the time it takes to notice the problem, and a DNSSEC mistake can easily mean more than a day in which a large part of the internet can’t reach your website or deliver your email. This has happened to well-known companies with experienced engineering teams; it isn’t a beginner’s mistake.
A safe deployment plan
None of this means DNSSEC is too risky to use. Almost every outage comes from doing the steps in the wrong order or too quickly. Plan the rollout deliberately and the risk becomes very small.
Before you start
- Check your registrar supports DS records for your TLD, and find out how you add and remove them: a form, an API, or a support ticket. If removal needs a ticket, know their response times.
- Make sure you can log in to the registrar right now, with multi-factor working. In an emergency, the person holding the registrar login is the only one who can fix things.
- Pick a quiet time early in the week, never before a weekend, a holiday or a launch, when someone will be around for the next two days.
- Don’t combine changes. Don’t enable DNSSEC while moving providers, changing nameservers or transferring the domain. Do one thing at a time.
- Have a way to test from a validating resolver, such as a public resolver that validates, or
delv, which validates on its own.
Step 1: Sign the zone, and add nothing at the registrar
Turn on signing at your DNS provider. At this point nothing can break: without a DS in the parent zone, resolvers treat your domain as unsigned and ignore the signatures. This step is completely safe to undo.
Step 2: Wait
Give the signed zone time to reach every nameserver and give resolvers time to drop their cached, unsigned answers. Waiting at least as long as the longest TTL in your zone is the minimum; 48 hours is a sensible, simple rule.
Step 3: Verify the signed zone
- Ask each of your nameservers directly for the key, for example
dig @ns1.example.net example.com DNSKEY +dnssec, and check they all return the same DNSKEY and RRSIG records. - Spot-check a few other records with
+dnssecto make sure they carry signatures too. - Make a note of the key tag, algorithm and digest your provider gives you for the DS.
Step 4: Add the DS at your registrar
Copy and paste the DS values exactly as your DNS provider shows them; never type them by hand. Check the key tag, algorithm (for example 13, ECDSA P-256) and digest type (2, SHA-256) all match. Add one DS for the current key, and don’t leave any older DS records in place.
Step 5: Verify the chain, from outside
- Check the parent has published it:
dig example.com DSshould return exactly the DS you added. - Check validation works:
delv example.comshould report; fully validated, anddig example.comagainst a validating public resolver should show theadflag. - Run the domain through an online DNSSEC analyzer, which draws the whole chain and flags any broken links.
- Keep an eye on traffic, email delivery and error reports for the next day or two. If anything fails, remove the DS straight away: the sooner it’s gone, the sooner caches start to recover.
Turning DNSSEC off, or moving to another provider
This is where most of the surprises happen, because the safe order is the reverse of what feels natural:
- Remove the DS at your registrar first, and confirm with
dig example.com DSthat the parent no longer publishes it. - Keep signing for at least 48 hours after the DS is gone, so every resolver’s cached copy of the DS expires while your signatures are still valid.
- Only then stop signing, change nameservers, or delete the zone.
When moving providers, finish the move unsigned and confirm everything works, then enable DNSSEC at the new provider by starting this plan again from step 1. (Moving with DNSSEC kept on throughout is possible, but needs both providers to support sharing keys, and is best left to specialists.)
Key rollovers
If your provider changes the key that the DS points to, the new DS must be published, and the old one cached away, before the old key is retired. Good providers handle the timing automatically or tell you exactly when to swap the DS. Choosing a key that never needs to change at the parent avoids the question entirely.
How NSResolver helps
DNSSEC is available on the Premium and Premium Pro plans, and we built it around the plan above:
- DNSSEC is off until you turn it on, and you read the risks and the steps before you can.
- After you enable it, we sign the zone and don’t ask for the DS for 48 hours, and not until your key is published on every nameserver.
- We show the DS ready to copy, then check the registry and tell you whether the DS published there matches. If it doesn’t, the zone page warns you in red.
- Turning DNSSEC off is guided: we ask you to remove the DS, check that it’s gone, wait 48 hours for caches, and only then stop signing.
- We won’t delete a zone while the registry still has a DS for it.
See the plans, or sign up to get started.