By using AWS re:Post, you agree to the Terms of Use

AWS VPN Client DNS Resolution issues


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 Answers


Here are some issues related to MAC-OS-

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.

answered 18 days ago
profile picture
reviewed 17 days ago

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.

answered 18 days ago

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

answered 18 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions