Module 01 · Networking · Names into addresses · about 16 min to read
Continue where you left off ×
DNS Resolution
DNS Resolution · Open board
Before you start. This is the first lesson in the series, so nothing earlier is assumed. You’ve typed a web address into a browser and watched a page appear. That’s the whole starting point, and everything below explains what happens in between.
The idea in 30 seconds
DNS replaced a single master file, HOSTS.TXT, that had to be phoned in and copied to every machine, a design that could not survive a network that kept growing.
Its fix is a system with no complete list anywhere: every machine knows a small piece, plus exactly who to ask next.
Your laptop asks one thing, the resolver (the concierge), which walks the chain: root, then the .com registry, then the domain’s own authoritative server.
“I don’t know, ask them” is called a referral, and it’s the entire mechanism that lets the chain scale to the whole internet.
The resolver’s answer gets written down and reused for a TTL, its time-to-live in seconds, which is why almost no real page load pays for the full walk.
Read the story
Lesson 2 of 44 in Networking · Free with an account
Keep reading. It's free.
A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.
No card, and chalk sends no email. Google sign-in only.
Start free with Google
In this lesson 1970s: one file, copied to every machine on the network 1983: the fix that keeps no list at all The concierge, and the three people behind them One question for you, more questions for the concierge The sticky note that makes it fast Watching the referral chain, live One flag decides recursive or iterative How much of the walk a TTL actually saves An absence gets cached too What else you can ask for, and two TTLs in one reply Terms it explains: DNS, no complete list anywhere, one person, name, address, resolver, root, .com registry, authoritative, referral, recursive, iterative, TTL, RD, glue, negative TTL, type, CNAME.
Review Networking
Mark as read Saved in this browser, and to your account when you sign in.