Networking Basics

DNS Resolution Explained: Recursion, Iteration, Cache and TTL

A Full Resolution

Typing example.com triggers a DNS query that eventually returns the domain's IP. Multiple DNS server tiers cooperate to produce the answer.

Recursive vs Iterative

Your configured resolver (e.g. 8.8.8.8 or 223.5.5.5) recurses on your behalf, walking root, TLD, and authoritative servers step by step before returning the final answer.

Cache and TTL

Every answer carries a TTL (Time To Live) in seconds. Short TTLs propagate changes faster but increase query load; long TTLs do the opposite.

Troubleshooting Tips

Use this site's DNS record lookup to view A / AAAA / MX / NS / TXT records of example.com. →