Re: nameserver issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Apr 20, 2017 at 12:32:41AM -0700, Kenneth Porter wrote:
> --On Thursday, April 20, 2017 12:34 AM -0400 Fred Smith
> <fredex@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> >works fine. until I fire up a vpn. having done that, looking in
> >/etc/resolv.conf (while the vpn is connected) it has reverted to
> >192.168.2.1.
> >
> >after shutting down the vpn, 192.168.2.1 remains in resolv.conf
> 
> Which VPN? It's not uncommon for VPN software to change the resolver
> setting to point to your VPN peer's DNS, so that all traffic goes
> through the VPN, including your DNS traffic.

I use OpenConnect VPN for this pareticular task.

and yes I know the vpn changes it, then should put it back when one
disconnects.

problem is, where is it getting the old address from? It isn't in 
the resolv.conf before the vpn is started, and it is not in the NM
setups, anywhere, and it isn't in any of the files in /etc/sysconfig/network*,
so where is it coming from? And that particular system is NOT using
DHCP. Beats me!

Fred

-- 
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
                         God made him who had no sin
                      to be sin for us, so that in him
                 we might become the righteousness of God."
--------------------------- Corinthians 5:21 ---------------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux