DNS·Lesson 2 of 12
What is DNS?
What DNS Actually Is
DNS stands for Domain Name System. It is the service that translates a — the readable web address you type, like example.com — into an , the numeric label a computer needs to actually reach that site. Every time you open a website, send an email, or use an app, DNS quietly does this translation in the background.
In plain words
DNS answers one simple question: "What is the IP address for this name?" You give it example.com; it gives back something like 192.0.2.10.
A translator you never see
Imagine a helpful translator standing beside you. You say a company's name; they instantly whisper back its exact address. You never learn the address yourself — you just keep using the name. DNS is that translator for the internet.
Anatomy of a Domain Name
A domain name looks like one word, but it is really several parts separated by dots, and they are read from right to left — most general on the right, most specific on the left. Take www.example.com. The .com on the right is the top-level part, example is the specific site, and www is a particular machine or service within it. Here is that name pulled apart, from the broadest part down to the most specific:
www.example.com, broken apart
Root
The invisible dot at the very end of every name — the top of DNS
Top-Level Domain (TLD)
The ending, such as com, org, or a country code like in
Second-Level Domain
The unique name a person or company registers
Subdomain / Host
A specific machine or section within the domain
That last dot after .com is real, even though nobody types it — example.com. with a trailing dot is the technically complete name. It represents the root of the whole system, which is where every lookup ultimately begins.
Name to Number
The core job of DNS is a lookup: give it a name, get back an address. The mapping is stored as a small entry called a record. The most common one, an A record, maps a name to an IPv4 address (the older, most common kind of IP address). So example.com might map to 192.0.2.10. Your browser takes that number and uses it to open a connection to the correct server.
DNS Is a Distributed Database
It is tempting to picture DNS as one giant list on one big computer. It isn't. There are hundreds of millions of domain names, they change constantly, and the whole world depends on them — no single machine could hold or serve all of that. Instead, DNS is a distributed database: the information is spread across many servers worldwide, organized as a hierarchy, so each server only holds a slice and knows who to ask for the rest.
Why spread it out?
Distributing the data means no single point of failure, no single bottleneck, and each organization can manage its own names. It's a big reason DNS has scaled to the entire internet.
“"DNS is one huge server somewhere that stores every website's address."”
Q:In one line, what is DNS?
A: DNS (Domain Name System) is the internet's naming service that translates human-friendly domain names like example.com into the numeric IP addresses that computers use to reach each other.
Quick Revision Cheat Sheet
DNS: Domain Name System — name to IP address translator
Domain name: The readable web address, e.g. example.com
Read order: Right to left: TLD → domain → subdomain
A record: Maps a name to an IPv4 address
Structure: A distributed database, not one big server