dhcp-client passing ISP dsn info to dhcpd

Glenn Satchell Glenn.Satchell at uniq.com.au
Thu Apr 27 12:46:09 UTC 2006


>From: "fbsd" <fbsd at a1poweruser.com>
>To: <dhcp-users at isc.org>
>Subject: dhcp-client passing ISP dsn info to dhcpd
>Date: Thu, 27 Apr 2006 08:21:37 -0400
>
>I use dhcp-client to fetch the dhcp info from my ISP at boot time.
>The resolv.conf file gets updated with the ISP's dsn ip address.
>
>I also run an private LAN and use dhcpd.
>I have to explicitly edit by hand the dhcpd.conf "option
>domain-name-servers"
>statement when ever my ISP changes their default dns ip addresses.
>
>
>Is there some option I missed that will automatically update the
>dchpd
>parameter when dhcp-client changes the content in resolv.conf?
>
>Does anyone have a custom script to perform this function they are
>willing to share?
>
>
The simplest way around this is to run your own caching domain name
server. On the gateway client dhclient runs as it does now. But in
dhcpd.conf you point all the private clients to your local dns server
address.  The only trick with this is that whenever the ISP changes the
IP address of the DNS server you'll need to update the forwarding entry
for your new DNS server.

regards,
-glenn



More information about the dhcp-users mailing list