Vpc Peering Dns Resolution
When you want to integrate dns for the vpcs in an aws region with dns for your network you typically need one resolver inbound endpoint for dns queries that you re forwarding to your vpcs and one outbound endpoint for queries that you re forwarding from your vpcs to your network.
Vpc peering dns resolution. If the ipv4 cidr block of a vpc in a vpc peering connection falls outside of the private ipv4 address ranges specified by rfc 1918 private dns hostnames for that vpc cannot be resolved to private ip addresses. Enable the dns hostnames. Be sure to enable dns resolution from the load balancer hosted vpc to the client hosted vpc.
Confirm that dns resolution is enabled. Dns resolution via vpc peering next turn on dns resolution via between vpcs via their peering. If this attribute is false the amazon route 53 resolver server that resolves public dns hostnames to ip addresses is not enabled.
This functionality is also supported cross account so the two vpcs can be in different accounts. To ensure that queries from the peer vpc resolve to private ip addresses in your local vpc choose the option to enable dns resolution for queries from the peer vpc. To resolve private dns hostnames to private ip addresses you can enable dns resolution support for the vpc peering connection.
Enable dns hostnames and dns resolution to ensure that the cluster s hostnames in standard connection strings automatically resolve to private instead of public ip addresses when the atlas cluster is accessed from within the vpc. Indicates whether the dns resolution is supported. Domain name system dns is a standard by which names used on the internet are resolved to their corresponding ip addresses.
Today we are announcing dns resolution support for a virtual private cloud vpc peering connection. Select the vpc you want to peer with. Go to the vpc find your vpc select edit dns hostnames.
Open your list of vpc resources. You can now enable resolution of public dns hostnames to private ip addresses when queried from the peered vpc. By using dns resolution over inter region vpc peering resources in peered vpcs in another aws region are always accessed over the inter region vpc peering connection.