PLEASE TAKE NOTICE

I am no longer developing this tool, nor do I offer support for it.


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's 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

So you want to get this program? Well, just remember that it's not commercial software, so if it works, cool, if not, sorry. But I wouldn't put it up here if it didn't work fine on my systems.

Please note that I built this for ME, so I designed it around DHCPD from ISC and DJBDNS See the links below. I don't have any reason to support other servers at the moment, but I'll be glad to add support if someone else wants to write it.

Links

Oh right, you need the DNS and DHCP servers? I use DHCP version 2, by the Internet Software Consortium. I'm also using DJBDNS, latest version.