DNS WireFormat Hex Packet Parser

DNS WireFormat Hex Packet Parser: Parses RFC 1035 header: Transaction ID 0xaaaa, Flags standard query, Questions: 1 (example.com, Type: A, Class: IN).

Loading tool module...

About this dns wireformat hex packet parser

DNS WireFormat Hex Packet Parser — browser-based utility.

How this tool works

Implements client-side DNS WireFormat Hex Packet Parser operations. Parses RFC 1035 header: Transaction ID 0xaaaa, Flags standard query, Questions: 1 (example.com, Type: A, Class: IN) specifically designed for a dns engineer parses the raw hexadecimal wireformat bytes of a dns query packet.

  1. Protocol Message De-serialization: Parses raw DNS wire-format byte streams or HAR 1.2 JSON waterfall entries.
  2. Record Validation & Separation: Enforces RFC 6844 requirements that CAA authorization ('issue', 'issuewild') and reporting ('iodef') tags reside on separate records.
  3. Waterfall Timing Analysis: Sums network phases (blocked, dns, connect, ssl, send, wait, receive) to evaluate latency waterfalls.
  4. Visual Diagnostic Reporting: Renders color-coded waterfall timelines and highlights high-latency assets or missing HTTP caching headers.

Worked example

Scenario: Read the header and one question from a DNS hex query.

Sample input:

12 34 01 00 00 01 00 00 00 00 00 00 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00 00 01 00 01

Processing: Decode the 12-byte header and the declared question name, type and class.

Illustrative output:

id 4660; recursionDesired true; questions 1; example.com type 1 class 1; bytes 29.

Limits and verification

Rejects combined single-line CAA records that violate RFC 6844 syntax. In HAR file analysis, protects against multi-gigabyte log allocations by parsing entry streams with memory safety bounds.

Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.

Browser processing boundary

Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.

Relevant references

These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.

Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology

How to use it

  1. Enter, paste, or select your input data into the DNS WireFormat Hex Packet Parser workspace controls.
  2. Review available parameter fields, units, formats, or options configured for your task.
  3. Click the action button or observe immediate live calculations rendered in your browser runtime.
  4. Inspect the resulting output and any diagnostic messages, then copy or download the result if needed.

Frequently asked questions

What DNS fields does this parser read?+

It accepts two-digit hexadecimal octets separated by whitespace, commas, colons or hyphens. It reads the 12-byte DNS header and then only the declared question records, returning header flags, four section counts, questionRecords and byte count.

Which input and result fields are available?+

The page has one text input, Run locally and Load sample. A standard 29-byte query for example.com A/IN returns id 4660, recursionDesired true, questions 1 and one question record. It does not send DNS packets, contact a resolver, or modify a DNS server.

Which byte-format limits actually apply?+

Each token must be exactly two hexadecimal digits and a message needs at least 12 bytes. Name labels may be 0 through 63 bytes; a compression pointer is shown as <compressed> without following it. It does not parse answer, authority or additional records even though it reports their header counts.

What result does the worked example produce?+

In the worked example, the tool matched an independently constructed 29-byte standard query: id 4660, one example.com A/IN question and all zero response-section counts. This validates the tested header/question vector, not RFC-complete DNS decoding or network behavior.