Naming: DNS and the Resolution Path
People use names and machines use addresses, so a distributed directory translates between them by walking a hierarchy from the root down. Caching with a time to live is what keeps it fast, and it is also why a change takes a while to be seen everywhere.
What a learner can do afterwards
- Walk a name resolution from the root through to the answer
- Explain what the time to live decides and who honours it
- Say what a stale cached answer looks like from a user's side
1 · Read
You type a short name and expect your favourite shop page to open. People use names and machines use addresses, so a distributed directory translates between them. A lookup walks a hierarchy from the root down to the server that knows the answer.
For a name like shop.example.com, the root points to the com servers, those point to the example servers, and those give the address. Each level only knows the next step down.
Answers are cached to keep this fast. Each record carries a time to live, which says how long a resolver may reuse it. The resolver honours that lifetime before asking again.
After an address change, cached copies still point at the old server until their lifetime ends. From your side that looks like reaching the old site for hours.
Names walk down from the root, and caching decides how fast a change is seen.
2 · Watch
Take it off screen
Where it sits
8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.