Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2006 13:56:14 +0100
From:      Pete French <petefrench@ticketswitch.com>
To:        freebsd-stable@freebsd.org, veldy@veldy.net
Subject:   Re: resolv.conf and dhclient
Message-ID:  <E1FnEcw-0001GF-Sp@dilbert.firstcallgroup.co.uk>
In-Reply-To: <44842282.6050409@veldy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> What is the best approach to keep dhclient from overwriting 
> /etc/resolv.conf every time it gets a new lease on an IP address?

in /etc/dhclient.conf add a couple of lines:

	supersede domain-name "mydomain";
	supersede domain-name-servers 192.168.3.1;

replacing as appropoiate...

> has been a frustrating search as Google has turned up next to nothing

'man dhclient' would have been a better starting point :-)

-pcf.



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