Differences between version 6 and predecessor to the previous major change of DHCPNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Sunday, September 14, 2003 7:21:48 pm | by MarianFlor | Revert |
Older page: | version 5 | Last edited on Tuesday, August 12, 2003 9:27:02 pm | by CraigBox | Revert |
@@ -79,8 +79,18 @@
This sets up the ddns keys, and which zones to use them for. ddns-domainname sets the forward domain name that ddns will update. You can leave this out,
but it will then use the value in 'domain-name'. As I wanted to use a seperate forward domain for dynamic names, I set the dynamic zone here. Note that i set dynamic updates off by default - I dont want dynamic updates to run over my static leases. (there is i think a better way of doing this)
+
+There is a better way: If you have static entries in your dhcpd.conf they won't populate the dhcpd.leases file whenever you request a lease. The DNS entries will be updated with the entries from the dhcpd.leases file. So entries in your dhcpd.conf file like this:
+
+ host coffee {
+ hardware ethernet 00:0a:27:c0:ff:ee;
+ fixed-address 192.168.1.20;
+ }
+
+will not show up in the dhcpd.leases file.
+Thus you can leave the default alone (which means 'dynamic updates on' in the global section). Tested with Debian Woody dhcp3-server 3.0+3.0.1rc9-2 and bind8 1:8.3.3-0.woody.1.
Now to set up the dynamic options for a given subnet:
subnet 10.0.0.0 netmask 255.255.255.0 {