How
becomes
Every address you have ever typed was a question. Somewhere, unseen, it was passed from one server to the next until someone knew the answer, then kept for a while so the next question could be answered faster.
DNS Museum is a small collection about the Domain Name System: the directory the whole internet asks before it does anything else, built in 1983 and still answering.
Exhibits
- HOSTS.TXTOne file at the NIC, fetched by hosts across the network. Then the network outgrew it.
- The thirteen rootsThirteen names. Hundreds of machines. One answer about where to ask next.
- Time to liveWhy a changed record can keep answering long after you press save.
- Record typesA, AAAA, CNAME, MX, TXT: the small vocabulary behind most DNS work.
- Signed answersDNSSEC can prove an answer's origin. It cannot keep the question secret.
How a DNS lookup works
Your computer can't use a name; it needs a number. So it asks a resolver, say Google's at 8.8.4.4. The resolver doesn't know either. It asks a root server who runs google, asks google who runs dns.google, and asks that server for the address. The path can involve more questions, and caches often shorten it. The resolver remembers each answer for as long as its record allows.