A bit of a weird scenario I’m having with AWS-client-vpn.
Since I’ve provisioned it, the data engineers in my team cannot use the aws-client vpn we have set up to resolve RDS cluster and instance endpoints. The weirdest thing about this situation is that if they use the private ip address of the instance, or even try to telnet to it on port 5432, they can get a solid connection.
This leads me to believe that there is a DNS issue with the setup, that only seems to effect a few people (for me and 2 other platform engineers the endpoint name works, for 3 of the data engineers it doesn’t work)
any help with this would be appreciated.
SOLVED: Thanks for your help peeps. I realised that I was setting a cloudflare DNS address for the vpn endpoint rather than the 2nd address of the VPC CIDR range, which is reserved for the VPC DNS server. The instance endpoints can now be resolved when the data-engineers use the client vpn.
What have you set as the Client VPN DNS Server IP address? Is it the AmazonProvidedDNS (CIDR+2) of the VPC?
This helped me resolve it, thank you so much. I realised that I had set the DNS servers on the client-vpn endpoint to cloudflare, which couldn’t resolve the RDS instance names. Thank you!