PPP and resolv.conf

Ivan Carey ivan at careytech.com.au
Tue Apr 17 07:04:01 UTC 2007


Daniel Marsh wrote:
> 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...
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>
> .
>
do you have enable dns in your ppp.conf file? I had the same thing and 
commented the enable dns to resolve

Ivan


More information about the freebsd-questions mailing list