DnsMessage Class

Message returned as result to a dns query

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public class DnsMessage : DnsRecordMessageBase
Inheritance
Object    DnsMessageBase    DnsRecordMessageBase    DnsMessage

Constructors

DnsMessageInitializes a new instance of the DnsMessage class

Properties

AdditionalRecords Gets or sets the entries in the additional records section
(Inherited from DnsMessageBase)
AnswerRecords Gets or sets the entries in the answer records section
(Inherited from DnsRecordMessageBase)
AuthorityRecords Gets or sets the entries in the authority records section
(Inherited from DnsRecordMessageBase)
EDnsOptions Gets or set the OptRecord for the EDNS options
(Inherited from DnsMessageBase)
IsAuthenticData

Gets or sets the authentic data (AD) flag

Defined in RFC 4035.

IsAuthoritiveAnswer

Gets or sets the autoritive answer (AA) flag

Defined in RFC 1035.

IsCheckingDisabled

Gets or sets the checking disabled (CD) flag

Defined in RFC 4035.

IsDnsSecOk

Gets or sets the DNSSEC answer OK (DO) flag

Defined in RFC 4035 and RFC 3225.

IsEDnsEnabled Enables or disables EDNS
(Inherited from DnsMessageBase)
IsQuery Gets or sets the query (QR) flag
(Inherited from DnsMessageBase)
IsRecursionAllowed

Gets or sets the recursion allowed (RA) flag

Defined in RFC 1035.

IsRecursionDesired

Gets or sets the recursion desired (RD) flag

Defined in RFC 1035.

IsTruncated

Gets or sets the truncated response (TC) flag

Defined in RFC 1035.

OperationCode Gets or sets the Operation Code (OPCODE)
(Inherited from DnsRecordMessageBase)
Questions Gets or sets the entries in the question section
(Inherited from DnsRecordMessageBase)
ReturnCode Gets or sets the return code (RCODE)
(Inherited from DnsMessageBase)
TransactionID Gets or sets the transaction identifier (ID) of the message
(Inherited from DnsMessageBase)
TSigOptions Gets or set the TSigRecord for the tsig signed messages
(Inherited from DnsMessageBase)

Methods

CreateResponseInstance Creates a new instance of the DnsMessage as response to the current instance
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse Parses a the contents of a byte array as DnsMessage
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also