Format error: the server could not interpret the query.
No error.
The server is not authoritative for the zone.
Not implemented: the server does not support the requested query.
A name is not within the zone.
Non-existent domain: the queried name does not exist.
An RR set that should exist does not.
Query refused (policy).
Server failure.
A name that should not exist does (dynamic update).
An RR set that should not exist does.
DNS RCODE values (the response status, low 4 bits of the flags word).
NOERRORis success. The session layer mapsSERVFAIL/REFUSED/FORMERR/NOTIMPto a ProtocolError on the typed paths, whileNXDOMAIN(the name simply has no records) does not throw for resolve. The raw DnsSession.query exposes the rcode unchanged.Since
1.0.4