I read the man dhclient.conf(5) and paid special attention to the
part about
prepend domain-name-servers.

It does not say anything about passing the dns info dhcp client puts
into resolv.conf onto the dhcpd.conf "option domain-name-servers"
statement.

I don't think you understood the original question.
I may be wrong so please explain how dhcp client prepend
domain-name-servers
option effects the dhcpd config file?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of michael
johnson
Sent: Thursday, April 27, 2006 7:36 AM
To: Bill Moran
Cc: Telting; freebsd-questions@freebsd.org
Subject: Re: Getting DHCP to use resolv.conf?


On 4/26/06, Bill Moran <[EMAIL PROTECTED]> wrote:
>
> On Wed, 26 Apr 2006 13:56:57 -0700
> Telting <[EMAIL PROTECTED]> 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 "
> [EMAIL PROTECTED]"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to