Welcome to Vastspace, provides Reliable Web Hosting since 2014

Welcome to Vastspace

Archive

Types of DNS zone records

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.

How Domain works for hosting?

How Domain works for hosting?

There 3 things for a domain to work with a web hosting. Many do not know the existence of DNS. DNS is actually important. It works as a directory to tell your visitor to go to the website or deliver your emails. Without DNS, your domain and web hosting will not work even they are valid or running.

Website hosting and email server are recognised and talked to each other using the IP address. An address numbers, e it an IPv6 or IPv4. Numbers are difficult to remember and it is not practical in the past using IPv4, thus there is such thing known as a virtual host, so many domains can use the same IP address.

This is where and how the DNS works. It helps to translate a name to numbers Like what I have said, DNS direct traffic for email or website. Without DNS, the name cannot be translated or resolved, everything will stop working on the internet.

Domain names registered with the registrars require 2 or more DNS. I personally prefer they are from different networks and GEO locations. So, if one DNS is down, the others are not affected should its network is having troubles. If you have 4 DNS but they are set up on the same network. It will defeat the purpose of having 2 or more DNS.

This article tells you DNS is relatively important but usually neglected. Hope it helps.