Domains, DNS & SSL · DNSSEC · DS record
Your Domain Works for Some People but Fails for Others? Check DNSSEC First (DS Record Mismatch = SERVFAIL)
Your website and email work fine for you, for some customers, and for some networks — and fail completely for others, with a DNS error and no page at all. Your server is not down. Nothing is wrong with your site. What is wrong is one small record at your registrar: the DS record no longer matches the signing keys your DNS provider uses. The parent zone still promises a signed zone, but the key it points to is gone or different, so the chain of trust breaks. A resolver that checks signatures refuses the answer — status: SERVFAIL — while a resolver that never checks hands out your address normally. This guide shows you the two-command test that proves it, the free tool that shows the broken link, and the fix in the right order.
The fast answer
A DS record at your registrar is pointing at keys your DNS provider no longer uses — most often because you moved your nameservers to a new provider (for example Cloudflare) without removing the old DS record first, or you enabled DNSSEC at the new provider and never added its new DS record. The parent zone still promises a signed zone, but the DNSKEY the DS record points to does not match, so the chain of trust breaks. A validating resolver cannot verify the signatures, so it refuses the answer — dig reports status: SERVFAIL — while a resolver that does not validate returns your address normally. That split is the whole diagnosis. Prove it with two commands: dig @1.1.1.1 yourdomain.com A and dig @1.1.1.1 yourdomain.com A +cd. If the first says SERVFAIL and the second returns your address, DNSSEC validation is the fault. The fast repair is to remove the stale DS record at your registrar — your domain becomes unsigned, validating resolvers stop expecting signatures, and answers flow again once the DS record’s TTL expires (commonly 24–48 hours). Then finish the job properly by adding the correct DS record for your current provider (Fix 5), so you keep DNSSEC protection instead of leaving it off.
What you are looking at, in plain words
DNSSEC works by signing your DNS records. Your DNS provider holds a private key, signs every record set in your zone with it, and publishes the matching public key in a DNSKEY record in your zone; each set of records carries its signature in an RRSIG record. None of that means anything on its own, though — a resolver has to know your public key is really yours. That is what the DS record does. The DS record lives in the parent zone (for a .com, in the .com zone) and, as RFC 4034 puts it, “refers to a DNSKEY RR by including a digest of that DNSKEY RR” — a hash of your key. The parent vouches for your key, your key vouches for your records, and the resolver walks that chain from the root down: root to TLD to your domain. RFC 4033 describes the same chain: each DS record contains a hash that matches some DNSKEY, and that DNSKEY’s private key signs the data. If every link checks out, the answer is trusted. If any link fails, it is not.
Now the failure. A validating resolver — one that checks the signatures — follows the chain and compares the DS record’s hash with the DNSKEY actually in your zone. When they disagree, the answer is what RFC 8499 calls bogus: “an RRset for which the resolver believes that it ought to be able to establish a chain of trust but for which it is unable to do so, either due to signatures that for some reason fail to validate or due to missing data that the relevant DNSSEC RRs indicate should be present.” RFC 8499 adds that this “may indicate an attack but may also indicate a configuration error” — and a stale DS record is the configuration error. Google’s Public DNS documentation says the same thing from the resolver’s side: “DNSSEC-compliant resolvers reject responses that do not contain the correct signatures,” and Google Public DNS validates responses for correct authentication. The resolver does not serve the answer anyway, just in case. It returns SERVFAIL — server failure — and your visitor gets nothing.
And here is why it only hits some people. Not every resolver validates. Cloudflare’s 1.1.1.1, Google’s 8.8.8.8, Quad9 and most large ISP resolvers validate — so visitors on those resolvers see your site fail. A resolver that does not validate never checks the chain, so it returns your address and the site loads. Two people on two networks, same minute, opposite results — and both are telling the truth about what they see. Cached answers make it messier still: a visitor whose resolver cached your address before the mismatch happened keeps loading the site until that cached copy expires. So “works for some, fails for others” is not a flaky server and not propagation. It is the signature of a broken validation chain, and the DS record is the first place to look.
The classic ways the DS record goes stale all involve a change nobody paired with a DS update. First, moving nameservers — you pointed your domain at a new DNS provider (Cloudflare is the common one) and the old provider’s keys went away with it, but the old DS record stayed at the registrar. Cloudflare’s own DNSSEC documentation warns about exactly this: “If you are onboarding an existing domain to Cloudflare, make sure DNSSEC is disabled at your registrar (where you purchased your domain name). Otherwise, your domain will experience connectivity errors when you change your nameservers.” Second, enabling DNSSEC at the new provider without adding its DS record — or adding the old provider’s DS record instead of the new one. When you enable DNSSEC, Cloudflare signs your zone, publishes your public signing keys, and generates your DS record — and that DS record has to be the one at your registrar. Third, a key change at your provider — the provider re-signed the zone or rotated keys and the DS record was never updated to match. In all three cases the fix is the same shape: make the DS record at the registrar agree with the keys in the zone, or remove it until it does.
Step 0 — Work out where you stand
- Confirm the pattern before you touch anything. Ask two people on different networks — a phone on mobile data and a computer on office or home broadband is enough — to load your site. If one loads it and the other gets a DNS error, and your hosting dashboard says the server is up, you are looking at a resolver-side failure, not a server failure. Note the exact error each person sees: a DNS error or “server not found” points at DNS; a page that loads halfway or an error page from your host points somewhere else entirely.
- Run the two-command test (Fix 1). On a Mac or Linux computer, open a terminal and run dig @1.1.1.1 yourdomain.com A and then the same command with +cd added. If the first says SERVFAIL and the second returns your address, you have your answer and the rest of this guide applies. If you do not have dig on your computer, skip to Fix 2 — DNSViz and the Verisign debugger run the same checks in the browser.
- Look at the chain in DNSViz. Open dnsviz.net, enter your domain, and look for the broken link and the errors it lists. DNSViz draws the whole authentication chain and names the link that fails — usually the step from the parent’s DS record to your zone’s DNSKEY. Write down exactly what it says; you will need it in Fix 3.
- Work out what changed, and where the DS record lives. Did you move nameservers, change DNS provider, enable or disable DNSSEC, or transfer the domain in the last few days or weeks? The DS record lives at your registrar — the company you bought the domain from — not at your DNS host, unless they are the same company. If you changed DNS provider but never touched the registrar, the old DS record is still there, pointing at the old provider’s keys. That is the most common cause of this exact symptom.
- Do not confuse this with NXDOMAIN. If nobody can reach your site and the error is NXDOMAIN, the name does not resolve at all — a different fault, with its own guide (linked in the FAQ). SERVFAIL with a works-for-some pattern is a validation failure, and this guide is the one you want.
| What dig says | What it means |
|---|---|
| Plain dig: SERVFAIL · dig +cd: NOERROR with your address | DNSSEC validation failure — this guide. The records exist; only the signatures fail. |
| SERVFAIL on plain dig and SERVFAIL with +cd | Not DNSSEC. The fault is elsewhere — work the ladder below, starting with the NXDOMAIN guide if the name does not resolve at all. |
| NOERROR with the ad flag set | Healthy signed zone: the resolver validated the whole chain and marked the answer authenticated. |
| NOERROR with no ad flag | Unsigned zone, or a path that did not validate — the answer came back, but nothing proves it was checked. |
About this table: the statuses are the resolver’s own answers. “ad” is the Authenticated Data flag: a healthy signed answer carries it. Checked live on 14 November 2026, cloudflare.com returned Status 0 with AD true and its DS record (TTL 86,400 seconds — 24 hours), while the deliberately broken test domain dnssec-failed.org returned SERVFAIL on both 1.1.1.1 and 8.8.8.8 and a normal answer with +cd.
The fixes, in order
- Prove it is DNSSEC: the plain-vs-+cd pair. Run the same lookup twice against a validating resolver. The +cd flag asks the resolver not to validate that request, so if the answer comes back with +cd, the records themselves are there and only the signatures fail. Use your own domain in place of example.com:Read the status line at the top of each answer. SERVFAIL on the first and NOERROR with your address on the second is the proof. Repeat against Google’s resolver if you want a second opinion: dig @8.8.8.8 example.com A and the same with +cd. You can see the exact pair on a domain published deliberately broken for this test: dig @1.1.1.1 dnssec-failed.org A returns SERVFAIL, and with +cd it returns an address — checked live on 14 November 2026 against both 1.1.1.1 and 8.8.8.8, where the resolver’s own error note read “No DNSKEY matches DS RRs of dnssec-failed.org.” If your domain behaves the same way, move on to Fix 2. If both commands return SERVFAIL, skip to the ladder — your fault is not DNSSEC.Terminal — the diagnostic pair
dig @1.1.1.1 example.com A dig @1.1.1.1 example.com A +cd - See the broken link: DNSViz and the Verisign debugger. Open dnsviz.net, enter your domain, and open the analysis. DNSViz was built for this: it “provides a visual analysis of the DNSSEC authentication chain for a domain name and its resolution path in the DNS namespace, and it lists configuration errors detected by the tool.” Look for the red or error-marked step, and read the error list — for a DS mismatch it names the parent-to-zone step, typically in words like “no DNSKEY matches the DS” or “DNSKEY missing.” Cross-check with the Verisign DNSSEC Debugger (dnssec-analyzer.verisignlabs.com): enter the same domain and read its error list. Google’s own resolver points people at exactly these two tools when it reports a validation failure. Write down the exact error wording — it tells you which of the next two fixes applies, and it is what your DNS provider’s support will ask for if you have to contact them.
- Find the two records that disagree. The mismatch is between two places: the DS record in the parent zone (set at your registrar) and the DNSKEY record in your zone (published by your DNS provider). Look at both:Then compare with what each side shows you in its dashboard: your registrar’s domain/DNSSEC page shows the DS record it holds for you, and your DNS provider’s DNSSEC settings page shows the DNSKEY it publishes and the DS values it expects at the registrar. You do not need to compare the long hash strings by eye — DNSViz in Fix 2 already did that and named the broken link. What you need from this step is the answer to one question: which side is out of date? If the registrar holds a DS record from a provider you no longer use, the registrar side is stale — Fix 4. If the registrar holds no DS record but your provider is signing the zone, the DS was never added — Fix 5. If the two agree and DNSViz still shows a break, the fault is inside the zone (usually an expired signature) — see the ladder.Terminal — the two records that must agree
dig DS example.com dig DNSKEY example.com - Emergency repair: remove the stale DS record at the registrar. This is the fastest way to get everyone back on your site. Sign in to your registrar — the company you bought the domain from — open the domain, find its DNSSEC or DS records page, and delete the DS record. Your domain becomes unsigned: with no DS record in the parent, validating resolvers stop expecting signatures and return your address normally. Two warnings, both from Cloudflare’s own rollback procedure. First, do not delete the DNSKEY or turn off zone signing first — remove the DS record, and “keep zone signing enabled in Cloudflare until the DS TTL has fully expired at the parent zone.” Deleting the keys first leaves a window where the parent still promises a signed zone and there is nothing to check against. Second, the wait is real: the fix takes effect when the DS record’s TTL expires at the parent zone — “commonly 24–48 hours for most TLDs,” and you verify it with dig DS example.com: when it stops returning a DS record, the wait is over. There is no way to hurry this, and no cache to flush on your side — resolvers that already cached the old DS record keep expecting signatures until that cached copy expires.
- Clean repair: add the correct DS record. Once the site is reachable again (or if the DS record was missing rather than stale), put DNSSEC back properly. In your DNS provider’s dashboard, enable DNSSEC and copy the DS values it gives you into your registrar — do not type the long digest by hand; copy and paste it, because one wrong character breaks the chain again. Cloudflare’s path is: in the dashboard go to the DNS Settings page, for DNSSEC click Enable DNSSEC, and copy the DS values from the dialog (afterwards, from the DS record entry on the DNSSEC card). If your registrar does not list Cloudflare’s preferred cipher, Algorithm 13, it may call it by its long name, ECDSA Curve P-256 with SHA-256. If your registrar does not support Algorithm 13 at all, Cloudflare lists your options: ask the registrar for DNSSEC with modern encryption, transfer the domain to a registrar that supports it, or file a complaint with ICANN. After adding the DS record, check DNSViz again and run the Fix 1 pair — plain dig should now return NOERROR with the ad flag, not SERVFAIL.
- If you moved nameservers, do the move in the right order. This is the step that prevents the next occurrence. Cloudflare’s documented migration path, for a provider that does not support adding external DNSKEY records, is: (1) remove the DS record at your registrar; (2) wait for the DS record TTL to fully expire at the parent zone — verify with dig DS example.com, commonly 24–48 hours for most TLDs; (3) change your nameservers to Cloudflare; (4) wait for the previous NS record TTL to expire, typically one hour or less; (5) enable DNSSEC in Cloudflare and add the new DS record at your registrar. The order matters: the DS record must be gone and expired before the nameservers change, because the old DS record points at the old provider’s keys. If your current provider does support adding external DNSKEY records, Cloudflare documents an active migration path using multi-signer DNSSEC for a zero-downtime move — use it only if the old provider actually supports it; if it does not, use the five steps above and accept the brief window without DNSSEC protection rather than a broken chain.
Never delete the DNSKEY first. If you turn off zone signing, or delete the signing keys, while the DS record is still at the registrar, the parent keeps promising a signed zone and there is nothing left to verify against — the failure gets worse, not better. Always remove the DS record at the registrar first, keep zone signing on until the DS TTL has fully expired, and only then change the signing state. This is Cloudflare’s own rollback order, and it applies whichever provider you use.
Do not “fix” this by telling visitors to change their DNS. Pointing a customer at a non-validating resolver, or telling them to use +cd, hides the fault for that one person and leaves every validating resolver — 1.1.1.1, 8.8.8.8, most ISP resolvers — failing your domain. It also trains your visitors to ignore a DNS security warning, which is the opposite of what DNSSEC is for. Fix the DS record; the resolvers will follow.
Prove it worked
Run the Fix 1 pair again, against both resolvers: dig @1.1.1.1 yourdomain.com A and dig @8.8.8.8 yourdomain.com A. A fixed domain returns status: NOERROR with your address — and, once the correct DS record is in place, with the ad flag set, meaning the resolver validated the whole chain. Then open DNSViz again: the chain should draw through without a broken link and with no errors listed. Finally, ask someone who failed before to load the site — but only after the DS TTL has expired (check with dig DS first). If you only removed the DS record, the proof is NOERROR without the ad flag: your domain is unsigned and reachable, which is the correct state for the emergency repair. If you added the correct DS record, the proof is NOERROR with the ad flag: signed and reachable. Only when a validating resolver returns your address, DNSViz shows no errors, and a previously failing visitor loads the site is the fix proven.
Still not working? Work this ladder in order
- Still SERVFAIL after removing the DS record. Check the clock first: run dig DS yourdomain.com. If it still returns a DS record, the old record’s TTL has not expired yet — commonly 24–48 hours — and validating resolvers are still expecting signatures. Wait it out; there is nothing else to fix. If dig DS returns nothing and it still fails, check you removed the record at the right registrar: the DS record lives at the registrar named in your domain’s WHOIS record, not necessarily at your DNS host. If you transferred the domain, the DS record may still sit at the old registrar.
- You cannot find where the DS record lives. Sign in to the registrar — the company that bills you for the domain itself — and look for DNSSEC, DS records, or “DNS security” under that domain. If your DNS host and your registrar are different companies, the DS record is at the registrar, not the host. If you transferred the domain to a new registrar, see our guide on transferring a domain to a new registrar without losing your website or email, and check both registrars until dig DS shows the record you expect.
- +cd still returns SERVFAIL. That is not DNSSEC. With validation switched off the resolver still cannot answer, so the fault is elsewhere — the name may not resolve at all, or the zone may be broken in a different way. If the error is NXDOMAIN, see our guide on Chrome “DNS probe finished, NXDOMAIN”.
- DNSViz shows a different break — an expired signature or a missing DNSKEY. A DS mismatch is the common cause, but not the only one: signatures expire (an RRSIG past its validity window) and zones sometimes publish no DNSKEY at all. Both are fixed at your DNS provider, not at the registrar — the provider has to re-sign the zone or republish the keys. Contact the provider with the exact DNSViz error wording from Fix 2. Do not try to hand-edit keys or signatures yourself.
- Some subdomains fail while the apex works (or the other way round). Each signed zone has its own DS record. A subdomain delegated to its own nameservers is its own zone with its own DS record in your zone — check the DS and DNSKEY for that child zone the same way, in DNSViz, rather than assuming the apex fix covers it.
- Email fails too. That is expected, not a second fault: mail delivery uses the same DNS answers, so a validating resolver that refuses your MX lookup refuses your mail the same way it refuses your website. Fix the DS record and the mail follows — there is no separate email fix for this one.
Mistakes that make it worse
- Deleting the DNSKEY or turning off zone signing before removing the DS record at the registrar — the parent still promises a signed zone and there is nothing to check against.
- Adding the new DS record before the old one has expired, or changing nameservers with DNSSEC still on at the registrar — the exact move Cloudflare warns causes connectivity errors.
- Typing the long DS digest by hand instead of copying it — one wrong character breaks the chain again.
- Reading SERVFAIL as “my server is down” and rebuilding the site or changing hosts — the server was never the problem.
- Telling visitors to switch to a non-validating resolver, or to use +cd — it hides the fault for one person and leaves everyone else failing.
- Assuming it is propagation and waiting without checking DNSViz — propagation is a wait for a change to spread; a stale DS record is a wrong value that will not fix itself.
- Removing the DS record and then immediately re-adding the same stale one from an old screenshot or note — check the DS values your provider shows now, not the ones you saved when you first set DNSSEC up.
- Forgetting the wait: testing five minutes after removing the DS record, seeing SERVFAIL, and concluding the fix did not work — the DS TTL (commonly 24–48 hours) has to expire first.
Frequently asked questions
Why does my domain work for some people but fail for others?
Because not every resolver checks DNSSEC signatures. A validating resolver — Cloudflare's 1.1.1.1, Google's 8.8.8.8, Quad9 and most large ISP resolvers — walks the chain of trust from the root down to your domain, and if any link fails it refuses the answer with SERVFAIL instead of handing out an address it cannot verify. A resolver that does not validate never checks the chain, so it returns your address normally. Same domain, same moment — which resolver the visitor uses decides what they see. That split is the signature of a DNSSEC validation failure, not of your server being down.
What does SERVFAIL mean, exactly?
SERVFAIL is the DNS response code for “server failure” (RFC 8499). It means the resolver could not give you a trustworthy answer — not that your site is down and not that the name does not exist. When DNSSEC validation fails, the answer is classed as bogus: the resolver believes a chain of trust ought to exist but cannot establish it, because signatures fail to validate or data the DNSSEC records say should be present is missing (RFC 8499). A bogus answer may mean an attack, but it may also mean a configuration error — a stale DS record is the common one for a small business.
What is a DS record, and where does it live?
The DS (Delegation Signer) record is a digest — a hash — of your zone's DNSKEY record, published in the parent zone (RFC 4034). It is the link that connects your signed zone into the chain of trust: the parent vouches for your key, and your key vouches for your records. You set it at your registrar, the company you bought the domain from — not at your DNS host, unless they are the same company. Your DNS provider publishes the DNSKEY in your zone and gives you the DS values to put at the registrar; if the two stop matching, every validating resolver fails your domain.
How do I prove the DS record is the problem?
Run the same lookup twice against a validating resolver, once normally and once with validation switched off: dig @1.1.1.1 yourdomain.com A, then dig @1.1.1.1 yourdomain.com A +cd. If the first returns status: SERVFAIL and the second returns your address, DNSSEC validation is the fault — the +cd flag asks the resolver not to validate that request, so the answer coming back proves the records themselves are there and only the signatures fail. DNSViz (dnsviz.net) shows the same thing visually: it draws the authentication chain and lists the broken link. Both checks were run live for this guide on the test domain dnssec-failed.org on 14 November 2026: SERVFAIL on 1.1.1.1 and 8.8.8.8, and a normal answer with +cd.
How long after removing the DS record until my site works again?
Until the DS record's TTL expires at the parent zone — commonly 24 to 48 hours for most TLDs, according to Cloudflare's DNSSEC documentation. Removing the DS record does not take effect instantly: resolvers that already cached the old DS record keep expecting signatures until that cached copy expires. Check with dig DS yourdomain.com — when it stops returning a DS record, the wait is over. There is no way to hurry this; anyone promising an instant fix is wrong. Keep zone signing on at your DNS provider until the DS TTL has fully expired, and only then turn signing off if you are leaving DNSSEC off.
Should I just leave DNSSEC off permanently?
Removing the stale DS record is the right emergency repair — it makes your domain unsigned, so validating resolvers stop expecting signatures and your site works again. But DNSSEC is what stops anyone forging your DNS answers and sending your visitors somewhere else, so the better end state is DNSSEC on with the correct DS record: enable DNSSEC at your DNS provider and copy the DS values it gives you into your registrar. That is Fix 5. Leaving it off permanently trades a real protection for nothing, once the correct DS record is a five-minute copy-paste.
Is this the same as “DNS probe finished, NXDOMAIN” in Chrome?
No. NXDOMAIN means the name does not resolve at all — no address exists for it, on any resolver. SERVFAIL means the address exists but the resolver refused to hand it out because the signatures did not verify. If your site loads for some people and fails for others, it is not NXDOMAIN. If nobody can reach it and the error is NXDOMAIN, see our guide on Chrome “DNS probe finished, NXDOMAIN”.
Sources
Cloudflare — DNSSEC (disable DNSSEC before onboarding: “If you are onboarding an existing domain to Cloudflare, make sure DNSSEC is disabled at your registrar … Otherwise, your domain will experience connectivity errors when you change your nameservers”; the enable path — DNS Settings, Enable DNSSEC, DS record values; Algorithm 13 / ECDSA Curve P-256 with SHA-256; the migration path — remove DS, wait for the DS TTL to fully expire, commonly 24–48 hours, change nameservers, wait for the NS TTL, enable DNSSEC and add the new DS; the rollback — remove DS, keep zone signing until the DS TTL has fully expired; page updated 24 June 2026) · RFC 4034 — Resource Records for the DNS Security Extensions (§5: “The DS RR refers to a DNSKEY RR by including a digest of that DNSKEY RR”) · RFC 4033 — DNS Security Introduction and Requirements (the authentication chain: each DS record contains a hash matching a DNSKEY, and that DNSKEY’s private key signs the data) · RFC 4035 — Protocol Modifications for the DNS Security Extensions (zone signing, the CD bit §3.2.2, resolver behaviour when signatures do not validate §5.5) · RFC 8499 — DNS Terminology (§3: SERVFAIL, the “server failure” response code; §11: bogus — the resolver believes a chain of trust ought to exist but cannot establish it, through signatures failing to validate or missing data, and “may indicate an attack but may also indicate a configuration error”) · Google Public DNS — Security Benefits (“DNSSEC-compliant resolvers reject responses that do not contain the correct signatures”; Google Public DNS “validate[s] responses for correct authentication”) · DNSViz — DNSViz (“a visual analysis of the DNSSEC authentication chain for a domain name … and it lists configuration errors detected by the tool”) · Verisign — DNSSEC Debugger (“Enter a domain name to be tested”) · Merroway — Chrome “DNS probe finished, NXDOMAIN” (live guide; a name that does not resolve at all, not a validation failure) · Merroway — Transfer your domain to a new registrar without losing your website or email (live guide; the registrar move, for a DS record left at the old registrar).
Did this fix work for you?
Your reaction is stored only in your own browser — it is not sent to us.