โ 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).