DNS settings magically erased after disconnect

Got a problem with Viscosity or need help? Ask here!


Posts: 1
Joined: Thu May 10, 2018 7:55 am

Post by jprokos » Sat May 26, 2018 10:11 pm
When Viscosity disconnects from the VPN without user intervention, it erases my DNS settings in my Mac Preferences > Network Settings. If I disconnect the VPN connection myself this does not happen.

The first time this happened I had just issued a terminal command and lost my internet connection. I thought that command had something to do with my inability to access the internet. I checked everything but the DNS settings on my Mac (didn't think of it) but I couldn't get connected to the internet. I ended up doing a complete system restore from time machine thinking I had issued a botched terminal command. 6 hours! Guess what the restore didn't fix anything. I finally stumbled on the empty DNS settings in Network Settings.


I chose Full DNS because for some reason when using automatic, Viscosity wasn't using my VPNs DNS servers.


User avatar
Posts: 2022
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Jun 06, 2018 4:39 pm
Hi jprokos,

I recommend checking the connection log for any error messages or warnings related to DNS:
https://www.sparklabs.com/support/kb/ar ... envpn-log/

Viscosity does not change your computer's DNS configuration for your normal network connection, rather it creates an entry for its own VPN network interface. However it's possible that attempting to modify your normal network connection's DNS settings while a VPN connection is active in Full-DNS might result in strange behaviour (it's possible macOS may attempt to modify the VPN connection's DNS settings instead, which Viscosity will reset back).

If the OpenVPN server you are connecting to is pushing DNS settings they should be getting used while connected. Please see:
https://www.sparklabs.com/support/kb/ar ... the-server

James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1