DNS
The internet’s phone book: turns names into addresses.
3 technologies on this page ↓How it works
DNS translates a name like api.example.com into an IP address. Your device asks a resolver, which answers from its cache or walks the hierarchy (the root, then .com, then your domain’s authoritative servers) and caches the answer for the record’s TTL. Cloud DNS services add health-checked failover and routing by latency or geography.
Calling a contact from your phone instead of memorizing their number. If they get a new number, you update the contact and every call still goes through.
Reach for it when
- Giving every service a stable name
- Failing over between regions or providers
- Moving infrastructure without changing client configuration
Think twice when
- Instant cutovers: cached answers live until their TTL expires
- Fine-grained load balancing, since clients cache and choose records unpredictably
A real example
api.example.com has a 60-second TTL and health-checked records in two regions. When us-east-1 fails its check, Route 53 starts answering with the us-west-2 address, and most clients follow within a minute or two.
Technologies
Specific products, and what each does differently.
Amazon Route 53AWSAWS’s authoritative DNS and domain registrar, with health checks and routing by latency, location or weight. Amazon Route 53 | Managed service on AWS | Amazon Web Services | Proprietary | 2026-10-05 |
| Commercial product | Cloudflare, Inc. | Proprietary | 2026-10-05 | |
| Commercial product | HashiCorp, an IBM company | Business Source License 1.1 since 1.17 (source-available, not OSI open source); MPL 2.0 before the August 2023 change | 2026-10-05 |
What each provider calls it
- AWS
- Route 53
- Google Cloud
- Cloud DNS
- Azure
- Azure DNS
- Open source & others
- BIND, CoreDNS, PowerDNS; Consul for service discovery over DNS; also Cloudflare DNS
In code · bash
$ dig +noall +answer api.example.com
api.example.com. 60 IN A 203.0.113.10
# ^^ TTL: resolvers may reuse this answer for 60 sOften confused with
Where it came from1983–2026
On the early ARPANET, every host’s name and address lived in one file, HOSTS.TXT, maintained by the Network Information Center at SRI and copied by every machine over FTP. That worked while the network was a modest number of large timeshared computers. By the early 1980s it was breaking: the bandwidth spent distributing new copies grew with the square of the number of hosts, and organizations running their own local networks had to wait for the NIC to publish every change.
In November 1983 Paul Mockapetris at USC’s Information Sciences Institute proposed the Domain Name System in RFC 882 and 883. Names became a tree, split into zones that each organization runs on its own name servers, with resolvers caching answers along the way. In 1984 four Berkeley graduate students described BIND, a name server for Unix systems, and in 1987 RFC 1034 and 1035 set out the version still in use.
Later work bolted on what the original lacked. DNSSEC added signatures, and the root zone was signed in July 2010. DNS over TLS (2016) and HTTPS (2018) hid queries from eavesdroppers. Cloud services such as Route 53 (2010) turned DNS into a traffic-steering tool with health checks and latency routing, while public resolvers like Google Public DNS (2009) and Cloudflare’s 1.1.1.1 (2018) competed on speed and privacy.
Why it’s built this way
- A hierarchy of delegated zones
- Handing each part of the tree to its owner removed the central bottleneck: a university or company can change its own names without asking anyone, and no single server holds everything.
- Caching controlled by the data’s owner
- RFC 1034 says the source of the data should control the trade-off between lookup cost, update speed and accuracy. That is the TTL on every record, and why changes take time to reach everyone.
- Typed records, not just host addresses
- Mockapetris designed for host addresses, mailbox data and “other as yet undetermined information”. That generality is why DNS now also carries mail routing, service discovery and domain verification.
Timeline
- 1983
Paul Mockapetris publishes the first DNS specs, RFC 882 and 883
- 1984
Four UC Berkeley graduate students describe BIND, a DNS server for Unix
- 1987
RFC 1034 and 1035 define DNS as it is still used
- 2010
The root zone is signed with DNSSEC in July; Route 53 launches
- 2018
DNS over HTTPS standardized (RFC 8484); Cloudflare launches 1.1.1.1
- 2026
ICANN opens a new round of applications for top-level domains
- RFC 952: DoD Internet host table specification (HOSTS.TXT on SRI-NIC, 1985)
- RFC 882: Domain names, concepts and facilities (Mockapetris, ISI, Nov 1983)
- RFC 1034: Domain names, concepts and facilities (1987)
- RFC 1035: Domain names, implementation and specification (1987)
- UC Berkeley tech report: The Berkeley Internet Name Domain Server (Terry, Painter, Riggle, Zhou, 1984)
- IANA: Initial root DNSSEC design and launch (2008–2010)
- RFC 7858: DNS over TLS (2016)
- RFC 8484: DNS Queries over HTTPS (2018)
- Google blog: Introducing Google Public DNS (Dec 2009)
- AWS News Blog: Amazon Route 53, the AWS Domain Name Service (Dec 2010)
- Cloudflare blog: Announcing 1.1.1.1 (Apr 2018)
- ICANN: New gTLD Program, 2026 round application window
Sources10
- RFC 1034: Domain names, concepts and facilities (resolvers, zones, TTL caching)
- Route 53 docs: Choosing a routing policy
- Route 53 docs: Configuring DNS failover
- Google Cloud docs: Cloud DNS overview
- Microsoft Learn: Azure DNS overview
- ISC: BIND 9
- CoreDNS: DNS and service discovery
- PowerDNS Authoritative Server documentation
- Cloudflare docs: DNS
- Consul docs: Discover services with DNS