Appearance
DnsQueryResult Class
Definition
Represents the result of a DNS query against a single name server.
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Properties
| Name | Description |
|---|---|
AdditionalRecords | Gets the records returned in the additional section of the response. |
AuthorityRecords | Gets the records returned in the authority section of the response. |
IsAuthoritative | Gets a value indicating whether the answering server was authoritative for the name. |
IsTruncated | Gets a value indicating whether the response was truncated. |
Name | Gets the normalized query name that was resolved. |
Records | Gets the records returned in the answer section of the response. |
RecordType | Gets the DNS record type that was queried. |
RecursionAvailable | Gets a value indicating whether recursion was available on the answering server. |
ResponseCode | Gets the response code reported in the reply header. |
Server | Gets the name server endpoint that answered the query. |
Success | Gets a value indicating whether the query completed without a server-reported error. |
Remarks
A non-success ResponseCode (such as NameError) is returned rather than thrown; inspect ResponseCode to distinguish a non-existent name from a name that simply has no records of the requested type.