Skip to main content
Cloud & AI Hub
Browse
Glossary AI Directory Playgrounds Models Prompts Explainers Strategy Matrix Benchmark Decoder

Domain Name System (DNS)

The system that translates human-readable domain names into IP addresses.

What is DNS?

DNS is often described as the phone book of the internet. When you type example.com, DNS resolvers look up which IP address (or CDN endpoint) should receive your request.

How a lookup works (simplified)

  1. Browser checks local cache
  2. Query goes to a recursive resolver (often your ISP or 1.1.1.1 / 8.8.8.8)
  3. Resolver walks the hierarchy: root β†’ .com TLD β†’ authoritative nameserver for example.com
  4. Returns an A record (IPv4), AAAA (IPv6), or CNAME (alias)

Common record types

RecordPurpose
A / AAAAPoints name to IP address
CNAMEAlias to another hostname
MXMail server routing
TXTVerification, SPF, DKIM
NSDelegates zone to nameservers

DNS in cloud architecture

  • Route 53, Cloud DNS, and Azure DNS host zones and health-checked routing
  • TTL (time to live) controls how long resolvers cache answers β€” lower TTL speeds up failover changes
  • Geo routing sends users to regional endpoints

Security note

DNS is unauthenticated by default. DNSSEC adds cryptographic signatures. Cloud teams also monitor for hijacking and use short TTLs during migrations.

What people get wrong

  • High TTLs before a migration. A 24-hour TTL means a day of traffic split between old and new servers; drop TTLs to 60s days before the cutover, raise them after.
  • Forgetting DNS is cached everywhere. Your change propagating β€œinstantly” in your terminal says nothing about a resolver in another country still holding the old answer.
  • Dangling records. CNAMEs pointing at deleted cloud resources are a subdomain-takeover vulnerability, not just clutter β€” audit records when tearing infrastructure down.

Historical figures and technical concepts for informational purposes only. Not technical, professional, legal, or financial advice. Sources: Official Documentation.