Interview Prep/AWS/Route 53, CloudFront and Messaging

How do you make a Route 53 private hosted zone resolve names inside two VPCs?

BeginnerScenarioRoute 53, CloudFront and Messaging
Answer

Situation read → Associate the zone with each VPC.

What I'd do →

  1. aws route53 associate-vpc-with-hosted-zone --hosted-zone-id Z123 --vpc VPCRegion=eu-west-1,VPCId=vpc-0abc
  2. For cross-account use create-vpc-association-authorization first
  3. Enable enableDnsSupport and enableDnsHostnames on the VPC
  4. Test with dig from an instance

Why → PHZ answers only for associated VPCs, so scope is controlled.

Interview tip → Mention split-horizon DNS using the same zone name public and private.

aws All AWS questions Roadmap: AWS core services

More on Route 53, CloudFront and Messaging