Types of dns records

DNS stands for Domain Name System, dns is used to resolve dns name to ip address. Everything you access over the internet has an IP address. Since we cannot remember large number of IP’s and hence DNS servers are used for converting or resolving a dns name to an IP address. DNS servers have dns records or also called resource records which points to different IP addresses.

What are different types of dns records

A record: Address record maps a hostname to a 32-bit IPv4 address. 
 
AAAA record: AAAA record IPv6 address record maps a hostname to a 128-bit IPv6 address. 

CNAME record: Canonical name record is an alias of one name to another. 
 
MX record: Mail exchange record maps a domain name to a list of mail exchange servers for that domain. 
 
PTR record: Pointer record maps an IPv4 address to the canonical name for that host. Setting up a PTR record for a hostname in the in-addr.arpa domain that corresponds to an IP address implements reverse DNS lookup for that address. 
 
NS record: Name server record maps a domain name to a list of DNS servers authoritative for that domain.  
 
SOA record Start of authority record specifies the DNS server providing authoritative information about an Internet domain. 
 
SRV record: It is a generalized service location record. 
 
TXT record: This record is used to implement the Sender Policy Framework 

dns records

Conclusion

In this tutorial, we have seen the different types of dns record which are used by dns servers. DNSSEC is a mechanism that provides authentication and integrity for dns queries. DNS root servers are managed and maintained by ICANN.