On-premises clients can reach an EC2 instance by private IP over Site-to-Site VPN but cannot resolve its name in a Route 53 private hosted zone associated with the VPC. Which change enables name resolution?
Show the answer
Correct answerA. Configure an inbound Resolver endpoint and conditional forwarding from on-premises DNS.
AWhy this is right: Conditional forwarding sends private-zone queries to inbound endpoint IP addresses reachable over the VPN.
BWhy not this: Outbound endpoints forward VPC queries to external resolvers rather than accepting on-premises queries.
CWhy not this: VPN routes contain IP prefixes, not DNS domain names.
DWhy not this: Customer gateway devices do not provide the VPC DNS hostnames setting or access to private hosted zones.
A Route 53 Resolver inbound endpoint accepts DNS queries from on-premises resolvers for VPC-associated private hosted zones. An outbound endpoint serves the opposite direction: forwarding queries from the VPC to external DNS servers.