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

Re: resolv.conf changing over time



On Wed, May 24, 2006 at 05:54:04PM +0200, Joris wrote:
> On Tue, 2006-05-23 at 20:08 -0400, T wrote:
> > The problem is it won't be long before my etc/resolv.conf, which points to
> > my own DNS cache server, get changed. How can I solve that? Is there any
> > hooks like ipup(?) for dial up? 
> 
> if you use pump for a dhcp client, there are a couple of ways to tell it
> not to update the DNS resolver configuration (add '-d' in the init
> script, or even better put 'device eth0 { nodns }' in pump.conf)

And if you are using dhclient you can add the following line to your
/etc/dhclient.conf

supersede domain-name-servers 127.0.0.1;

"man dhclient.conf" for more details
-- 
Ken Wahl

Attachment: signature.asc
Description: Digital signature


Reply to: