List of DNS Records and Definition

As a senior professional, you should aware list of DNS records and its purpose. So, that you can understand exactly, why? these many records are combined with DNS. What is DNS ? DNS stand for Domain name System or Domain Name Server, which maps IP addresses to fully qualified domain names (FQDN) and vice versa.

1) List of records in DNS ?


# host -a           86321   IN      SOA 2013110202 86400 7200 3600000 86400           14233   IN      TXT     "v=spf1 ip4: +a +mx +ip4: ?all"           12127   IN      MX      0           12127   IN      A           12127   IN      AAA     2400:cb00:2049:1::adf5:3bf5           84127   IN      NS           84127   IN      NS
PTR domain name pointer
CNAME is an alias for

Note : The above command will give the output upto NS records and remaining (PTR, CNAME & DKIM) i added manually for reference purpose. Use host or dig or nslookup command to check the DNS records in linux

2) A Record

A record stands for Address record. The ‘A’ record specifies the IP address (IPv4) of a host. Whenever DNS server get a query to resolve domain-name, it will refer the A record to answer the IP address.

3) AAA Record

The ‘AAA’ record specifies the IP address (IPv6) of a host.

4) NS Record

NS Record stands for Name Server record. NS Records maps a domain name to a list of authoritative DNS servers.

5) MX Record

MX Record stands for mail exchange record. MX Records maps a domain name to a list of mail exchange servers

6) PTR Record

PTR record stands for Reverse lookup record or Pointer record. A PTR record maps the IP address to a specific host.

7) CNAME Record

CNAME Record stands for Canonical Name. CNAME record is used to create aliases that point to other names such as WWW, FTP, MAIL & subdomains to a domain name. Example : a CNAME record can associate the subdomain with

8) SOA Record

SOA record stands for Start of Authority records. SOA records contain information about a DNS zone such as Primary nameserver, Hostmaster E-mail address, zone file seriel number, zone transfer interval and zone expiry details

9) TXT Record

TXT Record stands for text record. A TXT record is a type of DNS record that provides text information to sources outside your domain. The text can be either human-or machine-readable and can be used for a variety of purposes.

10) SPF Record

SPF Record stands for Sender Policy Framework. SPF is an extension to the SMTP mail protocol which is used for e-mail authentication. SPF record used to verifies that the message came from an authorized mail server or not. SPF is designed to detect SPAM & PHISHING mail sender’s, IP address which was included in e-mail header.

11) DKIM Record

DKIM record stands for Domain Keys Identified Mail. DKIM is an email validation system designed to detect email spoofing by providing encryption authentication to receiving mail exchangers. It will check whether the incoming mail domain is authorized by the domain’s administrators and that the email (including attachments) has not been modified during transport. A digital signature included with the message can be validated by the recipient using the signer’s public key published in the DNS.

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

Please support the site
By clicking any of these buttons you help our site to get better