Types of DNS zone records
DNS is like a directory, tells your visitors to go to where to fetch a particular service. For example, email is location A and website is location B.
That’s mean to say, it is not necessary to host your website and email servers at the same place as well as your subdomain. Actually, I have spoken to many, they have the perception the services must be located on the same server which is not true.
DNS and its zone records are also neglected by most. Many think I will only need a domain name and a web hosting. This is wrong, but usually, DNS is provided at no cost when you registered a domain but you will till need them.
Today, we will walk you through the common DNS zone records we are using with a domain name.
- A record – this is to resolve a name to an IPv4 address. For example, the IP address of your server or website.
- CNAME record – is an alias name to another domain.
- MX records & Priority – They are your serves to receive emails on your domain behalf. Priority 10, 20 & 30 if you have more than one MX and where should the emails deliver based on its priority.
- TXT – The field used as information. Like SPF, DKIM, DMARC and some may have it for validation.
- AAAA record – Work like A record but for IPv6 addresses.
There are other not so common records like NS probably already added by our DNS provider or SRV used by certain service provider. Hope the above information is useful.