Date: Thu, 27 Apr 2006 07:35:34 -0400 From: "michael johnson" <buhnux@gmail.com> To: "Bill Moran" <wmoran@collaborativefusion.com> Cc: Telting <telting@comcast.net>, freebsd-questions@freebsd.org Subject: Re: Getting DHCP to use resolv.conf? Message-ID: <b2203fed0604270435w33210f6fhc370b3d167bf5f0d@mail.gmail.com> In-Reply-To: <20060426170530.e91ae06c.wmoran@collaborativefusion.com> References: <444FDE99.1020701@comcast.net> <20060426170530.e91ae06c.wmoran@collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/06, Bill Moran <wmoran@collaborativefusion.com> wrote: > > On Wed, 26 Apr 2006 13:56:57 -0700 > Telting <telting@comcast.net> wrote: > > > I would like to know how I can propagate the dns servers which the dhcp > > client puts in resolv.conf to dhcpd. I only see how I can only > > explicitly list a domain server with "option domain-name-servers". How > > do I propogate non static dns servers? > > Write a script to updated the dhcpd.conf file when resolv.conf > changes. dhclient allows you to create hooks that automagically > run a script of your choosing when a new lease is obtained. > > Or you could search the list archives for when this exact question > was asked a few weeks ago. look at dhclient.conf(5) and look at the part about prepend domain-name-servers Michael -- > Bill Moran > Collaborative Fusion Inc. > _______________________________________________ > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b2203fed0604270435w33210f6fhc370b3d167bf5f0d>