Domain Detective

API Reference

Enum

DnsResponseCode

Namespace DnsClientX
Assembly DnsClientX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Enumerates the DNS RCODE values returned in a response. See RFC 1035 section 4.1.1 and RFC 6895 for details.

Inheritance

  • Enum
  • DnsResponseCode

Remarks

This enumeration maps the numeric values returned in the DNS header's RCODE field to friendly names.

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const DnsResponseCode NoError #

The DNS query completed successfully.

Value: 0
public const DnsResponseCode FormatError #

The DNS query was formatted incorrectly.

Value: 1
public const DnsResponseCode ServerFailure #

The server failed to complete the DNS query due to an internal error.

Value: 2
public const DnsResponseCode NXDomain #

The queried domain name does not exist.

Value: 3
public const DnsResponseCode NotImplemented #

The server does not support the requested operation.

Value: 4
public const DnsResponseCode Refused #

The server refused to respond to the DNS query.

Value: 5
public const DnsResponseCode YXDomain #

A domain name that should not exist, does exist.

Value: 6
public const DnsResponseCode YXRRSet #

A resource record set exists when it should not.

Value: 7
public const DnsResponseCode NXRRSet #

A resource record set that should exist, does not.

Value: 8
public const DnsResponseCode NotAuth #

The server is not authoritative for the queried zone, or the server is not authorized to give a response.

Value: 9
public const DnsResponseCode NotZone #

The queried name is not contained in the zone.

Value: 10
public const DnsResponseCode DSOTYPENotImplemented #

The DSO-TYPE is not implemented.

Value: 11
public const DnsResponseCode BadVersion #

The OPT version is not supported.

Value: 16
public const DnsResponseCode BadSignature #

The TSIG signature failed to validate.

Value: 17
public const DnsResponseCode BadKey #

The key used for the query was not recognized.

Value: 18
public const DnsResponseCode BadTime #

The signature is outside the valid time window.

Value: 19
public const DnsResponseCode BadMode #

The TKEY mode is not valid.

Value: 20
public const DnsResponseCode BadName #

The key name is duplicated.

Value: 21
public const DnsResponseCode BadAlgorithm #

The algorithm used for the query is not supported.

Value: 22
public const DnsResponseCode BadTruncation #

The message was truncated in a way that is not allowed.

Value: 23
public const DnsResponseCode BadCookie #

The server cookie is either bad or missing.

Value: 24
{{ include "footer" }}