Defined in file: hzDNS.h
Used in the interpretation of a DNS query
Constructors/Detructors
| Default constructor | DnsHdr() | Not specified in code. Default applies |
| Copy constructor | DnsHdr(&) | Not specified in code. Default applies |
| Default constructor | DnsHdr() | Not specified in code. Default applies |
Public Methods:
| bool | Authoritative | (void) | |
| uint32_t | OpCode | (void) | |
| bool | QueryResponse | (void) | |
| bool | RecursionAvail | (void) | |
| bool | RecursionDesire | (void) | |
| uint32_t | ResponseCode | (void) | |
| bool | Truncation | (void) | |
| void | _clear | (void) |
Member Variables:
| uint16_t | m_nDNACode | Flags for interpretation - currently ignored | |
| uint16_t | m_nNoAdditional | Name server record count | |
| uint16_t | m_nNoAnswers | Answer count | |
| uint16_t | m_nNoAuth | Name server record count | |
| uint16_t | m_nNoQuestions | Question count | |
| uint16_t | m_nQueryID | Useful only if set of records require more than one UDP packet. We send this with next request. |