Interactive Guide

Understanding DNS

How your browser turns a domain name into an IP address — explained step by step, with live simulations and a quiz.

01 What is DNS?

📖
The Phone Book of the Internet
click to expand
🌐
Why It Matters
click to expand

02 How DNS Resolution Works

1️⃣
Browser Cache & OS Resolver
click to expand
2️⃣
Recursive Resolver
click to expand
3️⃣
Root → TLD → Authoritative
click to expand
4️⃣
Caching & TTL
click to expand
⚡ Simulate a DNS Lookup

03 DNS Record Types

Type Purpose Example
AMaps a domain to an IPv4 address93.184.216.34
AAAAMaps a domain to an IPv6 address2606:2800:220:1::
CNAMEAlias — points one domain to anotherwww → example.com
MXDirects email to a mail servermail.example.com
TXTStores arbitrary text (SPF, DKIM, verification)v=spf1 include:...
NSDelegates a zone to specific name serversns1.example.com
SOAZone metadata: primary NS, admin email, serialns1.ex... admin...
PTRReverse DNS — maps IP back to a domain34.216.184.93 →
SRVSpecifies host/port for services (SIP, XMPP)_sip._tcp 5060
🔎 Explore Record Types

04 DNS Security

🛡️
DNS Spoofing / Cache Poisoning
click to expand
🔒
DNSSEC
click to expand
🔐
DoH & DoT
click to expand

05 Test Your Knowledge