10.0.100.10 typically receives a private DNS name like:
ip-10-0-100-10.ec2.internalOther resources can reach that instance by using either the private IP (
10.0.100.10) or its private DNS name.

- Instances use the Amazon-provided DNS resolver for name resolution inside the VPC.
- The resolver is reachable at the second IP address in the VPC CIDR range (CIDR base + 2). Examples:
- VPC CIDR
10.10.0.0/16-> resolver at10.10.0.2 - VPC CIDR
10.20.0.0/16-> resolver at10.20.0.2
- VPC CIDR
- Most AMIs configure this resolver automatically in
/etc/resolv.conf, so the OS and applications use it by default.
VPC DNS attributes
Two VPC-level attributes control DNS behavior:
Putting it together
- Private IPv4 addresses can be resolved via automatically assigned private DNS names (when
enableDnsSupportandenableDnsHostnamespermit). - The Amazon-provided DNS resolver is normally reachable at the VPC CIDR base + 2 and is configured on instances’
resolv.conf. enableDnsSupportmust betruefor instances to use the Amazon-provided DNS for name resolution.enableDnsHostnamescontrols whether instances receive DNS hostnames (including public hostnames for instances with public IPv4 addresses).
Check your VPC attributes if DNS resolution or public hostnames are not behaving as expected. Ensure
enableDnsSupport is true for Amazon-provided DNS to work; set enableDnsHostnames to true if you need public DNS hostnames for instances with public IPv4 addresses.If
enableDnsSupport is disabled, the Amazon-provided DNS server will not resolve names for the VPC. This breaks DNS resolution that relies on AWS-managed DNS—verify these attributes before troubleshooting application DNS failures.- Inspect
/etc/resolv.confon the instance to confirm the resolver IP (should be the VPC base + 2). - Verify
enableDnsSupportandenableDnsHostnamesin the VPC settings. - Ensure instances have appropriate network access to the VPC resolver (no custom network ACLs or security group rules blocking DNS).
- If using custom DNS (DHCP options set), confirm those servers are reachable and correctly configured.