Hi,
The official OpenVPN Connect client (V3.3.6 4368) for MacOS (Monterey 12.5) isn't setting the server defined DNS servers.
If I use Tunnelblick the DNS servers are set correctly. Without the local DNS servers set on the client, it means I can't resolve any servers or clients on the remote network.
Tried adding:
dhcp-option DNS 10.11.12.1
dhcp-option DOMAIN local
to the client file but it makes no difference.
After connecting to the VPN server, running cat /etc/resolv.conf shows the DNS servers set by the local DHCP server.
OpenVPN Connect for MacOS doesn't change/set DNS servers
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Jan 13, 2021 4:40 am
- openvpn_inc
- OpenVPN Inc.
- Posts: 1185
- Joined: Tue Feb 16, 2021 10:41 am
Re: OpenVPN Connect for MacOS doesn't change/set DNS servers
Hi gyrex,
Thank you for bringing this to the correct forum. I was just looking at your post in Server Administration and was going to move it here.
We have had some reports of this, and a bug ticket was opened. I do not know the status of that ticket, however.
Often this issue can be caused outside of OpenVPN, such as by various "security" software products who know your needs better than you do. Cisco Umbrella is a common example.
However since Tunnelblick works, that would seem unlikely to be the cause for you. I would suggest since you're using the community version server, you might be best off just staying with a fine open source client.
If you're interested in pursuing this, the results of this command could be useful:
regards, rob0
Thank you for bringing this to the correct forum. I was just looking at your post in Server Administration and was going to move it here.
We have had some reports of this, and a bug ticket was opened. I do not know the status of that ticket, however.
Often this issue can be caused outside of OpenVPN, such as by various "security" software products who know your needs better than you do. Cisco Umbrella is a common example.
However since Tunnelblick works, that would seem unlikely to be the cause for you. I would suggest since you're using the community version server, you might be best off just staying with a fine open source client.
If you're interested in pursuing this, the results of this command could be useful:
Code: Select all
scutil --dns

Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support