Getting DHCP to use resolv.conf?
fbsd
fbsd at a1poweruser.com
Thu Apr 27 11:32:06 UTC 2006
Does anyone have a script that does this, that they can share?
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Bill Moran
Sent: Wednesday, April 26, 2006 5:06 PM
To: Telting
Cc: freebsd-questions at freebsd.org
Subject: Re: Getting DHCP to use resolv.conf?
On Wed, 26 Apr 2006 13:56:57 -0700
Telting <telting at 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.
--
Bill Moran
Collaborative Fusion Inc.
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list