API Reference
Enum
DnsResponseCode
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.
Returned or exposed by
- Property DnsResponse.Status
- Field DnsResponseCode.BadAlgorithm
- Field DnsResponseCode.BadCookie
- Field DnsResponseCode.BadKey
- Field DnsResponseCode.BadMode
- Field DnsResponseCode.BadName
- Field DnsResponseCode.BadSignature
- Field DnsResponseCode.BadTime
- Field DnsResponseCode.BadTruncation
- Field DnsResponseCode.BadVersion
- Field DnsResponseCode.DSOTYPENotImplemented
- Field DnsResponseCode.FormatError
- Field DnsResponseCode.NoError
- Field DnsResponseCode.NotAuth
- Field DnsResponseCode.NotImplemented
- Field DnsResponseCode.NotZone
- Field DnsResponseCode.NXDomain
- Field DnsResponseCode.NXRRSet
- Field DnsResponseCode.Refused
- Field DnsResponseCode.ServerFailure
- Field DnsResponseCode.YXDomain
- Field DnsResponseCode.YXRRSet
- Property DnsWireHeaderInfo.ResponseCode
Accepted by parameters
- Constructor DnsWireHeaderInfo.DnsWireHeaderInfo
- Method DnsWireHeaderInfo.Deconstruct
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const DnsResponseCode ServerFailure #The server failed to complete the DNS query due to an internal error.
Value:
2public const DnsResponseCode NotImplemented #The server does not support the requested operation.
Value:
4public const DnsResponseCode NotAuth #The server is not authoritative for the queried zone, or the server is not authorized to give a response.
Value:
9public const DnsResponseCode BadAlgorithm #The algorithm used for the query is not supported.
Value:
22public const DnsResponseCode BadTruncation #The message was truncated in a way that is not allowed.
Value:
23