DNS Error Codes
DNS response codes explain why a name lookup failed or returned no usable answer. They are returned in the DNS header and are often the fastest way to separate a domain problem from a network or application problem.
| Code | What it means | Severity | Source |
|---|---|---|---|
NXDOMAIN |
NXDOMAIN The domain name does not exist. |
error | IANA DNS Parameters |
SERVFAIL |
SERVFAIL The DNS server failed to complete the resolution. |
error | IANA DNS Parameters |
REFUSED |
REFUSED The DNS server refused to answer the query. |
warning | IANA DNS Parameters |
FORMERR |
FORMERR The DNS server could not interpret the query. |
warning | IANA DNS Parameters |
NOTIMP |
NOTIMP The DNS server does not implement the requested operation. |
warning | IANA DNS Parameters |
TIMEOUT |
TIMEOUT The DNS query did not receive a response before the timeout. |
warning | IANA DNS Parameters |
NODATA |
NODATA The name exists, but it has no record of the requested type. |
warning | IANA DNS Parameters |
BADVERS |
BADVERS The server does not support the EDNS version used in the query. |
warning | IANA DNS Parameters |
NOTAUTH |
Not Authoritative The DNS server is not authoritative for the zone in the query. |
warning | IANA DNS Parameters |
No codes match that filter.
Common DNS codes
How to read DNS codes
Start with the exact code and the context in which it appeared. A code is only a label: the same value can mean different things in different products, versions, or components. Use the quick answer and the official source on the detail page to confirm the meaning before changing a configuration or deleting data.
If the code is new to you, search this page first, then open the detail page for causes and step-by-step fixes. When a fix requires administrator rights, a reboot, or a data-destructive action, the page will say so explicitly.
Found a mistake or a missing code?
Send us the product, code, and official source. We review every correction before publishing.