Caching forward-first and DHCP

Mark Andrews Mark_Andrews at isc.org
Mon Nov 21 23:51:49 UTC 2005


> Running a caching server as follows (RH FC3):
> 
> options {
>          directory "/var/named/";
>          forward first;
>          forwarders {
>              24.93.41.125;
>              24.93.40.62;
>              24.93.40.63;
>          };
>          listen-on { 192.168.10.0/24; 127.0.0.0/8; };
>          allow-transfer { none; };
> };
> 
> The server is my gateway and firewall, and gets its IP and DNS
> server list from my provider's DHCP server.  Is there a standard
> interface in BIND to get the DHCP client (dhclient 3.0.1) to tweak
> BIND (bind 9.2.5) with the current DNS server IPs on startup?
> 
> If so, how's it done?  Is this question more appropriate for a
> dhclient forum?

	Personally I would get rid of the forwarders.  If you want
	to do it then you use dhclient-exit-hooks.

	My dhclient-exit-hooks, re-builds the nat configuration,
	re-establishes the IPv6 tunnel, re-configures the IP phone
	and restarts xntp.

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list