Communication Networks · Visualized
Domain Name System (DNS)
Addressing & Names
How devices get numbers, find each other on the LAN, and turn human-readable names into addresses.
7 interactive subtopics — each one animated, step-through and explained.
Domain Name System (DNS)
Addressing & NamesHumans remember names (example.com); routers need IP addresses. DNS bridges the gap with a worldwide hierarchy of servers: a recursive resolver walks from the root servers to the .com TLD servers to the domain's own authoritative server, returns the record, and caches it so the next visitor skips most of the journey.
How Domain Name System (DNS) Works
- The browser and OS check their local caches — a hit answers instantly.
- Otherwise the stub resolver asks a recursive resolver (usually your ISP or 8.8.8.8).
- The resolver asks a root server, which answers: "ask the .com TLD servers".
- The TLD server points at the domain's authoritative nameserver, which returns the actual A/AAAA record.
- The answer travels back and is cached at every level for its TTL — repeated lookups get cheaper.
Domain Name System (DNS) Worked Example
Try it: Look up example.com for the first time, then again.
First visit: cache miss → resolver → root ("try .com") → TLD ("try ns1.example.com") → authoritative ("93.184.216.34") — typically 3–4 UDP round-trips. Second visit: the resolver's cached answer is returned in a single datagram.
Domain Name System (DNS): Key Facts to Remember
Recommended resourcesAffiliate links · may earn us a commission
Recommended for learners
See how packets really travel
Networks are built on the structures and algorithms you can watch step by step — queues, trees, and routing algorithms.