AWS in 1 Min · Episode 52

Amazon Route 53: DNS in AWS explained

Names in, addresses out. Watch the one-minute video, then read the details.

David Gomez1:16 video · 3 min read

"Route 53 is where you buy domain names." That is one of its jobs, and the smallest. Amazon Route 53 does three things, in any combination: it registers domains, it answers DNS queries for them, and it checks the health of your resources so traffic can avoid the ones that are down. If DNS is wrong, nothing else in your architecture matters, because nobody can find it.

DNS in one paragraph

DNS (the Domain Name System) is the internet's phone book. People remember example.com; computers need an IP address. When someone opens your site, their device asks a DNS resolver, the resolver asks the servers responsible for your domain, and the answer comes back as an address. Route 53 can be those responsible servers. The "53" comes from port 53, the port DNS uses.

Hosted zones and records

Your DNS data lives in a hosted zone, a container of records for one domain.

  • A public hosted zone answers queries from the internet.
  • A private hosted zone answers only inside the VPCs you associate with it, which is how internal names like db.internal.example.com work.

Inside the zone are records. The ones you will meet first:

  • A record: name to IPv4 address (AAAA for IPv6).
  • CNAME: name to another name. It cannot be used at the top of the domain (example.com itself).
  • Alias: a Route 53 extension that points a name straight at an AWS resource, such as a load balancer, a CloudFront distribution or an S3 website endpoint. It works at the top of the domain and follows the resource if its addresses change.

A classic mistake is hard-coding a load balancer's IP addresses in an A record. Those addresses change. Use an alias.

Health checks

Route 53 health checks send automated requests to an endpoint, such as a web server, to verify it is reachable and working. You can be notified when one fails, and, combined with routing policies like failover, Route 53 stops answering with the unhealthy resource. This is DNS-level resilience: simple, and independent of any one Region.

The catch: TTL and caching

Every record has a TTL (time to live), in seconds. Resolvers keep the answer for that long before asking again. So a change is not instant: with a TTL of one day, some users can keep the old answer for a day.

  • Before a planned migration, lower the TTL in advance, wait for the old TTL to pass, then switch.
  • Afterwards, raise it again to cut query volume.

Where AI fits

DNS is also a security control. Malware often uses DNS to find its control servers, or to smuggle data out inside DNS queries, because DNS is rarely blocked.

Route 53 Resolver DNS Firewall filters the DNS queries that leave your VPCs. Beyond lists of known bad domains, its Advanced rules are built to detect threats that lists can't keep up with:

  • Domain generation algorithms (DGA): malware that invents thousands of random-looking domain names.
  • DNS tunneling: data hidden inside queries.

Instead of matching a fixed list, these rules analyse the queries themselves for anomalies. You choose a confidence level, and you can run a rule in alert mode before you let it block, which is the safe way to start.

The same matters for AI workloads: an agent or a notebook with network access is one more thing that can be tricked into calling a domain it shouldn't.

Quick recap

  • Route 53 registers domains, answers DNS and runs health checks.
  • Records live in hosted zones, public or private; use alias records for AWS resources.
  • TTL means changes are not instant, and DNS Firewall can block malicious lookups.
AWS in 1 Min #52 · 1:16

Need an AWS expert on your team?

I'm David, an AWS expert and fractional cloud consultant. I work alongside your team to run your cloud and infrastructure: architecture, security, cost and day-to-day operations. You get senior AWS experience when you need it, without the cost of a full-time hire.

  • Architecture reviews and a clear plan for what to fix first
  • Security hardening: IAM, networking, audits
  • Lower AWS bills without slowing your team down
  • Hands-on help with AI workloads on AWS