▲ Quick answer

DNS (the Domain Name System) is the internet’s address book. It translates the human-friendly names you type — like example.com — into the numeric IP addresses that computers use to find each other. Defined in 1987 by RFC 1034 and RFC 1035, it is a distributed system, so no single machine holds the whole map.

Every time you load a website, send an email or open an app, DNS quietly does its job in a fraction of a second. It is so reliable that most people never think about it — but nothing on the internet works without it.

What is DNS?

DNS is a global, distributed directory that maps names to addresses. Computers route traffic using IP addresses — strings of numbers like 93.184.216.34 (IPv4) or longer hexadecimal addresses (IPv6). People, however, are far better at remembering words. DNS bridges the two: you remember example.com, and DNS finds the IP address behind it on your behalf.

DNS

Domain Name System — the distributed internet service that resolves human-readable domain names into machine-routable IP addresses, and stores other records (mail, aliases, text) for each domain.

Why do we need DNS?

Imagine an internet without it. You would have to know and type the exact IP address of every service you wanted to reach — and those addresses change, while a memorable name can stay constant. DNS gives us three big wins:

  • Human-friendly names. We use words instead of numbers.
  • Stable identity behind changing infrastructure. A site can move servers and IPs while keeping the same name.
  • Scale and resilience. The map is split across millions of servers worldwide, so no single point holds — or can break — the whole thing.

How does a DNS lookup work?

When you request a name, a resolver (usually run by your ISP or a public service) works through the hierarchy on your behalf, asking a chain of servers until it finds the answer:

  1. The resolver asks a root server: “Who handles .com?”
  2. It asks the .com registry’s servers: “Who handles example.com?”
  3. It asks example.com’s authoritative name servers: “What is the IP address?”
  4. The answer comes back, your browser connects, and the result is cached for next time.

For the full step-by-step, see how domain name resolution works.

Common DNS record types

The DNS record types you will meet most often.
RecordPurpose
AMaps a name to an IPv4 address.
AAAAMaps a name to an IPv6 address.
CNAMEAliases one name to another name.
MXDirects email for the domain to mail servers.
TXTHolds text data — used for verification, SPF and more.
NSNames the authoritative name servers for the domain.

The DNS hierarchy in brief

DNS is organized as an inverted tree. At the top is the unnamed root; beneath it sit the top-level domains (.com, .org, .uk); beneath each TLD sit the registered domains; and beneath those sit subdomains and individual hostnames. Each level delegates authority to the one below, which is what lets the system scale to billions of names. Our DNS hierarchy guide walks the tree in full.

i

DNS is more than websites

Although people associate DNS with loading web pages, it underpins email routing (MX records), service discovery, security checks and much more. It is general-purpose naming infrastructure, not just a web feature.

Why DNS matters to you

If you own a domain, DNS is how you control where it points: you edit DNS records (at your registrar or a DNS host) to send your domain to a website, route its email, or verify it with a service. Misconfigured DNS is one of the most common reasons a new site or email setup “doesn’t work,” so a working mental model of DNS pays off the first time you set up a domain.

★ Key takeaways

  • DNS = Domain Name System, the internet’s name-to-IP address book.
  • It lets us use memorable names instead of numeric IP addresses.
  • It is distributed and hierarchical — root, then TLDs, then domains.
  • You control a domain through its DNS records (A, MX, CNAME, TXT and more).

Frequently asked questions

What does DNS stand for?

DNS stands for Domain Name System. It is the internet’s distributed directory that maps human-friendly names like example.com to the numeric IP addresses computers use to find one another.

What does DNS actually do?

DNS translates names into addresses. When you type a domain, DNS looks up the IP address behind it so your browser knows where to connect. It is often called the “phone book” or “address book” of the internet because it turns memorable names into routable numbers.

Is DNS the same as a domain name?

No. A domain name is the address you register (example.com). DNS is the system that resolves that name into an IP address. The domain is the entry; DNS is the directory service that looks it up.

Why is DNS so important?

Without DNS you would have to memorize numeric IP addresses for every site. DNS lets the whole internet use human-readable names instead, and its distributed design means no single computer holds the entire map — making it scalable and resilient.

What is a DNS record?

A DNS record is an instruction stored for a domain that tells resolvers something specific — for example, an A record maps a name to an IPv4 address, an MX record directs email, and a CNAME aliases one name to another. Records live on the domain’s authoritative name servers.

Why does a new website take time to appear?

Because DNS changes are cached and must propagate. When you point a new domain at a host or change a record, resolvers around the world may still be serving the old answer until its TTL expires. That is why a fresh site can load for some people before others — usually within hours, occasionally up to a day or two.

Sources & further reading