A name becomes an address
One exchange at a time. Read what changes, then explain it in your own words before moving on.
- Meet the components
- Follow the steps
- Compare an example
- Check your understanding
A name becomes an address
Follow the resolver through referrals and watch a cached answer bypass the hierarchy.
This simplified recursive lookup starts without useful cached answers or referrals.
How to use this example
Select Next step to read at your own pace, or Animate step to watch one exchange. Nothing advances until you choose.
What it means
Everyday example
State in this scenario
Inspect components & read every step
- Browser
The program you use to open websites.
Example: Your browser requests a web page and displays the response.
- Resolver
A DNS service that finds address information on behalf of your device.
Example: It checks its cache or asks DNS servers where to find a website.
- Root DNS
The top level of DNS that points a resolver toward the relevant top-level domain servers.
Example: For a .com name, it provides a referral toward .com DNS servers.
- TLD DNS
DNS servers for a top-level domain, such as .com, that provide referrals to authoritative servers.
Example: The resolver learns which servers handle the requested domain.
- Authoritative
The DNS server responsible for answering with records for a particular zone.
Example: It supplies the configured address record for a name in that zone.
Cold lookup
This simplified recursive lookup starts without useful cached answers or referrals.
- Browser Resolver: example.com?. The client asks its configured resolver.
- Resolver Root DNS: Where is .com?. The resolver asks the root for a referral.
- Root DNS Resolver: TLD referral. Root supplies referral information, not the final website address.
- Resolver TLD DNS: example.com?. The resolver asks the TLD server.
- TLD DNS Resolver: NS referral. The resolver learns the authoritative service.
- Resolver Authoritative: A / AAAA?. The resolver asks for the address record.
- Authoritative Resolver: Address + TTL. The answer can be retained for its TTL.
- Resolver Browser: Address. The browser can begin connecting to the destination.
Warm cache
A valid cached answer avoids another trip through the DNS hierarchy.
- Browser Resolver: example.com?. The client requests the same name.
- Resolver Browser: Cached address. The remaining TTL permits reuse.
Fictional teaching trace. One moving dot represents an exchange, not a measured network capture.