Skip to content
DNS settings magically erased after disconnect
Got a problem with Viscosity or need help? Ask here!
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.
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.
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
Cheers,
James
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
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts
Page 1 of 1