How does DNS work inside a VPC?
IntermediateConceptVPC and Networking
Answer
The Amazon-provided resolver lives at the VPC base +2 (for example 10.0.0.2) and at 169.254.169.253. Two VPC attributes control it: enableDnsSupport (resolver on) and enableDnsHostnames (instances get public DNS names, and interface endpoint private DNS requires both).
Private hosted zones resolve only for associated VPCs. For hybrid DNS use Route 53 Resolver inbound and outbound endpoints. The resolver limit is 1,024 packets per second per ENI.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner