DNS Header (RFC 1035)
DNS Header (RFC 1035)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Byte Offset 0 Byte Offset 1 Byte Offset 2 Byte Offset 3
Opcode RCODE
QR
AA
TC
RD
RA
DNS ID (16-bit) Z (3-bit)
(4-bit) (4-bit)
Byte Offset 4 Byte Offset 5 Byte Offset 6 Byte Offset 7
Name Server Count (NSCOUNT) (16-bit) Additional Records Count (ADCOUNT) (16-bit)