Appearance
DnsResponseCode Enum
Identifies the response code (RCODE) returned in the header of a DNS reply.
Namespace: JASE.Network
Assembly: JASE.Network.dll
Underlying Type int
Fields
| Name | Value | Description |
|---|---|---|
NoError | 0 | No error condition (RCODE 0). |
FormatError | 1 | The name server was unable to interpret the query (RCODE 1). |
ServerFailure | 2 | The name server encountered an internal failure (RCODE 2). |
NameError | 3 | The queried domain name does not exist (RCODE 3, commonly NXDOMAIN). |
NotImplemented | 4 | The name server does not support the requested query type (RCODE 4). |
Refused | 5 | The name server refused to perform the requested operation (RCODE 5). |
Remarks
The numeric value of each member matches the 4-bit RCODE used on the wire. Response codes outside the enumerated range are preserved as their numeric value.