Module dnssector::constants

source ·

Enums

DNS query class
EDNS option
DNS opcodes
DNS return codes
DNS packet section
DNS query type

Constants

Offset to the extended RR code, from the beginning of an extended RR.
Size of the header of an extended RR.
Offset to the length of an extended RR, from the beginning of the extended RR.
Offset to the flags (including rcode and opcode), from the beginning of the DNS packet
Size of the main DNS header, that includes flags and the size of each section.
Maximum size of a compressed packet
Maximum number of indirections in a compressed name.
Maximum length of a host name.
Maximum size of an uncompressed packet
Offset to the edns extended flags, for OPT RRs.
Offset to the edns version number, for OPT RRs.
Offset to the extended rcode, for OPT RRs.
Size of the header of an edns section.
Offset to the maximum payload for edns0-enabled UDP packets, for OPT RRs.
Offset to the total size of the edns records, within OPT RRS.
Offset to the first (and usually only) record of the question section, from the start of the packet.
Offset to the return code, from the beginning of the DNS packet
Offset to the class identifier, from the location right after the RR name.
Size of the header for a RR in a section that is not the question section.
Size of the header for a RR in the question section.
Offset to the rdata length, from the location right after the RR name.
Offset to the TTL, from the location right after the RR name.
Offset to the type identifier, from the location right after the RR name.
Offset to the transaction ID, from the beginning of a DNS packet