What Is a DNS Lookup?
A DNS lookup is the process of translating a human-readable domain name (like example.com) into the numeric IP address a computer actually needs to connect t...
Published November 18, 2026
A DNS lookup translates a domain name like example.com into an IP address, so your browser knows which server to contact. It is a recursive question asked through resolvers, root, TLD and authoritative servers.
The concept
Your device asks a recursive resolver (ISP, 8.8.8.8). If not cached, the resolver asks a root server, then the .com server, then the domain's authoritative name server, and returns the answer.
Answers are cached for their TTL. Record types include A (IPv4), AAAA (IPv6), CNAME, MX, TXT and NS.
Resolution chain
- Browser asks the resolver for example.com
- Resolver asks the root server → points to .com servers
- Asks the .com server → points to example.com's name server
- Authoritative server returns the IP; the resolver caches it
Practical examples
Look up records
dig example.com A +short
dig example.com MX
nslookup example.comAsk a specific resolver
dig @1.1.1.1 example.comTrace the whole chain
dig +trace example.comTry it here
The DNS Lookup tool on this site queries records for any domain.
https://devstudioonline.com/dns-lookupCommon mistakes
- Expecting DNS changes to be instant (TTL caching).
- Mixing up A and CNAME records.
- Forgetting local hosts-file overrides.
Key takeaways
- Domain → IP translation.
- Cached by TTL.
- dig +trace shows each step.
FAQ
What is a TTL?
How long, in seconds, a record may be cached.
Why is DNS slow sometimes?
Uncached lookups require several network round trips.