How does a website name find its place?
01Take a name apart, follow its pieces through a tree, and try names that are too large.
Start with a complete name. Its dots separate name pieces, not roads between computers.
Where does this name point in the tree?
www.example.org.What happens if you change this?
Make one change, then watch again. Restart restores the original example.
The full name is read from this node back toward the root.
Key idea: A DNS name is an ordered path in a tree. It does not say where a computer is physically located.
Terms
- DNS label
- One piece between the separating dots: www, example, or org.
- Root
- The shared starting point of the name tree, written as the final dot.
- Domain
- A named place and all the names below it.
- Absolute name
- A name that includes its path all the way to the root.
Rules & examples
A name identifies a path; it does not promise a computer or record exists.
These reference examples may differ from the selected experiment.
- Each label is at most 63 octets; a complete encoded name is at most 255 octets.
- A trailing dot explicitly includes the root label.
- DNS comparisons of ASCII letters ignore case; preserve the original case when possible.
A domain contains its descendants. A zone is an administrative portion of the tree, and may stop at delegation boundaries.
This is an ordinary, uncompressed ASCII-label example, not a general DNS text parser. Wire form uses one length byte per label plus a final zero-length root byte. The selected representation needs 17 bytes. Each non-root label is 1–63 bytes; the complete representation is at most 255 bytes. DNS ASCII comparisons ignore letter case; this model retains the original spelling. No IDNA, escapes or compression are implemented. RFC4343 clarifies case handling.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.