DNS & Domain8 min read

How DNS Lookup Works: Step-by-Step Resolution from Root to Authoritative

Understand recursive resolvers, root nameservers, TLD authorities, authoritative nameservers, and TTL caching mechanisms in the global DNS hierarchy.

D
DNSChecker Network Engineering Team
DNS & Edge Infrastructure Architect
Published: November 2026
Companion Diagnostic Tool

Perform Live Global DNS Lookup

Test your domain or IP address in real time with our free online network scanner.

Launch Tool

When you type a domain like dnschecker.space into your web browser, computers cannot establish a TCP connection using letters. They need an IP address. The Domain Name System (DNS) acts as the global address directory of the internet.

The 4 Critical Servers in Every DNS Query

1. DNS Recursor (Resolver)

Operated by your ISP, Cloudflare (1.1.1.1), or Google (8.8.8.8). Receives queries from client machines and tracks down answers.

2. Root Nameserver

Directs queries to specific Top-Level Domain (TLD) servers based on extension (.space, .com, .org).

3. TLD Nameserver

Maintains registry pointers for all second-level domains under its registry and directs to the authoritative nameservers.

4. Authoritative Nameserver

The final authority hosting actual DNS resource records (A, AAAA, MX, TXT). Returns the exact IP address.

Step-by-Step DNS Query Sequence

  1. Local Browser & OS Cache Check: Your browser inspects its internal DNS cache and OS hosts file.
  2. Query to Recursive Resolver: If not cached, the query reaches your configured resolver (e.g., 1.1.1.1).
  3. Root Server Inquiry: The resolver queries the Root zone (.) for .space.
  4. TLD Server Inquiry: The root server responds with the TLD server addresses for .space.
  5. Authoritative Server Inquiry: The TLD server responds with the authoritative nameservers for dnschecker.space.
  6. Final Record Return: The authoritative server returns the A record IP (e.g. 76.76.21.21).
  7. Caching & Rendering: The resolver caches the record for the duration of the Time To Live (TTL) and forwards it to the client.

Frequently Asked Questions

How long does a standard DNS lookup take?

When cached locally or by your ISP, resolution occurs in 1 to 5 milliseconds. An uncached query performing full recursive traversal across root and authoritative nameservers typically takes 20 to 80 milliseconds.

What are the 13 root nameservers?

There are 13 logical root server IP addresses (named a.root-servers.net through m.root-servers.net), maintained by 12 independent operators including ICANN, NASA, Verisign, and the US Army, powered by hundreds of Anycast instances worldwide.

Share this technical guide: