DNS Server Types

DNS (Domain Name System) is a hierarchical system in which there are different types of DNS servers at each level. These DNS server types are Root DNS servers, Top-Level Domain Servers, Authoritative servers and DNS Resolvers.

What are the different types of DNS servers

The domain name system (DNS) is based on hierarchical servers literally enabling people to browse the internet using human-readable names. DNS is what allows a person to type a website into their browser, like menandmice.com, and go to that destination.

Behind the scenes, the client makes a DNS query to the resolver server configured in it’s settings. The resolver does a recursive search for that website, or more accurately the domain name, by checking with multiple servers in the hierarchy. Once the information is found, an IP address is passed back to the client which tells the client where to find their destination.

Infographic on how a client interacts with recursive DNS resolvers, which then query root, top-level domain (TLD), and authoritative DNS servers to resolve a domain name.

1. Recursive resolver

Diagram showing a recursive DNS resolver querying root, TLD, and authoritative DNS servers on behalf of a client request.

The recursive resolver server, sometimes referred to as a caching server, is the first stop for your client when a dns query is made. A common way this occurs is when someone opens a browser and types in a URL containing a domain name. That client device will have DNS settings configured so it knows where to go first to find the domain name as shown below.

Screenshot of IPv4 DNS settings in Windows, showing manual configuration with Google DNS servers and alternate recursive resolvers.

The DNS settings may be explicitly defined as shown in the picture above, or they may be automatically configured using DNS management software on your network.

If the recursive resolver server has found this domain name in the recent past, it’s possible it will already have this information cached and will then be able to immediately inform the client of the correct IP address of the request. If not, though, it must perform a recursive query to find this information. It will begin with the Root server.

2. DNS root name server

Diagram showing a recursive resolver querying the DNS root server to identify the correct TLD server, as part of the domain name resolution process initiated by a client.

The recursive resolver first checks with the root server. An organization named IANA (Internet Assigned Numbers Authority), which is a part of ICANN (Internet Corporation for Assigned Names and Numbers), maintains these root servers.

As mentioned, DNS is hierarchical, so to find out the domain name, starting with the root server is the only way to ensure you’re starting with the correct tree. Meaning, menandmice.com and menandmice.net are completely different domain names and therefore completely different destinations. If you type in bluecatnetworks.com the root server will be able to tell the recursive server to check with the correct top-level domain server which in this case would be .com.

It’s also possible that the root server may have this information cached and may give the answer directly to the recursive resolver. If not, though, it will be directed to the Top-Level Domain server.

3. TLD name server

Diagram highlighting the role of TLD name servers in the DNS resolution process, showing a recursive resolver querying the appropriate top-level

Now that the recursive server has the correct Top-Level Domain, or TLD server, it can go ask that server for the correct information. TLD servers come in many categories:

  • generic TLDs (gTLDs) – LIke the commonly found .com or .net, but also like new TLDs such as .club or .shop
  • Sponsored TLDs – maintained by a group generally used for specific communities such as ethnicity, geography, and career
  • Non-sponsored TLDs – gTLDs maintained by IANA which are not sponsored
  • Country Code TLDs (ccTLDs) – TLDs specific to a country
  • Internationalized TLDs – TLDs which use native language characters

The TLD servers will either have the information cached or send the recursive server to the correct authoritative server to find the IP information for the destination.

4. Authoritative name server

Diagram illustrating how the recursive DNS server contacts the authoritative name server to retrieve the final IP address for a domain name query.

The authoritative name server will have the IP information the client was looking for. When companies, groups, or individuals lease the right to use domain names they must register this name with an authoritative server. This registration makes the domain name officially published on the network, whether the public network or internet, or the private network.

Now the recursive server may cache the information for later use and also pass the destination information on to the client server. When information is cached it will load more quickly on the client device.

Key Takeaways on DNS Server Types

Each DNS server type plays a distinct role in translating domain names into IP addresses. Recursive resolvers initiate the process, root and TLD servers guide the query, and authoritative servers deliver the final answer. Understanding these types is key to grasping how the DNS ecosystem functions efficiently and reliably.

What is a DNS Server?

A DNS server translates human-readable domain names into machine-readable IP addresses, enabling users to access websites using familiar names.

What is the difference between recursive and authoritative DNS?

A recursive DNS server queries other servers to resolve a domain name, while an authoritative DNS server holds and returns the definitive IP address for a domain.

What are TLDs and why are they important?

TLDs (Top-Level Domains) are the highest level in the DNS hierarchy and help route DNS queries to the correct authoritative server based on domain extensions like .com or .org.

What type of information does a root DNS server contain?

A root DNS server contains information that directs queries to the appropriate Top-Level Domain (TLD) name servers like .com, .org, or .net.

Which type of DNS record identifies an email server?

The MX (Mail Exchange) record identifies and directs email to the correct mail server for a domain.

How many types of DNS servers?

There are four main types of DNS servers: recursive resolvers, root servers, TLD servers, and authoritative servers.