DNS GLOSSARY
NOERROR
NOERROR is DNS response code 0. It reports that no query-processing error was found, but it does not guarantee that the response contains the record you requested.
What NOERROR means
NOERROR is the DNS response code (RCODE) value 0. The server returned a DNS response and reported no error condition while processing the query.
Read the response code together with the Question, Answer, and Authority sections. A response can be NOERROR while its Answer section is empty. This can happen when the name exists but has no record of the requested type; this result is often called NODATA. It is different from NXDOMAIN, which reports that the queried name does not exist.
Illustrative example
Question: example.com. IN AAAA RCODE: NOERROR Answer: 0 records
This response completed without a DNS error, but it returned no AAAA record in the Answer section. It does not by itself explain why the answer is empty.
How to read the result
- If the Answer section contains the requested record, NOERROR accompanies a positive answer.
- If Answer is empty, check the exact name and record type, any CNAME chain, and the Authority section. The reply may be valid even though it contains no requested record.
- Compare A and AAAA only when you need to check IPv4 and IPv6 separately; the presence of one type does not guarantee the other.
- Do not treat NOERROR as a connectivity failure. If the response is unexpected, repeat the same query against a second trusted resolver and compare the full answers.
See DNS Lookup to check a name and record type, or compare with Timeout and SERVFAIL.
References
RFC 1035, Section 4.1.1 — DNS header and response code · RFC 2308, Section 2.2 — NXDOMAIN and NODATA
Related pages
Timeout · NXDOMAIN · SERVFAIL · DNS Lookup