AlgoViz

Introduction to DNS

easy 25 min

DNS is the distributed database that turns names such as www.example.com into addresses computers can connect to.

Where it shows up

The same pattern appears across everyday software.

  • Root server system

    13 server names operated by 12 organisations, announced from about 2,000 machines by anycast.

  • Amazon Route 53

    A hosted DNS service, announced in December 2010, whose routing policies answer by weight, latency, location or health.

  • Google Workspace mail

    A domain owner publishes one MX record, smtp.google.com with priority 1, to receive mail there.

  • Kubernetes

    Every service gets a name inside the cluster, so pods call a name and not a changing pod address.

  • Certificate issuance

    Certificate authorities accept a TXT record as proof that you control a domain, and a CAA record lets you limit who may issue.

  • Moving a site between providers

    Teams lower the TTL the day before, change one A record, watch the old server drain, then raise the TTL again.