top of page

DNS (Domain Name System) - Server

Knowledge Base Questions & Answers

What are the different types (roles) of the “DNS Servers”?
There are five types (roles) of “DNS Servers”:

  • Authoritative DNS Server

  • Non-Authoritative (Caching) DNS Server

  • Primary (Master) DNS Server

  • Secondary (Slave) DNS Server

  • Caching-Only DNS Server
     

What is the “Authoritative DNS Server”?

  • “Authoritative DNS Server” holds a particular domain’s actual DNS records (A, CNAME, PTR, etc.).

  • For example, if a company has a DNS server with an “A” record for itguidespro.com, then this DNS server will be authoritative for itguidespro.com.

 

What is a “Non-Authoritative (Caching) DNS Server”?

  • “Non-Authoritative (Caching) DNS Server,” also known as a “Recursive Resolver” or “Caching Resolver,” is a type of DNS server that helps clients find the IP (Internet Protocol) address associated with a domain name.

  • It retrieves the DNS information from the authoritative DNS Server and caches it for faster responses to future queries.


What is the “Primary (Master) DNS Server”?

 “Primary (Master) DNS Server” hosts the primary zone, which contains all the authoritative information for a domain and includes essential information such as the IP address of a resource.

 

What is the “Secondary DNS Server”?

  • “Secondary (Slave) DNS Server” is a backup for the primary DNS server, where it maintains a read-only copy of the DNS zone.

  • It is used for LB (Load Balancing) of DNS requests between DNS servers.


What is a “Caching-Only DNS Server”?

  • “Caching-Only DNS Server” performs name resolution queries, caches the answers, and returns the results to the DNS clients.

  • After the answer, the query stores in the cache. The next time, the query is resolved locally from the cache instead of going to another DNS server.

  • “Caching-Only DNS Server” does not contain zone information.

 

Experience-Based/Practical Questions & Answers

What are the advantages and disadvantages of using a “Secondary DNS Server” and a “Caching-Only DNS Server”?

  • The main advantage of having a “Secondary DNS Server” is that you have zone data on it, which allows it to work as the backup of the “Primary DNS Server” and perform LB.

  • “Caching-Only DNS Server” has data in the cache, and if it receives a query for a domain resource, which it did not answer before, then it will contact the “Primary DNS Server”  or “Secondary DNS Server”  for it.

  • Suppose the “Primary DNS Server” or “Secondary DNS Server” is unavailable. In that case, the “Caching-Only DNS Server” server will provide answers until the DNS records’ TTL (Time-To-Live) expires. Therefore, in a while, it cannot provide DNS resolution.

Created by Arsen Aronov, © 2023-2024

bottom of page