Skip to content
Was this article helpful?

DNS_HEADER_T


This object provides operations for parsing the DNS header.

This topic lists the expressions that are provided by this class.

ANCOUNT

Returns the answer count in the DNS header.

Returns: num_at


ARCOUNT

Returns the additional record count in the DNS header.

Returns: num_at


FLAGS

Returns the value of DNS header flags

Returns: dns_flag_t


NSCOUNT

Returns the nameserver count in the DNS header.

Returns: num_at


OPCODE

Return the opcode in the DNS header.

Returns: dns_opcode_t


QDCOUNT

Returns the question count in the DNS header.

Returns: num_at


RCODE

Return the response code of the DNS question

Returns: dns_rcode_t


Was this article helpful?