Score:0

No response from EC2 AmazonProvidedDNS server over Site-toSite VPN

cn flag

I have a VPC using the network 10.10.1.0/24, and a Site-to-Site VPN connection to my local subnet (192.168.1.0/24). The VPN uses addresses in the 10.11.254.0/24 range. When I connect to the VPN, I can access hosts in both the local subnet and the AWS private subnet (10.10.1.0/24), so I believe I have the routing table set up properly to send packets bound for my local network 192.168.1.0/24 back through the site-to-site VPN.

The AmazonProvidedDNS server seems to be working properly inside the VPC; I can run dig @10.10.0.2 ip-10-10-1-215.ec2.internal from a host in the VPC, and I get the expected response.

However, if I run that same dig command from may laptop, through the site-to-site connection, I get no response.

From running tcpdump on the vpn server, I see the A? packets coming from my VPN address, going to 10.10.1.2, but I don't see any response coming back. Is there something I need to do to enable the DNS server to answer requests from outside the VPC address range?


This question has the exact same issue, but using a VPN server. The site-to-site connections don't have the same flexibility. It's been almost 10 years, is there a way to get the VPC DNS resolver to respond to "remote" queries?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.