Class DnsQueryResult
Represents a response from a DNS server.
Inherited Members
Namespace: Swan.Net.Dns
Syntax
public class DnsQueryResult
Properties
AdditionalRecords
Gets the additional records.
Declaration
public IList<DnsRecord> AdditionalRecords { get; }
Property Value
Type | Description |
---|---|
IList<DnsRecord> | The additional records. |
AnswerRecords
Gets the answer records.
Declaration
public IList<DnsRecord> AnswerRecords { get; }
Property Value
Type | Description |
---|---|
IList<DnsRecord> | The answer records. |
AuthorityRecords
Gets the authority records.
Declaration
public IList<DnsRecord> AuthorityRecords { get; }
Property Value
Type | Description |
---|---|
IList<DnsRecord> | The authority records. |
Id
Gets the identifier.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
Int32 | The identifier. |
IsAuthoritativeServer
Gets a value indicating whether this instance is authoritative server.
Declaration
public bool IsAuthoritativeServer { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsRecursionAvailable
Gets a value indicating whether this instance is recursion available.
Declaration
public bool IsRecursionAvailable { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
IsTruncated
Gets a value indicating whether this instance is truncated.
Declaration
public bool IsTruncated { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
OperationCode
Gets the operation code.
Declaration
public DnsOperationCode OperationCode { get; }
Property Value
Type | Description |
---|---|
DnsOperationCode | The operation code. |
ResponseCode
Gets the response code.
Declaration
public DnsResponseCode ResponseCode { get; }
Property Value
Type | Description |
---|---|
DnsResponseCode | The response code. |