DNS Example
MX Record Query
Examine a DNS MX record query packet. Learn how to query mail exchange records, query type field values, and mail server lookup structure.
Hex Data
01 00 00 01 00 00 00 00 00 00 05 67 6D 61 69 6C 03 63 6F 6D 00 00 0F 00 01
Note: Query for MX record of gmail.com (type 0x000F)
querymx-record
Field Breakdown
Transaction ID
Identifier for matching queries and responses
0x0100
Flags
Query/Response flags and codes
0b0000000000000001
Questions
Number of questions
0
Answer RRs
Number of answer resource records
0
Authority RRs
Number of authority resource records
0
Additional RRs
Number of additional resource records
1383
About DNS
Domain Name System (RFC 1035)
Fields: 6
Endianness: big
Specification: RFC 1035