Glossary
DNS FUNDAMENTALS

DNS

Domain Name System — the internet's distributed database that translates human-readable domain names (example.com) into IP addresses and other machine-readable data.

DNS (Domain Name System) is a hierarchical, distributed naming system for internet resources. It maps human-readable names like example.com to the IP addresses, mail servers, and other data that computers use to route traffic.

How DNS Resolution Works

Browser → Local resolver → Root servers → TLD (.com) servers → Authoritative nameservers
  1. Browser checks local cache → OS cache
  2. Queries DNS resolver (ISP or 8.8.8.8)
  3. Resolver queries root servers for TLD authority
  4. Queries TLD servers for domain’s nameservers
  5. Queries authoritative nameservers for the specific record
  6. Returns answer; resolver caches for TTL duration

Key Components

ComponentRole
Root servers13 root server clusters, top of the hierarchy
TLD serversHandle .com, .org, .net, etc.
Authoritative nameserversYour DNS provider — holds your actual records
Recursive resolverYour ISP or 8.8.8.8 — does the leg work

DNS vs HTTP

DNS is a prerequisite for HTTP. Before your browser sends an HTTP request, it must resolve the hostname to an IP via DNS. DNS lookups typically add 20-120ms to the first connection if not cached.