Root Server
A DNS root server (also called a root name server) is a nameserver for the root zone of the Domain Name System. Root servers sit at the top of the DNS hierarchy and are the first step in resolving domain names into IP addresses. They directly answer requests for records in the root zone and respond to other requests by providing a list of authoritative nameservers for the appropriate top-level domain (TLD).
How it works
Root servers are the foundation of the entire DNS system. Every DNS query that cannot be answered from cache begins at a root server. When a recursive resolver needs to look up a domain name, it first queries one of the 13 root server addresses (labeled A through M), which then directs the resolver to the appropriate TLD nameservers for domains like .com, .org, or country-code TLDs.
www.example.com
2. If not cached, the resolver queries a root server
3. The root server examines the TLD (.com) and responds with the IP addresses of the .com TLD nameservers
4. The resolver then continues by querying the .com TLD servers
5. This process continues down the hierarchy until the IP address is found
Root servers never provide the final IP address for a website - they only provide referrals to TLD servers, which then provide referrals to authoritative servers.Key Points
- There are 13 root server addresses (A-M), but over 1,900 physical instances worldwide using anycast
- Root servers sit at the top of the DNS hierarchy and handle the first step of DNS resolution
- They store the root zone file containing information about all TLD nameservers
- Root servers don't provide final IP addresses - only referrals to TLD servers
- All uncached DNS queries begin with a root server query
Common Use Cases
- DNS Query Initiation: Every uncached DNS lookup starts at a root server, which directs the query to the appropriate TLD nameservers
- TLD Discovery: Root servers maintain the authoritative list of all top-level domains and their corresponding nameservers
- Internet Resilience: The globally distributed anycast architecture ensures DNS remains functional even if individual root server instances go offline
- New TLD Support: When new TLDs are introduced (like .app or .cloud), root servers are updated to include their nameserver information
code The 13 Root Server Addresses
| Type | Host / Name | Value / Points to | TTL |
|---|---|---|---|
| Server | a.root-servers.net | Verisign, Inc. | — |
| Server | b.root-servers.net | ISC (Internet Systems Consortium) | — |
| Server | c.root-servers.net | Cogent Communications | — |
| Server | j.root-servers.net | Verisign, Inc. | — |
* Root servers are identified by letters A through M. Each address represents multiple physical servers distributed worldwide.