C# Class DnDns.Query.DnsQueryBase

DnsQueryBase maintains the common state of DNS Queries (both responses and requests)
Afficher le fichier Open project: RELOAD-NET/RELOAD.NET

Protected Properties

Свойство Type Description
_additionalRRs ushort
_answerRRs ushort
_authorityRRs ushort
_flags ushort
_name string
_nsClass NsClass
_nsFlags NsFlags
_nsType NsType
_opCode OpCode
_queryResponse QueryResponse
_questions ushort
_rCode RCode
_transactionId ushort

Property Details

_additionalRRs protected_oe property

ARCOUNT - an unsigned 16 bit integer specifying the number of resource records in the additional records section.
protected ushort _additionalRRs
Résultat ushort

_answerRRs protected_oe property

ANCOUNT - an unsigned 16 bit integer specifying the number of resource records in the answer section.
protected ushort _answerRRs
Résultat ushort

_authorityRRs protected_oe property

NSCOUNT - an unsigned 16 bit integer specifying the number of name server resource records in the authority records section.
protected ushort _authorityRRs
Résultat ushort

_flags protected_oe property

_flags will store a combination of the enums that make up the 16 bits after the TransactionID in the DNS protocol header
protected ushort _flags
Résultat ushort

_name protected_oe property

QNAME - a domain name represented as a sequence of labels, where each label consists of a length octet followed by that number of octets. The domain name terminates with the zero length octet for the null label of the root. Note that this field may be an odd number of octets; no padding is used
protected string _name
Résultat string

_nsClass protected_oe property

QCLASS - a two octet code that specifies the class of the query. For example, the QCLASS field is IN for the Internet.
protected NsClass _nsClass
Résultat NsClass

_nsFlags protected_oe property

- A combination of flag fields in the DNS header (|AA|TC|RD|RA|)
protected NsFlags _nsFlags
Résultat NsFlags

_nsType protected_oe property

QTYPE - a two octet code which specifies the type of the query. The values for this field include all codes valid for a TYPE field, together with some more general codes which can match more than one type of RR.
protected NsType _nsType
Résultat NsType

_opCode protected_oe property

OPCODE - A four bit field that specifies kind of query in this message. This value is set by the originator of a query and copied into the response.
protected OpCode _opCode
Résultat OpCode

_queryResponse protected_oe property

A one bit field that specifies whether this message is a query (0), or a response (1).
protected QueryResponse _queryResponse
Résultat QueryResponse

_questions protected_oe property

QDCOUNT - an unsigned 16 bit integer specifying the number of entries in the question section.
protected ushort _questions
Résultat ushort

_rCode protected_oe property

Response code - this 4 bit field is set as part of responses only.
protected RCode _rCode
Résultat RCode

_transactionId protected_oe property

ID - A 16 bit identifier. This identifier is copied the corresponding reply and can be used by the requester to match up replies to outstanding queries.
protected ushort _transactionId
Résultat ushort