DNS Troubleshooting

How to Fix SERVFAIL DNS Errors

A SERVFAIL response means that a DNS server was unable to complete your query successfully. This guide explains the most common causes of SERVFAIL responses and provides practical, step-by-step troubleshooting instructions for website owners and administrators.

📅 Last Updated July 2026
📖 Estimated Reading 6 minutes

At a Glance

SERVFAIL is a DNS server response that indicates the query could not be completed successfully. Unlike NXDOMAIN, it does not necessarily mean the domain doesn’t exist.

DNS Response SERVFAIL
Usually Indicates DNS server or configuration problem
Most Common Causes DNSSEC, nameservers, resolver failures
Estimated Fix Time 10–30 minutes
Difficulty Intermediate

Why You’re Seeing This Error

A SERVFAIL response indicates that a DNS resolver was unable to successfully complete your DNS request. Unlike NXDOMAIN, which means a domain does not exist, SERVFAIL usually indicates that the domain exists, but the DNS server encountered a problem while trying to resolve it.

This may happen because of DNSSEC validation failures, unavailable authoritative nameservers, incorrect DNS delegation, temporary resolver issues, or other DNS configuration problems.

ℹ Good to know

A SERVFAIL response doesn’t always mean the problem is on your side. In many cases, the issue originates from the domain’s DNS configuration or from the recursive DNS resolver you’re using.

SERVFAIL vs Other DNS Responses

Response Meaning
SERVFAIL The DNS server encountered an internal problem while processing the request.
NXDOMAIN The requested domain name does not exist.
REFUSED The DNS server refused to answer the query.
NOERROR The query completed successfully.

Common Causes of SERVFAIL

A SERVFAIL response can occur for several reasons. The issues below are among the most common and should be checked before making more advanced changes.

DNSSEC Validation Failure

Incorrect or outdated DNSSEC records can prevent DNS resolvers from validating the domain, resulting in a SERVFAIL response.

Authoritative Nameserver Issues

The authoritative nameservers may be offline, unreachable, or incorrectly configured.

Broken DNS Delegation

Incorrect NS records or mismatched delegation between the registrar and the DNS provider can prevent successful lookups.

Resolver Problems

Temporary issues with your ISP’s DNS resolver or public DNS service may cause SERVFAIL responses.

Invalid Zone Configuration

Missing SOA records, broken zone files, or incorrect DNS records can prevent successful resolution.

Firewall or Network Restrictions

Firewalls or network policies blocking DNS traffic may interfere with successful DNS queries.

Before You Start

Before making any changes, verify that the issue isn’t temporary. DNS propagation, resolver outages, or recent configuration changes may temporarily cause SERVFAIL responses.

  • ✓ Check whether you recently changed DNS records or nameservers.
  • ✓ Confirm that the domain registration is active.
  • ✓ Test the domain using another DNS resolver.
  • ✓ Avoid making multiple DNS changes simultaneously.
Step 1

Verify Your DNS Records

Before making any changes, verify the DNS records currently being returned for your domain. This helps identify missing, outdated, or incorrectly configured records that may be causing the SERVFAIL response.

Check the following DNS records:

  • A / AAAA – Ensure they point to the correct server.
  • NS – Verify the authoritative nameservers are correct.
  • SOA – Confirm the zone has a valid Start of Authority record.
  • MX – Check mail routing if email services are affected.
  • TXT – Review SPF, DKIM and DMARC records if applicable.
Tip

Compare the returned DNS records with the configuration in your DNS provider or hosting control panel. If they don’t match, you’ve likely found the source of the problem.

Expected Result

All required DNS records are present, point to the correct values, and are returned without errors.

Open DNS & WHOIS Lookup →

This tool displays A, AAAA, CNAME, MX, TXT, NS, SOA and other DNS records, along with WHOIS information for your domain.

Step 2

Verify Your Authoritative Nameservers

If your DNS records appear to be correct, the next step is to verify that your domain is delegated to the correct authoritative nameservers. Incorrect or unavailable nameservers are a common cause of SERVFAIL responses.

Check the following:

  • Your domain is using the expected nameservers.
  • All authoritative nameservers respond to DNS queries.
  • The registrar and DNS provider show the same nameserver configuration.
  • The nameservers are not returning timeout or SERVFAIL responses themselves.
Why this matters

Even perfectly configured DNS records won’t be used if the domain is delegated to the wrong nameservers or the authoritative servers are unavailable.

Expected Result

All configured nameservers respond successfully and match the delegation configured at your domain registrar.

Step 3

Verify Your DNSSEC Configuration

DNSSEC (Domain Name System Security Extensions) protects DNS responses from tampering by adding cryptographic signatures to DNS data. If DNSSEC is enabled but incorrectly configured, DNS resolvers may reject otherwise valid responses and return a SERVFAIL error.

Review the following items:

  • Verify that the DS record at your registrar matches the active DNSKEY.
  • Ensure DNSSEC is enabled only if your DNS provider fully supports it.
  • Check for expired or invalid DNSSEC signatures.
  • Confirm that recent DNS migrations didn’t leave old DS records behind.
Tip

DNSSEC problems are one of the most common causes of SERVFAIL after changing DNS providers or migrating a domain to another nameserver.

Important

Don’t disable DNSSEC unless you’ve confirmed it’s the source of the problem. Removing DNSSEC unnecessarily reduces protection against DNS spoofing and cache poisoning attacks.

Expected Result

DNSSEC validation completes successfully without generating SERVFAIL responses.

Learn more about DNSSEC in the ICANN DNSSEC Overview .

Step 4

Test Using Another DNS Resolver

If your DNS records, nameservers, and DNSSEC configuration all appear to be correct, the issue may be related to the recursive DNS resolver you’re currently using.

Testing the domain with another public DNS resolver can help determine whether the problem is local to your ISP or affects multiple DNS providers.

  • Test using Google Public DNS.
  • Repeat the lookup using Cloudflare DNS (1.1.1.1).
  • Compare the responses from multiple resolvers.
  • Clear your local DNS cache before testing again if you’ve recently made DNS changes.
Google Public DNS Guide →
Why test another resolver?

Different recursive DNS resolvers maintain independent caches and validation processes. If one resolver returns SERVFAIL while another resolves the domain successfully, the issue may be temporary or isolated to a specific DNS service.

Tip

If every public DNS resolver returns SERVFAIL, the problem is very likely with the domain’s DNS configuration rather than your local network.

Expected Result

At least one reliable public DNS resolver successfully resolves the domain, or you’ve confirmed that the SERVFAIL response is consistent across multiple providers.

Step 5

Contact Your DNS or Hosting Provider

If you’ve completed the previous troubleshooting steps and your domain still returns a SERVFAIL response, the issue is likely related to your DNS provider, hosting provider, or registrar.

Before contacting support, collect the following information to help speed up the investigation.

  • Your domain name.
  • The exact error message or DNS response.
  • The date and time the issue started.
  • The DNS provider or registrar managing the domain.
  • The nameservers currently assigned to the domain.
  • Whether the issue occurs with multiple public DNS resolvers.
  • Any recent DNS, nameserver, or DNSSEC changes.
Why this information matters

Providing these details allows the support team to reproduce the problem more quickly and determine whether the issue is related to DNS configuration, DNSSEC validation, authoritative nameservers, or infrastructure problems.

Tip

If the problem started immediately after changing DNS settings, mention exactly what was changed and when the changes were made.

Verify the Fix

After making DNS changes, verify that the issue has been resolved before considering the troubleshooting complete.

✓
DNS records resolve correctly

Verify that A, AAAA, MX, NS, and other required DNS records are returned without errors.

✓
No SERVFAIL responses

Query the domain using multiple public DNS resolvers to confirm the error no longer occurs.

✓
Website loads normally

Open the website in your browser and verify that pages load without DNS-related errors.

✓
Email services work

If the domain handles email, verify that messages can be sent and received successfully.

Related Resources

Continue exploring DNS troubleshooting with these tools and guides.

DNS & WHOIS Lookup

Inspect DNS records, nameservers and WHOIS information.

Open Tool →

DNSSEC Explained

Learn how DNSSEC validation works and why it matters.

Read Guide →

DNS_PROBE_FINISHED_NXDOMAIN

Troubleshoot one of the most common DNS resolution errors.

Read Guide →