The DNS request
DNS translates names such as example.com into records that software can use to establish network connections. A client normally asks a configured resolver rather than querying every DNS server in the hierarchy directly.
The response may include address records, aliases, mail routing, delegation, or other record types depending on the query.
Recursive resolution
A recursive resolver answers on the client's behalf. When a cached answer is unavailable, the resolver can walk the DNS hierarchy beginning at the root, continue through the relevant top-level domain, and reach the authoritative servers for the requested domain.
The resolver then returns the answer to the client and can cache it for the record's permitted lifetime.
Caching and TTL
DNS records carry TTL values that influence how long recursive resolvers may reuse a cached answer. Caching reduces repeated upstream queries and improves performance, but it also means changes are not necessarily visible everywhere immediately.
