[geeks] synchronizing dhcp and bind
    Geoffrey S. Mendelson 
    gsm at mendelson.com
       
    Wed Jun 20 00:10:33 CDT 2007
    
    
  
On Tue, Jun 19, 2007 at 04:48:38PM -0400, Charles Shannon Hendrix wrote:
> I frequently add and remove machines from my network, and it would be
> nice if I did not have to manually update dhcpd.conf and the DNS entries
> every time.
> 
> It's annoying every time I want to change IP->name mappings to have to
> do it in both bind configuration and dhcpd.
> 
> Is there some way to tell dhcpd to use DNS to find the IP addresses,
> given a fixed hostname, instead of using a fixed IP address?
>From my dhcpd.conf:
allow bootp;
ddns-update-style none;
option domain-name "xxxxxx.com";
max-lease-time 72000;
default-lease-time 72000;
option routers xxx.xxx.xxx.1;
option domain-name-servers xxx.xxx.xxx.1;
.
.
.
	host  games
        	{
	        fixed-address  games;
	        hardware ethernet 00:A0:C9:37:C7:2E;
	         option host-name "games";
	        }
-- 
Geoffrey S. Mendelson, Jerusalem, Israel gsm at mendelson.com  N3OWJ/4X1GM
IL Voice: (07)-7424-1667 U.S. Voice: 1-215-821-1838 
Visit my 'blog at http://geoffstechno.livejournal.com/
    
    
More information about the geeks
mailing list