Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 31s8 days 9 hours 54 minutes 31 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 31s8 days 9 hours 54 minutes 31 seconds.

Sign in to watch this lesson
Applications and Sockets · 4:30
How a name becomes an address. We build Kurose & Ross's DNS hierarchy (root, TLD, authoritative), follow the book's eight-message lookup of gaia.cs.umass.edu with its recursive and iterative queries, then repeat the iterative walk from this Mac with a hand-built UDP query in C (about 82 ms over three servers). Caching and TTLs explain why the root is rarely asked and why a second lookup took 0.43 ms instead of 56 ms; the trading takeaway is to never resolve a name on the hot path.