PPP and resolv.conf
Daniel Marsh
jahilliya at gmail.com
Tue Apr 17 06:05:33 UTC 2007
On 4/17/07, Ansar Mohammed <ansarm at 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...
More information about the freebsd-questions
mailing list