Web lists-archives.com

Re: Network manager and VPN


On Wed, Aug 29, 2018 at 07:49:38PM +0200, Jarosław Kłopotek - INTERDUO wrote:
> Hi guys,
> All the time when I disconnect all kind of VPN, there is a problem with DNS
> Resolving.

How are you connecting to VPN? If it's with network-manager-openvpn it
should automatically restore your DNS to a configuration prior to
connecting VPN.

Look in /etc/resolv.conf before, during and after VPN connection. After
should be restored to the state before.

If you are using something other then network-manager-openvpn, it should
restore resolv.conf for you or you may need to manually script that.

> I use network manager 1.12.2.