What is DNS?
DNS (Domain Name System) is like the phone book of the internet. It translates human-readable domain names (like domainindia.com) into IP addresses (like 136.243.xxx.xxx) that computers use to communicate.
Without DNS, you would need to remember IP addresses for every website you visit.
How DNS Works
- You type domainindia.com in your browser
- Your computer asks a DNS resolver: "What's the IP for domainindia.com?"
- The resolver checks its cache. If not found, it asks the root nameserver
- The root nameserver directs to the .com nameserver
- The .com nameserver directs to domainindia.com's nameserver
- The authoritative nameserver returns the IP address
- Your browser connects to that IP address
This entire process takes milliseconds.
Common DNS Record Types
A Record
Maps a domain to an IPv4 address.
example.com → 192.168.1.1AAAA Record
Maps a domain to an IPv6 address.
example.com → 2001:0db8:85a3::8a2e:0370:7334CNAME Record
Creates an alias pointing to another domain.
www.example.com → example.com
blog.example.com → myblog.wordpress.comMX Record
Directs email to your mail server. Priority number determines which server is tried first.
example.com → mail.example.com (priority 10)TXT Record
Stores text information. Used for SPF, DKIM, domain verification.
example.com → "v=spf1 include:_spf.google.com ~all"NS Record
Specifies which nameservers are authoritative for your domain.
example.com → ns1.domainindia.com, ns2.domainindia.comDNS Propagation
When you change DNS records, the change doesn't happen instantly. DNS servers worldwide cache records based on TTL (Time To Live).
- TTL 300 (5 minutes): Changes propagate in minutes
- TTL 3600 (1 hour): Changes may take up to an hour
- TTL 86400 (24 hours): Changes can take up to a day
Before making DNS changes, lower your TTL to 300 at least 24 hours in advance. This ensures faster propagation when you make the actual change.
Common DNS Issues
"DNS_PROBE_FINISHED_NXDOMAIN"
The domain doesn't exist in DNS. Check if your domain is registered and nameservers are set correctly.
"Server not found"
DNS resolution failed. Your nameservers may be incorrect or the domain may have expired.
Slow propagation
Flush your local DNS cache and wait. Use whatsmydns.net to check global propagation status.
Conclusion
DNS is fundamental to how the internet works. Understanding A records, CNAME records, and MX records will help you manage your domain, set up email, and troubleshoot issues. For most users, your hosting provider manages DNS automatically — but knowing the basics empowers you to make changes confidently.