Understanding DNS Records - PTR MX SRV SPF AAAA

Updated: 15 hours ago

DNS is a very critical part of the Linux operation world. We will cover the most common DNS records today. All domains are required to have at least a few essential DNS records for a user to be able to access their website using a domain name.




Common Types of DNS Records

Here are 4 commonly used DNS records.

  1. A record - A record is used to map a domain (e.g., mystunningwebsite.com) or a sub-domain (e.g., blog.mystunningwebsite.com) to an IP address or many ips.

  2. PTR record - Provides a domain name in reverse-lookups. eg. (23.236.62.147 -- howtouselinux.com)

  3. CNAME record - also known as canonical name records, are used to create aliases that point to other names. They are commonly used to map WWW, FTP and MAIL sub-domains to a domain.

  4. MX record - MX (Mail Exchange) records control how incoming email is routed for your domain.



More DNS Records

Here are 6 more DNS records.

  1. TXT record - TXT (text) records are used to provide textual information about a domain (like the name of the host and contact details) to external sources.

  2. SPF record - Sender Policy Framework (SPF) is an email validation system designed to prevent email spam by verifying sender IP addresses.

  3. NS record - NS records define which name servers contain the DNS records for a domain.

  4. SOA record - Stores admin information about a domain.

  5. SRV record - SRV records (also known as service records) are responsible for localizing specific domain-related services such as FTP, HTTP, and SIP.

  6. AAAA record - maps a domain name to the IP address (Version 6) of the computer hosting the domain. An AAAA record is used to find the IP address of a computer connected to the internet from a name.

Related Post:

Linux Command: Use Dig to query DNS



190 views
udemylinux.png

Join our newsletter! Get a free cloud server!  Never miss a post!

Thanks for submitting!