Split-Horizon DNS with Route 53 Public and Private Hosted Zones

Intermediate · 30 minutes · 4 tasks, checked automatically · 100 points

In this lab you will implement split-horizon DNS — a pattern where the same domain name resolves to different records depending on whether the query originates inside or outside a VPC. You will create both a public and a private Route 53 hosted zone for the domain `example.internal`, associate the private zone with a VPC, add distinct A records to each zone, and then query each zone to observe how the same hostname can return different answers based on network context. This is a foundational networking pattern used in production to expose internal service endpoints privately while maintaining a separate public presence.

What you’ll learn

How this lab works

  1. Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
  2. Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
  3. Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
  4. Finish and keep going: 100 points, your progress saved, and the next lab to try.

What it runs on

What you need

Topics: route53, dns, split-horizon, vpc, networking, hosted-zones, private-dns, aws

Create a free account to start this lab.

Keep going