Date: Tue, 17 Apr 2007 17:03:51 +1000 From: Ivan Carey <ivan@careytech.com.au> To: Daniel Marsh <jahilliya@gmail.com> Cc: Ansar Mohammed <ansarm@gmail.com>, freebsd-questions@freebsd.org Subject: Re: PPP and resolv.conf Message-ID: <46247157.7080006@careytech.com.au> In-Reply-To: <ba5e78ea0704162305i395f5e2dyfa95d06c1c455d3@mail.gmail.com> References: <000d01c780b2$1303f930$0105a8c0@northamerica.corp.microsoft.com> <ba5e78ea0704162305i395f5e2dyfa95d06c1c455d3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Marsh wrote: > 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... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46247157.7080006>