How does DNS work inside an AWS VPC?
IntermediateConceptDNS
Answer
Each VPC has an Amazon-provided resolver at the base of the CIDR plus two (10.0.0.2 for 10.0.0.0/16) and also at 169.254.169.254 for link-local access. It resolves public names, private hosted zones and EC2 internal names. enableDnsSupport and enableDnsHostnames must be on.
Route 53 Resolver endpoints (inbound and outbound) with forwarding rules connect on-prem DNS to the VPC. The resolver has a limit of 1,024 packets per second per ENI.
More on DNS
What does DNS do and what happens when you type a URL into a browser?BeginnerWhat are the common DNS record types?BeginnerWhat is the difference between a recursive resolver and an authoritative server?IntermediateExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhat is negative caching in DNS?Intermediate