Skip to content

DnsQueryResult Class ​

Definition ​

Represents the result of a DNS query against a single name server.

  • Namespace: JASE.Network
  • Assembly: JASE.Network.dll

Properties ​

NameDescription
AdditionalRecordsGets the records returned in the additional section of the response.
AuthorityRecordsGets the records returned in the authority section of the response.
IsAuthoritativeGets a value indicating whether the answering server was authoritative for the name.
IsTruncatedGets a value indicating whether the response was truncated.
NameGets the normalized query name that was resolved.
RecordsGets the records returned in the answer section of the response.
RecordTypeGets the DNS record type that was queried.
RecursionAvailableGets a value indicating whether recursion was available on the answering server.
ResponseCodeGets the response code reported in the reply header.
ServerGets the name server endpoint that answered the query.
SuccessGets 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.