5 Most Used DNS Record Types
Author: Kenneth ([email protected])
Published: Tuesday March 30, 2021
What is DNS?
The Domain Name System (DNS) is the phonebook of the Internet. Humans access information online through domain names, like nytimes.com or espn.com. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.
Each device connected to the Internet has a unique IP address which other machines use to find the device. DNS servers eliminate the need for humans to memorize IP addresses such as 192.168.1.1 (in IPv4), or more complex newer alphanumeric IP addresses such as 2400:cb00:2048:1::c629:d7a2 (in IPv6).
DNS servers create a DNS record to provide important information about a domain or hostname, particularly its current IP address.
The most common DNS record types are:
- (A Record) Address Mapping record — also known as a DNS host record, stores a hostname and its corresponding IPv4 address.
- (AAAA Record) IP Version 6 Address record — stores a hostname and its corresponding IPv6 address.
- (CNAME Record) Canonical Name record — can be used to alias a hostname to another hostname. When a DNS client requests a record that contains a CNAME, which points to another hostname, the DNS resolution process is repeated with the new hostname.
- (MX Record) Mail exchanger record — specifies an SMTP email server for the domain, used to route outgoing emails to an email server.
- (TXT Record) Text Record — typically carries machine-readable data such as opportunistic encryption, sender policy framework, DKIM, DMARC, etc.