What is the difference between NXDOMAIN and SERVFAIL?

THE DIRECT ANSWER

NXDOMAIN is DNS response code 3, meaning the queried name does not exist; SERVFAIL is code 2, meaning the server failed to process the query. RFC 1035 defines those codes. A name-existence problem and a resolution-processing failure need different investigations, so record the code and exact query before changing website records.

Follow the actual DNS error

Compare the authoritative answer and the affected recursive resolver. For SERVFAIL, include delegation, server reachability and DNSSEC validation in the investigation: RFC 4035 describes validation failures as bogus when an expected chain cannot be established. For NXDOMAIN, confirm the owner name and the zone you edited.

Your Next Steps

  1. 01

    Record the full owner name, type and response code.

  2. 02

    Query the intended authoritative servers.

  3. 03

    Investigate missing name or failed resolution accordingly.

  4. 04

    Retest the original affected query.

Follow the actual DNS error

Compare the authoritative answer and the affected recursive resolver. For SERVFAIL, include delegation, server reachability and DNSSEC validation in the investigation: RFC 4035 describes validation failures as bogus when an expected chain cannot be established. For NXDOMAIN, confirm the owner name and the zone you edited.

What to check before you act
CheckWhy it matters
Verified detailDNS header Name Error3 and Server Failure2.
Your next stepRetest the original affected query.

Sources & Useful Links

Published 2026-11-17. Last updated 2026-11-19.

Ready for your next idea?

See if the domain you have in mind is available.

Find Your Domain