DNS is a byte-structured question and answer format, not a magic name service. This lesson previews how a query message names a question before any answer appears.
highlighted = computed this step
Why DNS is a message
DNS turns a name into data by sending a structured message. The bytes say which question is being asked and how many answer records are present.
header bytes=12
Preview the query parts
This query begins with a 12-byte header, then the name bytes, then the question type and class.
12 header bytes
Why the count matters
The header says there is 1 question, so the following QNAME belongs to that one question section.
QDCOUNT=1
Summary
DNS is not magic here: it is a header plus encoded question bytes. Message structure and exact bytes only; resolution timing, caching, and UDP/TCP transport are not modeled here.