Module dominion::header

source ·
Expand description

The header of the DNS packet

Structs

A DNS header.
DNS Flags

Enums

DNSSEC flag to indicate if the data has been cryptographically authenticated
Flag to indicate if the answer is authoritative
DNSSEC flag to indicate if the client has enabled checking of the data.
Standard query (0), Inverse query (1), Server status query (2), Notify (4), Update (5), DSO (6)
Query (0) or Response (1) packet.
Flag to indicate if recursion is available by the server.
Flag to indicate if recursion is desired by the client.
Response code
Flag to indicate if the packet has been truncated.
Reserved, should be 0.