Development Technology Web Development
DNS Record image

A Simple explanation to DNS records

DNS

🌐DNS Recursor

The recursor can be thought of as a librarian who is asked to go find a particular book somewhere in a library. The DNS recursor is a server designed to receive queries from client machines through applications such as web browsers. Typically, the recursor is then responsible for making additional requests in order to satisfy the client’s DNS query. 

🌍Root nameserver

The root server is the first step in translating (resolving) human readable host names into IP addresses. It can be thought of like an index in a library that points to different racks of books – typically it serves as a reference to other more specific locations.

🔗TLD nameserver

The top level domain server (TLD) can be thought of as a specific rack of books in a library. This nameserver is the next step in the search for a specific IP address, and it hosts the last portion of a hostname (In example.com, the TLD server is “com”).

✅Authoritative nameserver

This final nameserver can be thought of as a dictionary on a rack of books, in which a specific name can be translated into its definition. The authoritative nameserver is the last stop in the nameserver query. If the authoritative name server has access to the requested record, it will return the IP address for the requested hostname back to the DNS Recursor (the librarian) that made the initial request.

Often, we configure the DNS records without fully appreciating their usage, here is a cheat sheet for quick reference

📍 A (Address) Record

🌐AAAA Record 

🔄CNAME (Canonical Name) Record

DNS-record

⬅️ PTR Record

✉️ MX Record 

🗄️ NS (Name Server) Record

🔗 SRV (Service) Record

📄 TXT (Text) Record

🔐 CERT Record

🏛️ SOA Record (Start of Authority):


Nitin Khanchandani

Author

Nitin Khanchandani

Nitin is Solution Architect at TechFrolic where he leads architecting complex business solutions. He has designed & lead the development of cloud native microservices architecture based applications. He ensures best practices are followed by the team while he advocates for process improvements across all projects. He has innate passion for coding and ensures that he is always coding in some or other project. You will always find him surrounded by someone where he helps in resolving some complex issue. He can be reached at [email protected]