Skip to main content

DNS Record Types Explained

Published 2 min readMarkdown
Part of seriesAssignments

DNS stands for domain name system.

When a person hits a request to a website, the browser takes that request and hands it over to the DNS resolver. The DNS resolver do all the processes to obtain the IP of the website that the person had requested. Within those processes, the IP is mainly obtained through the authoritative DNS server. This authoritative DNS server contains all the information regarding a website. The information here is stored in different folders called as DNS records or zone files. There are several types of DNS records storing specific data of a website. In this article we are going to discuss some of the important DNS record types.

A

A record accepts the domain name, and returns the IP of that domain name in IP version 4 format.

Example of how a A record store data: example.com. A 192.0.2.1 (TTL: 14400)

AAAA

AAAA record type is similar to A record type. It also accepts the domain name, and return the IP of that domain but in a IP version 6 format.

Example of a IPv6: 2001:db8:85a3:0:0:8a2e:370:7334

CNAME

CNAME stands for canonical name. As the name suggest, this record stores the most relevant alias names of an website. Which means, if a user search for some alias name of an website, it will end up at a single IP that is relevant to the alias name of that domain name.

Example:

Person A searches for Google

Person B searches for google.com

Person C searches for www.google.com

All the three person are going to end up on the website: www.google.com

MX

MX stands for mail exchange. This record validates the incoming mail requests and verifies it through the mail server and then further processes it.

NS

This record keeps all the information about the DNS server itself. It tracks the incoming request and to which DNS server it is heading for, all the information are stored here.

TXT

This record stores a text provided by the domain owner for security purposes. Suppose just in case, you need to proof to an external party that this domain belongs to you, you can show up the text that you would have stored in this record. In this way you can verify that the corresponding domain belongs to us.

No comments yet. Be the first to comment.

More from this blog