browse
The following table explains the DNS return codes that can be returned when doing a DNS query and may appear in your logs. Each return code has its own purpose in the DNS infrastructure. Typically, you'll see NOERROR (RCODE:0) when doing most of your successful browsing, all of the other return codes are consider errors.
For an exhaustive list of these codes, please see the DNS RCODEs section of this link: http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml
DNS Return Message |
DNS Response Code |
Function |
NOERROR | RCODE:0 |
DNS Query completed successfully |
FORMERR | RCODE:1 |
DNS Query Format Error |
SERVFAIL | RCODE:2 |
Server failed to complete the DNS request |
NXDOMAIN | RCODE:3 |
Domain name does not exist. |
NOTIMP | RCODE:4 |
Function not implemented |
REFUSED | RCODE:5 |
The server refused to answer for the query |
YXDOMAIN | RCODE:6 |
Name that should not exist, does exist |
XRRSET | RCODE:7 |
RRset that should not exist, does exist |
NOTAUTH | RCODE:8 |
Server not authoritative for the zone |
NOTZONE | RCODE:9 |
Name not in zone |