Skip to content
FunnelGuard

Fix guide by FunnelsGuard

DNSSEC misconfigured (SERVFAIL): how to find and fix it

OPS-034High impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

DNSSEC adds digital signatures to DNS answers so a resolver (the server that looks up your domain for a visitor) can prove the answer was not tampered with. It works as a chain. Your DNS host signs your records with keys. A DS record (delegation signer) stored at your registrar and published in the parent zone (for example .com) holds a fingerprint of your key. A validating resolver checks that the two match.

Why it costs you leads or sales

For affected visitors the domain does not resolve at all. They see a browser error such as "server not found", not your page. Ads send paid clicks to a dead page, forms cannot load, and tracking never fires. Email to your domain can also fail if the receiving server validates DNSSEC.

Where a DNSSEC failure breaks the journey
  1. Visitor clicks adBrowser asks resolver for your domain
  2. Resolver validates DNSSECDS record does not match keys: SERVFAIL
  3. Page loadsNever reached
  4. Form or checkoutNever reached
  5. Tracking and leadNever recorded

A validating resolver rejects the answer, so every later step is lost for that visitor.

Visitors reaching the page by resolver typeExample numbers
Visitors reaching the page by resolver type (example)Non-validating resolver: 40 visitors; Validating resolver: 0 visitors01531400Non-validating resolv…Validating resolvervisitors

Example: of 100 ad clicks, visitors on validating resolvers get SERVFAIL while the rest load the page normally. Real shares depend on your audience.

How to check if your site has it

Confirm a DNSSEC problem
  1. Compare two resolvers

    Run dig example.com @8.8.8.8 and note the status. Then run dig +cd example.com @8.8.8.8. The +cd flag turns off validation. If the first returns SERVFAIL and the second returns an answer, DNSSEC is the cause.

  2. Check for a DS record

    Run dig DS example.com +short. If a DS record is returned, DNSSEC is switched on at the registry.

  3. Check your DNS host's keys

    Run dig DNSKEY example.com +short and compare with the DS record details shown in your DNS host's dashboard. A DS with no DNSKEY, or a key tag that does not match, is the fault.

  4. Use a visual checker

    Paste the domain into DNSViz (dnsviz.net) or Verisign's DNSSEC Debugger. Both draw the chain of trust and mark the broken link in red.

Tell DNSSEC failures from other DNS faultsbash
# Normal validating lookup
dig example.com @8.8.8.8
# Same lookup with validation disabled
dig +cd example.com @8.8.8.8
# Is a DS record published at the registry?
dig DS example.com +short
# Keys your DNS host is serving
dig DNSKEY example.com +short

How to fix it

You have two safe routes. Repair: make the DS record at the registrar match the keys your DNS host currently signs with. Remove: delete the DS record, wait, then disable DNSSEC at the DNS host. The order matters. Never turn off signing at the host while the DS record still exists, because that creates the same failure.

Fix by where your DNS and registrar live
  1. Decide repair or remove

    If your DNS host supports DNSSEC and is signing correctly, repair. If you do not need it or cannot fix it quickly, remove.

  2. Repair: copy the current DS values

    In your DNS host's DNSSEC page, copy the key tag, algorithm, digest type and digest. Cloudflare, Route 53 and most hosts show these.

  3. Repair: update the registrar

    In the registrar's DNSSEC or DS record section, replace the old DS entry with the new values exactly. Remove stale entries.

  4. Remove: delete DS first

    Delete the DS record at the registrar. Wait at least the DS TTL (often up to 24 hours) so resolvers drop it.

  5. Remove: then disable signing

    Only after the DS is gone, disable DNSSEC at your DNS host.

DS record and keys

Broken

  • DS record at registrar points to an old provider's key
  • New DNS host signs with a different key
  • Validating resolvers return SERVFAIL

Fixed

  • DS record matches the current DNSKEY
  • Or DS removed and DNSSEC off
  • All resolvers return your IP address

How to confirm it's fixed

Fix verification
  • dig example.com @8.8.8.8 returns an A record, not SERVFAIL
  • dig example.com @1.1.1.1 also returns an answer
  • DNSViz or the Verisign debugger shows no red errors (or shows an unsigned zone if you removed DNSSEC)
  • dig DS example.com +short matches your host's DS values, or returns nothing if removed
  • The site loads on mobile data and on a different network

Resolvers cache failures, so allow time for the TTL to run out. Some public resolvers offer a cache flush page (Google and Cloudflare both do) to speed this up.

How to prevent it happening again

Prevention
  • Remove the DS record before any nameserver or DNS provider change
  • Prefer providers that manage DNSSEC keys and rollovers automatically
  • Where the registrar and DNS host are the same company, enable automatic DS publishing if offered
  • Document in your runbook who owns DNSSEC and where the DS record lives
  • Run a DNSViz check after every DNS change
  • Ask your team to test from a validating resolver, not only office Wi-Fi

How FunnelGuard handles this

FunnelGuard does not check DNSSEC yet. It is a possible future check. Today, FunnelGuard runs your real customer journeys from the EU or the US on a schedule, and if a page cannot load or a step fails, it re-checks from a second region and sends one alert with a screenshot and a likely cause. That can show a funnel is unreachable from a monitored location, but it will not tell you DNSSEC is the reason, and it may not see a failure that only affects some resolvers.

Questions people ask

Why is my website not loading on some networks but fine on others?

One possible cause is a broken DNSSEC setup. Validating resolvers such as Google 8.8.8.8 return SERVFAIL when your DS record does not match your DNS keys, while non-validating resolvers still answer. Compare dig example.com @8.8.8.8 with dig +cd example.com @8.8.8.8 to test this.

What does SERVFAIL mean in DNS?

SERVFAIL means the resolver could not get a valid answer. With DNSSEC it often means validation failed, for example because the DS record at the registrar does not match your zone's keys. It can also mean your nameservers are unreachable.

How do I check if DNSSEC is causing my site to fail?

Run dig +cd example.com @8.8.8.8. If that works but the same command without +cd returns SERVFAIL, DNSSEC validation is failing. DNSViz.net will show exactly which link in the chain is broken.

How do I fix a DS record mismatch?

Copy the current key tag, algorithm, digest type and digest from your DNS host and enter them in the DNSSEC section of your registrar, replacing the old DS entry. Alternatively delete the DS record, wait for its TTL, and disable DNSSEC at the DNS host.

How do I safely turn off DNSSEC?

Remove the DS record at your registrar first and wait at least its TTL, often up to 24 hours. Only then disable signing at your DNS host. Doing it in the other order makes validating resolvers fail.

Why did my site break after I changed DNS providers?

The old DS record probably stayed at the registrar. It points to the previous provider's key, so the new provider's signed or unsigned answers fail validation. Remove or update the DS record to fix it.

Does FunnelGuard detect DNSSEC errors?

No. FunnelGuard does not check DNSSEC yet. It does run your funnel journeys on a schedule and alerts you when a step fails, but use dig, DNSViz or a DNS monitor to watch DNSSEC specifically.

Do I need DNSSEC for my marketing site?

It is not required for a site to work. It protects against forged DNS answers, but a misconfigured setup does more harm than none. If you cannot maintain it, choose a provider that automates keys or leave it off.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.