{"id":"https://www.namesilo.com/questions/dns-and-email/what-is-the-difference-between-nxdomain-and-servfail","url":"https://www.namesilo.com/questions/dns-and-email/what-is-the-difference-between-nxdomain-and-servfail","title":"What is the difference between NXDOMAIN and SERVFAIL?","description":"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…","language":"en","category":"dns-and-email","datePublished":"2026-11-17","dateModified":"2026-11-19","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.","body":"What is the difference between NXDOMAIN and SERVFAIL?\n\nNXDOMAIN 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.\n\nFollow the actual DNS error\n\nCompare 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.\n\nYour next steps\n\nRecord the full owner name, type and response code\n\nQuery the intended authoritative servers\n\nInvestigate missing name or failed resolution accordingly\n\nRetest the original affected query\n\nFollow the actual DNS error\n\nCompare 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.\n\nVerified detail: DNS header Name Error3 and Server Failure2.\n\nYour next step: Retest the original affected query.","steps":["Record the full owner name, type and response code","Query the intended authoritative servers","Investigate missing name or failed resolution accordingly","Retest the original affected query"],"faqs":[],"sources":[{"name":"IETF RFC 1035 §4.1.1","url":"https://www.rfc-editor.org/rfc/rfc1035.txt#section-4.1.1"},{"name":"IETF RFC 4035 §4.3","url":"https://www.rfc-editor.org/rfc/rfc4035.txt#section-4.3"}],"json":"https://www.namesilo.com/questions/data/what-is-the-difference-between-nxdomain-and-servfail.json","markdown":"https://www.namesilo.com/questions/data/what-is-the-difference-between-nxdomain-and-servfail.md"}