AWS VPN Client DNS Resolution issues

0

After connecting the AWS VPN Client, I've found that DNS resolution will sometimes fail. This happens with some applications, like curl or kubectl, but will succeed for others, like dig, or Firefox/Chrome browsers. To workaround this issue, I've been clearing the local resolver cache, using the following command on my MacOS BigSur (v11.4): sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder

Is there a solution to this problem? Can this be fixed by adding some setting to the .ovpn file?

3 réponses
2

Hello,

Here are some issues related to MAC-OS- https://docs.aws.amazon.com/vpn/latest/clientvpn-user/macos-troubleshooting.html

Refer them for accurate troubleshooting. Also, to know in detail, your VPN client logs might help. If possible, please provide those or raise a case with AWS support and get those checked.

I would also recommend you to try Open VPN client and see if that is giving you the same errors that AWS Client is been giving to rule out any issues with the AWS Client.

profile pictureAWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans
profile pictureAWS
EXPERT
Chris_G
vérifié il y a 2 ans
0

The AWS VPN Client OVPN profile isn't compatible with OpenVPN, as it has some AWS-specific settings, baked into the binary, that break OpenVPN client (like auth-federate, which OpenVPN has no plans to make compatible).

I'll try reaching out to AWS support.

répondu il y a 2 ans
0

Yes. Please provide the logs to them as mentioned above in the link along with the configuration.

profile pictureAWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions