DNS Lookup Cycle
Follow the journey of a DNS query from your web browser to the Root, TLD, and Authoritative Name Servers.

Abstract Algorithms
Quick Take
Before your browser can establish a connection with a server, it must translate the human-readable domain name (e.g., example.com) into an IP address. π DNS Query Flow Browser ββ(1) Queryββ> Resolver
Before your browser can establish a connection with a server, it must translate the human-readable domain name (e.g., example.com) into an IP address.
π DNS Query Flow
Browser ββ(1) Queryββ> Resolver ββ(2) Root Server ('.')
β βββ(3) Refer to TLD ('.com')ββ
β
βββ(4) TLD Server ('.com')
β βββ(5) Refer to Auth Serverββ
β
βββ(6) Authoritative Server ('example.com')
βββ(7) Return IP (93.184.216.34)ββ
- Recursive Resolver: Usually hosted by your ISP or a public provider (like Cloudflare's 1.1.1.1).
- Root Server: Directs the query to the Top-Level Domain (TLD) server based on the suffix (
.com,.org). - TLD Server: Points to the authoritative name server managed by the domain registrar.
- Authoritative Server: The source of truth holding the actual DNS records (A, AAAA, CNAME).
AI-generated article quiz
Test your understanding
Ready to test what you just learned?
Generate four focused questions from this article. Answers include immediate explanations.
Reader feedback
Was this article useful?
Rate it if it helped, then continue with the next deep dive when you are ready.
Sign in to save your rating.