DNS stands for Domain Name System. This service translates domain names and domain zones into IP addresses. This is due to the way that computers work. A domain name like domain.com is easier to remember than an IP address (e.g. 220.127.116.11). A Domain name is just an alias which fundamentally points to a computer (via an IP Address). Each domain name has a complex array of DNS settings that can set where a website points to, where sub-domain points, where your email points, and more. DNS records are stored in a zone file, where your record information is stored for your domain to point to the correct server or mail server.
Your domain name registrar will allow you to manage various DNS Zone records. By setting a zone record, it provides information about a specific object. A list of the most common forms is provided below:
Record A specifies the IP address (IPv4) for a given host. A-records are used for the conversion of domain names to corresponding IP addresses.
The record AAAA (also a quad-A record) specifies the IPv6 address for a given host. So it works the same way as the A record; the difference is the type of IP address.
The CNAME record specifies a domain name that must be queried to resolve the original DNS query. Therefore CNAME records are used for creating aliases of domain names. CNAME records are mental when we want to alias our domain to an external one. In other cases, we can remove CNAME records, replace them with A forms, and even decrease performance overhead.
HINFO records are used to acquire general information about a host. The record specifies the type of CPU and OS. The HINFO record data provides the possibility to use operating system-specific protocols when two hosts want to communicate. The HINFO records are not typically used on public servers for security reasons.
Note: Standard values in RFC 1010
The ISDN resource record specifies the ISDN address for a host. An ISDN address is a telephone number comprising a country code, a national destination code, an ISDN Subscriber number and, optionally, an ISDN subaddress. The function of the record is only variation of the A resource record function.
The MX resource record specifies a mail exchange server for a DNS domain name. The information is used by Simple Mail Transfer Protocol (SMTP) to route emails to proper hosts. Typically, there is more than one mail exchange server for a DNS domain, each with a set priority.Example:
msn.com MX preference = 5, mail exchanger = mx2.hotmail.com msn.com MX preference = 5, mail exchanger = mx3.hotmail.com msn.com MX preference = 5, mail exchanger = mx4.hotmail.com msn.com MX preference = 5, mail exchanger = mx1.hotmail.com msn.com nameserver = ns3.msft.net msn.com nameserver = ns5.msft.net msn.com nameserver = ns4.msft.net msn.com nameserver = ns1.msft.net msn.com nameserver = ns2.msft.net mx1.hotmail.com internet address = 18.104.22.168 mx1.hotmail.com internet address = 22.214.171.124 mx1.hotmail.com internet address = 126.96.36.199 mx1.hotmail.com internet address = 188.8.131.52 mx1.hotmail.com internet address = 184.108.40.206 mx1.hotmail.com internet address = 220.127.116.11 mx1.hotmail.com internet address = 18.104.22.168 mx1.hotmail.com internet address = 22.214.171.124 mx1.hotmail.com internet address = 126.96.36.199 mx1.hotmail.com internet address = 188.8.131.52 mx1.hotmail.com internet address = 184.108.40.206 mx1.hotmail.com internet address = 220.127.116.11
The NS record specifies an authoritative name server for the given host. If you set a name server which is not your Domain Registrar - it is possible to define a whole new Zone file on another server. These settings will overwrite the NS settings outlined through your domain control panel. These NS can be set via a Hosting control panel such as cPanel.
Instead of forwarding DNS resolution (A and AAAA DNS records), the PTR record looks up domain names based on an IP address.
The record specifies core information about a DNS zone, including the primary name server, the email of the domain administrator, the domain serial number, and several timers relating to refreshing the zone.
The text record can hold arbitrary non-formatted text strings. Typically, the form is used by Sender Policy Framework (SPF) to prevent spoof emails from being sent from your email account.