MAC OSX 10.8 MTN LION - DNS not changing after disconnect

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
zstarman
OpenVpn Newbie
Posts: 11
Joined: Mon Dec 10, 2012 9:11 pm

MAC OSX 10.8 MTN LION - DNS not changing after disconnect

Post by zstarman » Thu Jan 03, 2013 9:29 pm

Hey, so the VPN is working great, our company mainly uses Macs and they are all sitting on Mountain Lion, except for one, which is running just Lion, 10.7.

So, before connecting, "cat /etc/resolv.conf" will display my current DNS(192.168.2.1), which is fine.

After connecting to the VPN, the resolv.conf file shows the DNS server that the VPN pushed to me. (192.168.40.28)

After disconnecting the resolve.conf file shows the DNS is still the VPN given address of 192.168.40.28

Obviously I am unable to reach that address to resolve queries as I am no longer connected to the VPN. Why does the OpenVPN Connect client change DNS when connecting but does not revert back after disconnect? Our users must disable and re-enable network services everytime they want to disconnect and use their home internet again.

Is there a solution for this? It seems it's a mountain lion specific issue, Lion works fine.

zstarman
OpenVpn Newbie
Posts: 11
Joined: Mon Dec 10, 2012 9:11 pm

Re: MAC OSX 10.8 MTN LION - DNS not changing after disconnec

Post by zstarman » Thu Jan 03, 2013 9:47 pm

Ew. Here is my workaround for this problem..

I set the VPN to push 2 DNS servers
Primary: Our internal DNS 192.168.40.28
Secondary: Googles public DNS 8.8.8.8

When disconnecting, the DNS servers will both remain, but when the first one fails to connect it will fall back to googles public DNS..

Is there any other solution for this?

JonnieDangerously
OpenVpn Newbie
Posts: 1
Joined: Fri Jan 11, 2013 4:48 am

Re: MAC OSX 10.8 MTN LION - DNS not changing after disconnec

Post by JonnieDangerously » Fri Jan 11, 2013 4:50 am

I am demoing the product before buying a license and I have run into the same issue.

The option of providing public dns servers is unacceptable. We have users who will need to return to their own private dns servers after disconnecting. Has anyone determined a fix for this?

User avatar
novaflash
OpenVPN Inc.
Posts: 1073
Joined: Fri Apr 13, 2012 8:43 pm

Re: MAC OSX 10.8 MTN LION - DNS not changing after disconnec

Post by novaflash » Fri Feb 01, 2013 6:05 pm

Hello people,

I am updating this topic because it appears to be a hot-spot for people to find out about this issue, instead of asking us on the live support chat or the ticketing system.

If you're using OpenVPN Access Server with the OpenVPN Connect Client, and you are having the issue that on Mac OS X Mountain Lion 10.8.something not releasing the DNS server after a disconnect event, then you can solve it by upgrading to our intermediate release 1.8.4.200, which includes a new version of the OpenVPN Connect Client and some changes in the Access Server to ensure that this will now function properly again. If you have an Access Server of version 1.8.0 or higher, upgrade using the package below and then do a reinstall of the OpenVPN Connect Client on the Mac OS X computer that is affected by this issue.

http://staging.openvpn.net/as/1.8.4.200/

If you have any questions or problems with the Access Server product, use the live support chat channel or the support ticket system found on http://support.openvpn.net/.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.

teksupport@zspace.com
OpenVpn Newbie
Posts: 1
Joined: Tue May 14, 2013 12:54 am

Re: MAC OSX 10.8 MTN LION - DNS not changing after disconnec

Post by teksupport@zspace.com » Tue May 14, 2013 12:58 am

I have installed 1.8.4.400 OpenVPN Access server and still facing issue of DNS on Mountain Lion OS. After disconnecting the openvpn I hv to renew the IP lease to get the internet access.


As you have mention issue was resolved on 1.8.4.200 is there something I need to change.

kn0my
OpenVpn Newbie
Posts: 3
Joined: Tue Jun 04, 2013 9:21 pm

Re: MAC OSX 10.8 MTN LION - DNS not changing after disconnec

Post by kn0my » Tue Jun 18, 2013 5:37 pm

Same problem for me... and I'm on 1.8.4.400

Post Reply