OpenVPN Connect for MacOS doesn't change/set DNS servers

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
gyrex
OpenVpn Newbie
Posts: 4
Joined: Wed Jan 13, 2021 4:40 am

OpenVPN Connect for MacOS doesn't change/set DNS servers

Post by gyrex » Tue Aug 02, 2022 1:48 pm

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.

User avatar
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

Post by openvpn_inc » Sun Aug 07, 2022 11:33 am

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:

Code: Select all

scutil --dns
regards, rob0
Image OpenVPN Inc.
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

Post Reply