Loading…
DNS scales because it is split into a hierarchy that delegates authority, and because answers are cached for as long as their TTL allows.
Learn the idea first
Your device needs the IP address of www.shop.example, and nobody nearby has looked it up recently. Timings are an illustrative model.
Your device
stub resolver
Recursive resolver
ISP or public DNS
Root server
"."
TLD server
.example
Authoritative server
shop.example
Swipe the diagram sideways to see every column →
Where the time goes
131 ms total
Your device needs the IP address of www.shop.example, and nobody nearby has looked it up recently. Timings are an illustrative model.
Illustrative timings. Real numbers vary with distance, network quality and server load.