If your network uses DHCP to assign IP addresses to computers, you might not be able to enter a fixed IP address in your zone file because the IP address might be determined when the DHCP client boots, and could change between boots of the client. Chapter 5, Configuring Other Computers via DHCP, discusses two solutions to this problem: Configuring the DHCP server to assign a consistent address to clients or configuring the DHCP and DNS servers to communicate with one another. In the first case, you must take care to configure the DHCP and DNS servers consistently. For instance, if you want birch .threeroomco.com to be 192.168.1.2, you must set up that mapping in both the DHCP server's configuration files and in the DNS server's zone files ( ideally , in both the forward and reverse lookup zone files). This is a simple solution, but it can be tedious for a large domain. Chapter 5 discusses the DHCP configuration side of DHCP/DNS communication, so you should consult Chapter 5 in addition to this section if you want to implement the inter-server communication solution. The BIND side of the equation is implemented in the named.conf file's zone section that corresponds to the zone in question. Specifically, you must add an allow-update option. For instance, such a zone definition might resemble the following: zone "threeroomco.com" { type master; file "named.threeroomco.com"; allow-update { 192.168.1.1; } }; This configuration tells BIND to accept update information sent from 192.168.1.1, which should be the DHCP server for your network. You must make a similar change to the reverse DNS zone, if your server handles that and if you've configured the DHCP server to perform both forward and reverse updates. WARNING
|