DNS SERVFAIL: the resolver could not get an answer

Broken DNSSEC or name servers that do not answer.

DS, DNSKEY and signatures of a domain.

What SERVFAIL means

SERVFAIL ("server failure") is the DNS answer a resolver gives when it tried to get an answer and could not. Unlike NXDOMAIN, it does not say the name does not exist: it says something is broken on the way. For visitors the result is the same, the site does not load, but the fix is different.

The usual causes

CauseHow to recognise it
Broken DNSSECFails on validating resolvers (1.1.1.1, 8.8.8.8, many ISPs) but works on others. Often after changing DNS provider without updating the DS record. The DNSSEC checker above says "broken".
Name servers that do not answerThe NS records point to servers that are down, were removed, or do not know the zone ("lame delegation").
Expired DNSSEC signaturesThe DNS provider stopped re-signing the zone.
A broken zoneA CNAME loop, or a CNAME at the same name as other records.

How to fix it

  1. Run the DNSSEC checker above. If it says broken, remove the DS record at your registrar (or replace it with the current one from your DNS provider). The domain comes back within the TTL of the DS, usually hours.
  2. Check the name servers in the WHOIS lookup and the DNS lookup (NS records): they must be the ones of your current DNS provider.
  3. Compare resolvers in the DNS propagation check: SERVFAIL only on some of them points to DNSSEC.
  4. When you move a domain to another DNS provider, turn DNSSEC off first, wait a day, and turn it on again at the new one.

Related errors

Last updated: