Hierarchy, Domains & Zones
Root does not forward your query to the TLD. Nothing is forwarded. The resolver makes every single query itself, and comes back to the middle after each one — twice holding nothing but a pointer.
You type roeiam.online into Chrome. Every query that follows, in order.
Scroll diagram →
Press Start — or click any server in the diagram
Four queries, one answer. Step through to see which server actually hands over an address — and how many only point somewhere else.
Domain vs. Zone
The example above illustrates the communication between the host and the resolver, what the resolver is responsible for, and how it interacts with every other component during normal DNS operation.
- Domain — the SLD (second-level domain, e.g.
google) plus the TLD (top-level domain, e.g..com). In the example aboveroeiamis the SLD and.onlineis the TLD. Everything belowroeiam, such asblog.roeiam.online, is part of theroeiam.onlinedomain and is served the same way. - Zone — a file or a database that actually contains the resource records.
ns11/ns12hold the resource records forroeiam.onlinein their zone, which is what makes them the authoritative source for the domain. - A zone is not the server holding it — the authoritative servers don’t have to sit in the TLD they answer for.
ns11.domaincontrol.comis under.com, yet it answers queries for a.onlinedomain. A nameserver’s own name is just a hostname that has to resolve; it carries no authority on its own. The only thing tying it to your zone is the NS record in the.onlinedelegation naming it.
Querying the right layer
Works for any record type — NS, A, MX, TXT. Same pattern, different targets, answers different questions: what do users currently see vs. what does a specific server say vs. what does the zone actually contain vs. is the delegation chain itself intact. Most tickets are solved by comparing two of these.
dig roeiam.online
What do users currently see? Asks the configured resolver — cached if it has one.
dig @8.8.8.8 roeiam.online
What does a specific server say? @ only changes the recipient.
dig @ns11.domaincontrol.com roeiam.online A +norecurse
What does the zone actually contain? Straight to the authoritative, every cache bypassed.
dig +trace roeiam.online
Is the delegation chain itself intact? Full walk from the root.