DNS·Lesson 1 of 12
DNS — Domain Name System
The Internet's Phonebook
Every website you visit lives on a computer somewhere, and that computer is found using a number called an (for example, 192.0.2.10). Numbers like that are hard for people to remember, so instead we type friendly names like example.com. DNS (Domain Name System) is the service that turns those human-friendly names into the numeric addresses computers actually use to find each other.
The one-line takeaway
DNS is the internet's phonebook: you give it a name like example.com, and it gives back the IP address so your device knows where to connect.
Like the contacts app on your phone
You don't memorize your friends' phone numbers — you save them under names and tap the name to call. DNS does the same for the internet: you remember the easy name, and DNS quietly looks up the hard number behind it.
The Problem DNS Solves
Computers identify each other by numbers, but people think in names. Without DNS you'd have to know and type the exact numeric address of every site you wanted to visit — and those numbers can change whenever a site moves to a new server. DNS sits in the middle so you only ever have to remember the name, while the number is looked up fresh each time. We dig into this more in the lesson.
A Lookup in One Sentence
Here's the whole idea in one breath: you type a name, your device asks a special helper server to find the matching IP address, that helper hunts it down and hands it back, and your browser then connects to that address to load the page. The step-by-step version — with every server involved — is covered in .
DNS Is a Hierarchy
No single computer stores the address of every website in the world — that would be impossible to manage. Instead, DNS is organized as a tree, and a lookup works its way down it. At the top sit the root servers, which point to the servers for each ending like .com or .org. Those in turn point to the specific server that holds the real answer for one domain. Here's that hierarchy from top to bottom:
The DNS hierarchy
Root Servers
The top of the tree; they point to the right TLD server
TLD Servers
Handle an ending like .com or .org; point to the authoritative server
Authoritative Name Servers
Hold the real records for one domain and give the final answer
Why a tree?
Splitting the work across levels means no server has to know everything. Each level just knows who to ask next — which keeps DNS fast, shareable, and able to grow with the internet.
What This Topic Covers
The rest of this topic builds up DNS one piece at a time — first the what and why, then the servers that do the work, then the records they store, and finally caching and privacy. Use the map below to jump around, or read straight through.
Quick Revision Cheat Sheet
DNS: Domain Name System — turns names into IP addresses
Why: People remember names; computers need numbers
Shape: A hierarchy: Root → TLD → Authoritative
Result: A name like example.com resolves to an IP address
Nickname: The phonebook (or contacts app) of the internet