Opscraft
AWS cloud

Route 53 hosted zones

Must-know8 lessons · 29 min · 3 tests ·

A Route 53 hosted zone is a container of DNS records for a domain. Public hosted zones answer the internet; private hosted zones answer only the VPCs you associate with them. Around them sits the Route 53 Resolver — the DNS server in every VPC — plus inbound/outbound endpoints for hybrid DNS with on-prem networks, DNS Firewall, query logging and Profiles for sharing configuration across accounts. Senior interviews test whether you can design DNS for a multi-account AWS organisation with EKS and on-prem connectivity, and debug "this name doesn't resolve from here".

Stage 2 · Core tools

Know these first

After this topic you can

  • Create public and private hosted zones
  • Use alias records for AWS resources
  • Delegate subdomains and debug Route 53 resolution

Lessons

  1. 1Route 53 at a glance 3 min read
    • What Route 53 does
    • Pricing basics
    • Hosted zone basics
  2. 2Public hosted zones 3 min read
    • Creating and connecting
    • Records you'll create
    • Public zone features
  3. 3Private hosted zones 6 min read
    • What they are
    • Requirements for resolution
    • Cross-account association
    • Resolution rules inside a VPC
    • Interface endpoints and private DNS
    • Lambda, containers and other clients
  4. 4Split-horizon DNS 3 min read
    • The pattern
    • Uses
    • Pitfalls
  5. 5Route 53 Resolver and hybrid DNS 5 min read
    • The VPC resolver
    • Hybrid DNS with endpoints
    • A multi-account hybrid design
    • Route 53 Profiles
    • Resolver query logging and DNS Firewall
  6. 6EKS and Route 53 3 min read
    • How pods resolve names
    • External DNS
  7. 7Automation, operations and troubleshooting 3 min read
    • Moving records around
    • Testing DNS failover
    • "Instance can't resolve a private zone name" checklist
    • "Internal name accidentally exposed publicly"
  8. 8Interview questions and model answers 3 min read
    • "Public vs private hosted zone?"
    • "How do EC2 instances resolve a private hosted zone record?"
    • "What is split-horizon DNS and what are the pitfalls?"
    • "Design DNS for on-prem plus multiple AWS accounts."
    • "A pod resolves private names but a Lambda in the same VPC doesn't. Why?"
    • "How would you automate DNS for 50 microservices on EKS?"
    • "What breaks if enableDnsSupport is false?"