DnsResponseCode Enum

Specifies DNS response codes as defined in various RFCs.

public enum DnsResponseCode : ushort

Fields

NameValueDescription
NoError0No error condition (RFC 1035).
FormError1Format error: the name server was unable to interpret the query (RFC 1035).
ServerFailure2Server failure: the name server was unable to process the query (RFC 1035).
NameError3Name error: the domain name referenced in the query does not exist (RFC 1035).
NotImplemented4Not implemented: the name server does not support the requested operation (RFC 1035).
Refused5Refused: the name server refuses to perform the operation (RFC 1035).
YxDomain6Name exists when it should not (RFC 2136).
YxRRSet7RR set exists when it should not (RFC 2136).
NxRRSet8RR set that should exist does not (RFC 2136).
NotAuthoritative9Server not authoritative for zone / not authorized (RFC 2136).
NotZone10Name not contained in zone (RFC 2136).
BadVersion16Bad OPT version (RFC 6891).
BadKey17Key not recognized (RFC 2845).
BadTime18Signature out of time window (RFC 2845).
BadMode19Bad TKEY mode (RFC 2930).
BadName20Duplicate key name (RFC 2930).
BadAlgorithm21Algorithm not supported (RFC 2930).
BadTruncation22Bad truncation (RFC 4635).
BadCookie23Bad/missing server cookie (RFC 7873).