SERVFAIL (server failure)

A DNS response code meaning the resolver could not get a valid answer for the name. It is a failure to answer, not a statement that the name is missing.

What it means for you

A resolver returns SERVFAIL when every route to an answer failed. The two common causes on a registered domain are broken nameservers (they are down, unreachable, or do not hold the zone) and a DNSSEC mismatch, where the DS record at the registry no longer matches the keys the zone signs with, so validating resolvers reject the answer as bogus. The DNSSEC case is easy to miss: resolvers that do not validate still answer, so the site works on some networks and fails on others. A DNS host change without first removing or updating the DS record is the classic trigger.

Error messages

  • SERVFAIL
  • Server failed
  • ERR_NAME_NOT_RESOLVED

Example

An owner moves a signed domain to a new DNS host and changes the nameservers at the registrar, but leaves the old DS record in place. Validating resolvers such as 1.1.1.1 and 8.8.8.8 now return SERVFAIL, while a resolver that skips validation still loads the site. Removing the stale DS record fixes it once the parent zone's TTL passes.

How to fix a SERVFAIL error

  1. Query the domain through several public resolvers. If only validating resolvers fail, suspect DNSSEC.
  2. Check DNSSEC: the DS record at the registry must match a key the zone currently publishes.
  3. Confirm each nameserver listed for the domain is reachable and answers for the zone.
  4. After a DNS host change, remove or replace the old DS record at the registrar.
  5. Enter the domain below to check its DNSSEC chain.
NXDOMAIN (domain does not exist)
A DNS response code meaning the name being looked up does not exist. Browsers show it as DNS_PROBE_FINISHED_NXDOMAIN or ERR_NAME_NOT_RESOLVED.
REFUSED (query refused)
A DNS response code meaning the server received the query and declined to answer it.
Lame delegation
A nameserver listed for a domain that does not answer authoritatively for it.
ERR_CERT_DATE_INVALID (expired certificate)
A browser error meaning the site's certificate is outside its validity dates, almost always because it has expired.
ERR_CERT_COMMON_NAME_INVALID (name mismatch)
A browser error meaning the certificate presented was not issued for the name in the address bar.
ERR_CERT_AUTHORITY_INVALID (untrusted issuer)
A browser error meaning the certificate was not issued by an authority the browser trusts, or its chain to one is incomplete.
ERR_SSL_PROTOCOL_ERROR
A browser error meaning the secure connection could not be negotiated at all, before any certificate was checked.
HSTS error
A browser error shown when a site that requires HTTPS through HSTS presents an invalid certificate, with no option to continue anyway.