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?

已提問 2 年前檢視次數 2079 次
3 個答案
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
支援工程師
已回答 2 年前
profile pictureAWS
專家
Chris_G
已審閱 2 年前
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.

已回答 2 年前
0

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

profile pictureAWS
支援工程師
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南