Date: Fri, 28 Dec 2001 12:59:40 -0500 (EST) From: Joe Clarke <marcus@marcuscom.com> To: Kenneth W Cochran <kwc@TheWorld.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Howto - dhclient not generate/update resolv.conf Message-ID: <20011228125815.B27720-100000@shumai.marcuscom.com> In-Reply-To: <200112281755.MAA6061942@shell.TheWorld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Dec 2001, Kenneth W Cochran wrote: > Hello... > > What is a/the correct way to get DHCP (dhclient) to *not* > generate/update /etc/resolv.conf when it starts/renews? > > OS is FreeBSD RELENG_4 as of 2001/12/27 (4.5-PRERELEASE). > > What I want to do: Get my ip-address, etc, via DHCP/dhclient, > but still be able to run my own (caching-only, for example) > nameserver. Based on manpage(s) (e.g. resolv.conf(5)) it seems > quite appropriate to *not* have resolv.conf in this scenario. (?) I let dhclient play with resolv.conf, but I tell it to prepend my caching server address. From /etc/dhclient.conf: interface "ed0" { supersede domain-name "marcuscom.com"; prepend domain-name-servers 127.0.0.1; } man dhclient.conf(5) gives a good example of a "complex" dhclient.conf. Joe > > Citable source (aka, FM to RT :) much appreciated. So far, I > haven't found quite what I'm looking for in the manpages, > Handbook, books, etc. > > Thanks, > > -kc > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011228125815.B27720-100000>