Compute workloads connected to a user-created logical network using DHCP are unable to reach an on-premises DNS server.
If you selected a non-default logical network when creating your compute gateway VPN, and that network uses DHCP, workload VMs might be unable to reach an on-premises DNS server.
The problem occurs if the compute gateway VPN has not been configured to allow DNS requests over the VPN.
- Configure the VMware Cloud™ on AWS side of the VPN tunnel to allow DNS requests over the VPN.
- Log in to the VMC Console at https://vmc.vmware.com.
- Navigate to the Networking tab of your SDDC.
- Under Compute Gateway and click VPN.
- Select .
- Under Local Network, select cgw-dns-network.
- Click Save.
- Configure the on-premises side of the tunnel of connect to local_gateway_ip/32 in addition to the Local Gateway IP address. This allows DNS requests to be routed over the VPN.