Bridge CDN
On this page

What does SERVFAIL mean?

A SERVFAIL error is the resolver giving up. NXDOMAIN is a definite "this name doesn't exist". SERVFAIL says something else: "I couldn't find out". The resolver either got no usable reply from the authoritative side, or it got one that failed validation and had to throw it away.

You'll see it as:

  • status: SERVFAIL in dig;
  • Server failed in nslookup;
  • a generic "can't be reached" page in the browser.

Because the failure happens inside the resolver, two people can get different results for the same name at the same moment. That's the first clue to follow.

Is it one resolver or all of them?

Ask three public resolvers, 1.1.1.1, 8.8.8.8 and 9.9.9.9, for the same name:

dig @1.1.1.1 example.com A
dig @8.8.8.8 example.com A
dig @9.9.9.9 example.com A
Result What it points to
Only your usual resolver fails A problem at that resolver. Switch resolvers or contact its operator.
All three fail The domain: its signatures or its nameservers
Results flip between tries One of several nameservers is broken, or something on the network path is

All three of these resolvers validate signatures. A domain that fails on all of them but works on a non-validating resolver almost always has a signing problem.

Check for a broken signature first

The +cd flag ("checking disabled") asks the resolver to skip validation:

dig @1.1.1.1 example.com A +cd

If this returns the right address while the normal query fails, the data is fine and the signatures aren't. The resolver marked the answer "bogus". Common reasons:

  • A stale DS record. After a move between DNS providers, the registrar still publishes a DS for the old provider's keys.
  • A DS that doesn't match any DNSKEY, often because of a copy-paste mistake or the wrong digest type.
  • Expired RRSIG signatures at a provider that stopped re-signing the zone.

On Bridge, signing is automatic once DNSSEC is on for the zone. Check whether the DS at the registrar matches the active signing key published in the zone. For the full procedure, see how to diagnose DS and DNSKEY mismatches.

Before removing a DS: the domain stays broken for validating resolvers until the parent's cached DS expires. Remove it once, then wait. Repeated changes make the outage longer.

Read the Extended DNS Error

Modern resolvers explain the failure with an Extended DNS Error code (RFC 8914). Recent dig versions print it as an EDE line:

;; OPT PSEUDOSECTION:
; EDE: 6 (DNSSEC Bogus)
EDE code Meaning Look at
6 DNSSEC Bogus Signatures didn't validate DS at the registrar, zone signing
7 Signature Expired RRSIGs are past their end date Re-signing at the DNS host
9 DNSKEY Missing DS points to a key the zone doesn't publish DS at the registrar
10 RRSIGs Missing Signed zone returned unsigned data Nameservers out of sync
22 No Reachable Authority No nameserver answered Delegation, firewalls
23 Network Error Errors reaching the nameservers Network path

When the nameservers don't answer

No EDE, and +cd doesn't help? Then look at the nameservers themselves. First list them:

dig example.com NS +short

Then query each one directly with dig @ns1.bb-ns.com example.com A. Three faults turn up here:

  1. Lame delegation. The registrar lists a nameserver that doesn't serve the zone. It times out or returns REFUSED, and the resolver may give up.
  2. All nameservers unreachable. Every query ends in a timeout: a firewall dropping port 53, or servers that are simply down.
  3. TCP blocked. Large responses arrive truncated over UDP, so the resolver retries over TCP. If TCP port 53 is closed, the lookup fails. Signed zones with many records hit this first.

With the domain delegated to Bridge, the delegation should list exactly ns1.bb-ns.com, ns1.bb-ns.net and ns1.bb-ns.org. Any other name in the NS set is the likely lame server. Remove it at the registrar.

Why SERVFAIL can outlast the fix

Resolvers cache failures as well as answers. RFC 9520 requires them to remember a resolution failure for a short time, up to five minutes, so they don't hammer a broken domain. After you fix the cause, give it those few minutes before you decide the fix didn't work. A stale DS record can take longer, because resolvers also cache the DS itself for its TTL.

SERVFAIL questions

What causes a SERVFAIL error?

Usually one of three things: a broken signature chain (stale DS, mismatched or expired signatures), authoritative nameservers that time out or refuse queries, or a fault in the resolver itself. Comparing several public resolvers and running dig with +cd separates them.

How do I fix SERVFAIL?

Find the layer first. If +cd works, fix the DS record or the zone signing. If the nameservers don't answer, fix the delegation or the firewall. If only one resolver fails, switch resolvers or report it to that resolver's operator.

Is SERVFAIL my problem or my ISP's?

If public resolvers answer correctly and only your ISP's resolver fails, it's the ISP's. If every validating resolver fails, the domain needs fixing, and its owner or DNS host is the one who can do it.

What is the difference between SERVFAIL and NXDOMAIN?

NXDOMAIN is a definite answer that the name doesn't exist. SERVFAIL means no trustworthy answer was obtained at all. Read more in NXDOMAIN: meaning and fixes.

Can a SERVFAIL error go away on its own?

Sometimes. A brief nameserver outage clears when the servers recover and the resolver's failure cache expires, within about five minutes. Signing problems and lame delegations don't fix themselves.

If the answer is NOERROR but the record still isn't what you expect, continue with DNS record not resolving. Every other symptom is mapped on the troubleshooting overview.