Protocols
Saved & recent

DNS resolution

Also called: recursive resolver, iterative DNS lookup, DNS cache

DNS resolution is the process of finding an answer to a DNS question. A recursive resolver may answer from its cache or consult other servers. In a simplified uncached lookup, root servers point toward a top-level domain, which points toward the authoritative servers responsible for the requested name.

For www.example.com, a resolver may follow referrals through the root and .com before receiving an authoritative answer. The client need not make those queries itself. Cached answers can avoid these steps until their allowed lifetime expires; aliases and other circumstances can add further queries. The drawn sequence is a teaching example, not a fixed number of network trips.

Read first
DNS
Related
DNS, UDP, TCP
Further reading
IETF RFC 1034 — Domain Names — Concepts and Facilities
client recursive resolver query example.com cached answer cache hit bypass miss → upstream queries query root referral to .com query .com authoritative referral query authoritative address answer result to client
Simplified cache miss: the recursive resolver follows referrals. A valid cached answer can avoid this sequence.

View in the full Protocols collection