Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 14:05:31 +0800
From:      "Daniel Marsh" <jahilliya@gmail.com>
To:        "Ansar Mohammed" <ansarm@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPP and resolv.conf
Message-ID:  <ba5e78ea0704162305i395f5e2dyfa95d06c1c455d3@mail.gmail.com>
In-Reply-To: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com>
References:  <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/17/07, Ansar Mohammed <ansarm@gmail.com> wrote:
>
> How can I stop ppp from modifying my /etc/resolv.conf?
> Everytime I establish a pppoe session, my resolv.conf file gets
> reconfigured
> to my ISPs DNS Servers.
>

You could make resolv.conf to what you want it to be and then do: chflags
schg /etc/resolv.conf

That will stop anything from modifying it, if you're in securelevel 1 or
more you can't take schg off, you need to reboot into securelevel 0.

Other than that, check the ppp man page for an option...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba5e78ea0704162305i395f5e2dyfa95d06c1c455d3>