A domain name is also a delegation path. The label tree is recomputed from the exact QNAME bytes, so the hierarchy is not hand-authored.
highlighted = computed this step
Why the tree reads right to left
A DNS name is written left to right for people, but delegation works from the root toward the specific host. The tree is recomputed from the same QNAME bytes.
root→TLD→name
Root to host
The parsed labels become root dot, com, example, then www. No independent tree labels are trusted; the bytes decide the nodes.
.→com→example→www
Decode it again
The second QNAME uses mail, openai, and com. The same parser reverses those labels into the delegation tree.
.→com→openai→mail
Summary
The hierarchy is not a separate drawing; it is parsed from the exact QNAME bytes. Message structure and exact bytes only; resolution timing, caching, and UDP/TCP transport are not modeled here.