Table of Contents

Enum ResponseCode

Namespace
Ubiety.Dns.Core.Common
Assembly
Ubiety.Dns.Core.dll

Represents the response codes used in DNS queries and responses.

public enum ResponseCode

Fields

NoError = 0

Indicates that no error occurred during the DNS query or response.

FormErr = 1

Indicates a format error, meaning the server was unable to interpret the query due to a format issue.

ServFail = 2

Indicates a server failure occurred, meaning the DNS server was unable to process the query due to an internal error.

NXDomain = 3

Indicates that the domain name referenced in the DNS query does not exist.

NotImp = 4

Indicates that the requested operation is not implemented on the DNS server.

Refused = 5

Indicates that the DNS server refused to process the query for policy reasons.

YXDomain = 6

Indicates that a name exists when it was not expected during a DNS query, typically in relation to zone integrity checks.

YXRRSet = 7

Indicates that an RR (Resource Record) set exists when it should not during the DNS query or response.

NXRRSet = 8

Indicates that the name exists, but no associated resource records (RR) of the requested type were found. Typically returned in DNS queries when the requested RR type is not present for the queried name.

NotAuth = 9

Indicates that the server is not authoritative for the requested domain.

NotZone = 10

Indicates that the specified zone is invalid for a DNS query or update.

BADVERSSIG = 16

Indicates that the signature provided in a DNSSEC-enabled response is invalid due to a version or format issue.

BADKEY = 17

Indicates that the key used in the DNS query or response is invalid.

BADTIME = 18

Indicates a bad or out-of-date timestamp was provided during a DNS query or response, typically related to the TSIG authentication.

BADMODE = 19

Indicates that the server is in a bad operating mode, which does not support the DNS operation.

BADNAME = 20

Indicates that an invalid or malformed name was encountered in the DNS query or response.

BADALG = 21

Indicates that a bad algorithm was specified in the DNS query or response.

BADTRUNC = 22

Indicates that a BADTRUNC error occurred, which is related to a malformed or improperly truncated DNS message.