Krantesh Singh

DNS Records Explained

Before getting into DNS Records and its types we must know, how a browser & server (24 x 7 Running Computer) communicate with each other. Every server where we host our files of the website such as HTML, CSS, JavaScript, Images, Videos, Folders, etc has an I.P. Address. In order to serve those files via a browser. The browser needs to know the Address of Server that it Browser will make a request to Server I.P. Address and serve the request accordingly.
Now We humans are not capable of remembering many numbers (I.P. Addresses). We are good at remembering names So, to make this process a lot easier. The Internet Legends came up with a concept of DNS Records, NameServer, DNS Zones, etc

What are NAMESERVERS?

When you buy a new domain from any registrar like GoDaddy, BigRock, SiteGround, NameCheap, HostGator, etc
Then you have got a setting with your Registrar to set NameServer of the Domain Name. After Setting Nameservers you have to get the access to change the records in DNS Zone of that particular domain.

To check NameServer of any Domain Name, there are many online tools available such as www.intodns.com

Checking NameServer
Checking NameServers with INTODNS.COM

In the above image as you can see this website has 2 NameServers i.e., jay.ns.cloudflare.com & ali.ns.cloudflare.com It means that my website’s DNS Setting is managed by Cloudflare so in order to change or point my domain name to server IP Address I have to change records with the help of Cloudflare DNS.

DNS Records
List of DNS Important DNS Records

In the above image, you can see I have used many Records such as A, MX, CNAME, TXT and Filled some Values Along with it. Since my NameServer is of Cloudflare so I have to use Cloudflare DNS Management to Set my DNS Records.

The most widely used DNS record types and their purpose are as follows:

  • A – Its points the domain name to Server’s I.P. Address
  • MX – It points the email Server so that you can send & receive email related to your domain ([email protected])
  • CNAME – To use the subdomain functionality like your website should open with www.krantesh.com and also with krantesh.com
  • TXT – These records are used to store text-based information related to your domain name. Most common uses are for SPF data. SPF, or Sender Policy Framework, is an attempt to control forged e-mail.

Soon as you grow into these factors it will be a piece of cake for you to manage and deploy DNS for a domain name.

In case you get some trouble with your website loading to other domain or website you must check its DNS Setting. Most of the hackers play with your domain DNS Setting to hack your website.

List of Important DNS Records to Add

A RECORDS

admin
mail
krantesh.com

CNAME

autoconfig
autodiscover
cpanel
cpcalendars
cpcontacts
webdisk.admin
webdisk
webmail
whm
www.admin
www

MX Records

krantesh.com – Priority 0
krantesh.com – Priority 10

TXT

SPF
DKIM

I hope you have understood the concept of DNS, NameServer, etc. Thanks for your time.

Scroll to Top