← CS Visual Lab · Computer Networks

🔎 DNS lookup

💡 The ideaDNS turns a name like trainingtrains.com into an IP address. Your resolver asks a root server, then the .com TLD server, then the domain's authoritative server, and caches the answer for its TTL.
🏠 In real lifeFinding a phone number: ask the national directory (root) which book has ".com", ask that book (TLD) who manages the company, ask the company (authoritative) for the exact number.

🎬 Watch it work

Step 1 of 5
Check the cache
BrowserResolverRoot.com TLDAuthoritative

The browser and OS check their caches. Not found, so the query goes to the recursive resolver (your ISP, 8.8.8.8 or 1.1.1.1).

✅ Check yourself (2 of 3 to pass)

1. DNS mainly converts:
2. Which record type maps a name to an IPv4 address?
3. The root server answers a query with:
Next: Layers and encapsulation →Get a free certificate in Computer Networks