Troubleshooting
Why DNS returns SERVFAIL
SERVFAIL means the server could not complete the query successfully. It is not proof that the requested name does not exist.
Updated
In this guide
Common causes
A recursive resolver can fail when authoritative servers do not respond, delegation is broken, or DNSSEC validation fails. The cause cannot be identified from the response code alone.
Compare scope
If one name fails on multiple resolvers, inspect its authoritative servers and DNSSEC configuration. If many unrelated names fail only on one resolver, investigate that resolver or network path.
Safe next steps
Do not disable DNSSEC globally as a workaround. For a domain you manage, correct the delegation, signatures or service availability. Allow cached failure conditions to expire and retest.
Look at independent evidence
If a validating resolver returns SERVFAIL while an authoritative server supplies data, a broken validation chain is one possible explanation, not the only one. For a domain you manage, examine delegation, DS and DNSKEY consistency and authoritative responses before making changes.
Step-by-step example
Treat SERVFAIL as an inability to complete resolution, not as a nonexistent domain.
- 01
Capture the failure
Record the exact hostname, query type, resolver and response status. A received SERVFAIL is different from a network timeout.
- Name
- www.example.com
- Type
- A
- Status
- SERVFAIL (example)
Illustration · example, not a live result - 02
Compare the scope
Check a known working name on the same resolver. If only your authorized domain fails, review delegation, nameserver health and DNSSEC configuration with your administrator. A single SERVFAIL does not tell you which cause applies.
- Many names fail
- Resolver / connection
- One domain fails
- Inspect domain configuration
Illustration · example, not a live result - 03
Verify without weakening security
Repeat after correcting the identified issue. Do not disable DNSSEC validation as a general fix. If failures persist, provide timestamped evidence to the DNS operator.
- Before
- SERVFAIL
- After
- Expected record or valid negative response
Illustration · example, not a live result
Check your understanding
The tool's resolver response is one observation, not a complete independent DNSSEC diagnosis.
Try this tool →Try this
Record the name, type, resolver and timestamp; compare with an independently configured resolver only when permitted.
DNS record lookup →