DnsNetworkingProtocols

DNS Lookup Cycle

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

Abstract Algorithms

Abstract Algorithms

Jul 2, 2026Β·1 min readΒ·Intermediate
⚑

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.