Interview Prep/AWS/VPC and Networking

Design DNS for a hybrid environment where on-prem and AWS must resolve each other's private names.

AdvancedScenarioVPC and Networking
Answer

Situation read → Route 53 Resolver endpoints forward in both directions.

What I'd do →

  1. Create an inbound endpoint so on-prem DNS can forward *.aws.internal to it
  2. Create an outbound endpoint and forwarding rule for corp.example.com to on-prem DNS servers
  3. Share rules via RAM across accounts
  4. Associate private hosted zones with all VPCs
  5. Test with dig @10.0.1.10 db.aws.internal from on-prem

Why → Resolver endpoints bridge the VPC's .2 resolver and external servers without running your own DNS fleet.

Interview tip → Put endpoints in at least two AZs.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking