[vpn-help] VPN Access Manager overwrites /etc/resolv.conf on weak network connections on Ubuntu 16.04

NeoTheThird neo at neothethird.de
Sun Jan 15 13:53:44 CST 2017


Problem:

The Shrew Soft VPN Access Manager overwrites the /etc/resolv.conf on 
Ubuntu. That is a plain text file that holds ip addresses of 
nameservers. If the connection fails multiple times, the file does not 
change back and domain names can't be resolved any more.


To reproduce:

Connect to an overburdened or weak WiFi-network and keep refreshing the 
vpn connection. If it fails multiple times, the /etc/resolv.conf is 
overwritten. Confirm that by issuing `cat /etc/resolv.conf`. If you try 
to connect to a different network at any later date, domain names can't 
be resolved.


Quick and dirty fix by Hand:

Clear everything from /etc/resolv.conf except the comments and put in 
the ip address of your ISPs DNS server. If you don't know it, you can 
also use Googles DNS service, but that may be a privacy hazard. Info on 
the file: https://en.wikipedia.org/wiki/Resolv.conf


Client Version: 2.2.1

OS: Ubuntu 16.04 LTS

I don't have a logfile.


More information about the vpn-help mailing list