Names and DNS
DNS response codes
The status on every DNS answer: found it, no such name, or couldn't get an answer.
dig prints it as status:. NOERROR with an answer is a hit. NXDOMAIN means the zone's own server says
the name doesn't exist, and resolvers save that no for the last number of the zone's SOA (negative caching).
SERVFAIL means the resolver got no usable answer: a zone that failed to load, servers it can't reach, a signature
that doesn't check. REFUSED means the server won't answer you. No status at all, a timeout, means nobody
answered.
Read next
- DNS The distributed directory that turns names like bank.lab into addresses.
- Recursive resolver The DNS server a device asks: it does the whole search and caches the answers.
- Authoritative server A DNS server that holds a zone's records and answers for them with the aa flag.
- DNS records The typed entries of a zone: A for an address, CNAME for an alias, NS for delegation, and more.