🌐 What is DNS? The Phonebook of the Internet Explained

ABHISHEKABHISHEK
2 min read

Table of Contents

  1. What is DNS and Why It’s Important?

  2. Types of DNS Records You Should Know

  3. DNS Hierarchy Explained: Root to Authoritative Servers

1️⃣ What is DNS and Why It’s Important?

Have you ever typed www.google.com into your browser and magically arrived at Google’s homepage?

But your computer doesn't understand "google.com" directly. It understands IP addresses — like 142.250.190.132.

That’s where DNS comes in.

🔍 What is DNS?

DNS (Domain Name System) is like the internet's phonebook. It helps your computer translate human-readable website names (like example.com) into IP addresses that computers can understand.

🧠 Analogy:
Think of DNS as your phone's contact list. You tap a name (“Mom”), but your phone actually dials a number (“+91-9876543210”). DNS works just like that — it connects names to numbers.

✅ Why It’s Important

Without DNS:

  • You’d need to remember long, confusing IP addresses for every website.

  • The internet would be hard to use for humans.


2️⃣ Types of DNS Records You Should Know

DNS uses records to store different types of information about a domain. Here are some of the most common ones:

dns #cybersecurity #networkadministration #webdevelopment #techcommunity… |  Okan YILDIZ

🛠️ Think of records like instructions:

  • “Where’s the website?”

  • “Who handles the email?”

  • “Is this site legit?”


3️⃣ DNS Hierarchy Explained: Root to Authoritative Servers

DNS is not a single server — it's a distributed network. Here's how a domain name is resolved step by step.

🌲 The DNS Tree (Hierarchy):

Security Trybe on X: "DNS System Hierarchy https://t.co/JDBBCWbze9" / X

🔁 Step-by-Step: How DNS Resolves a Domain

  1. You enter www.example.com into your browser.

  2. The local DNS resolver checks if it already knows the IP (via cache).

  3. If not, it asks the Root Server (the top-level) → “Where is .com?”

  4. Root Server replies with the TLD Server for .com.

  5. It then asks the TLD Server → “Where is example.com?”

  6. TLD replies with the Authoritative Server.

  7. Authoritative Server says → “Here’s the IP: 93.184.216.34”

  8. Browser connects to that IP → Website loads!

🎯 All of this happens in milliseconds!

✅ Recap: Putting It All Together

  • DNS translates domain names into IP addresses.

  • It uses various records like A, MX, CNAME, etc.

  • It follows a hierarchical structure from root servers down to the final authoritative source.

0
Subscribe to my newsletter

Read articles from ABHISHEK directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

ABHISHEK
ABHISHEK