Warning
Please note that I haven't worked on this in nearly 10 years, and do not offer any support. This page is preserved for historical reasons.
Dynamic DNS Update from DHCP
This software generates a DNS zone file from a dhcpd leases file.
Why?
Not to be outdone by that big juggernaut from Redmond, finally there's a way to update your DJBDNS from your DHCP server. Though there might be another method out there, I figured I'd toss mine out for the world to screw around with. Hopefully, it'll work as well for you as it does for me.
How does it work?
Okay, this is really easy. We have the djb_update.pl program, running as a daemon. This thing watches the DHCPD lease file, and when it changes, we start processing. The lease file will get updated every time a machine asks the server for an address. So when that happens, dns_update.pl will go through the lease file, pull out the addresses, and stuff them into a tinydns zone file fragment, merge the fragment with your static address, and import it into a tinydns data file.
As of version 1.0.1, you must be using DJBDNS.
And before you ask, yes, the program is Y2K compliant - it uses a 4-digit year, and gets the date from the unix date command.
Downloading
dhcp_dns is not commercial software. Use at your own risk, no guarantees or support shall be provided.