What DNS is (explained in very simple terms)

Dns Domain Name System which convert domain name to ip address 

Simple words human readable to machine readable address.

eg: ashishsharma.in —- 28.38.390.1

Why DNS records are needed?

To avoid not mix different dns records 

Like for Host we need to add ip address if we add txt record then website will get down.

eg: A record  28.38.390.1

Txt record  ashishsharma.in/verify?tag

What an NS Record is (who is responsible for a domain)

NS — Name Server

Nameserver standd domain registrar who provide us to manage our domain .

eg : namersever.dns1.parking

namersever.dns2.parking

What an A Record is (domain → IPv4 address)

A record allow user to add Host Ip means in a record we need our hosting server IP where our website stored.

What an AAAA Record is (domain → IPv6 address)

AAAA record is IPv6 which is latest version of IP nowadays everyone moving to IPv6.its works same as IPv4.

What a CNAME Record is (one name pointing to another name)

CName record .

In this dns Record we don’t need to add ip address directly instead ip we add root domain name .

eg : domain name : 

A record blog.ashishsharma.in 

CName   ashishsharma.in

What an MX Record is (how emails find your mail server)

Mail Exchange

In this record we add our mail record values destination priority and value.

If mail submission delivery not showing in inbox this is mx record issue.

If mail not delivered mx record issue.

eg :

What a TXT Record is (extra information and verification)

Txt Record

This dns Record allows us to verify our domain property.

eg : 

Google search Console, Google Analytics 

How all DNS records work together for one website

NS : locate domain registrar then 

A — Record finds website location 

If fails it will look for CName record if fails it will show 500 internal server error. Or ip not resolved error.

CName : if user added cname record then it will not show internal server error instead of this user will redirected to root domain.

Mx — if you wants to receive mails we should add record. But without mx record our website will still work.

Leave a Reply

Your email address will not be published. Required fields are marked *

Build Smarter with Free Web Development Resources

*Don’t use temp mail, zip file only shared with Gmail account.