dhcp2dnrd
=====dhcp2dnrd: a smoothwall dns updater=====
===2001.05.01===
Okay, the first release of dnrd2dhcp is here.
===History===
It was designed to be used on a http://smoothwall.org smoothwall box, which is a dial-up router/firewall w/ dns proxy and dhcp. Thus, I wanted to be able to access computers on my lan via dns that were being served thru dhcp. So, I wrote a perl script to do it.
===Function===
This is how it works:
~-Goes through dhcpd.leases file and finds latest leases/ip and their hostname
~-reads in current hosts file
~-updates hosts file w/ hostnames and ips from dhcpd.leases file
~-restarts dns server (dnrd, in this case)
That's about it. No documentation yet (wait - see below).
Oh, and it requires the Class::Date perl module. Email me with any questions you have.
===Download===
http://www.silfreed.net/download/progs/dhcp2dnrd.pl v0.1.0
===Update 2003.02.20===
===Documentation===
Well, not by me, but any documentation is good, right?
I found this site while looking through my referer logs, and thought others looking for this tool would probably be intersted. I had forgotten how difficult it was to get Class::Date on my smoothwall box - heh.
http://www.kryogenix.org/writings/tech/dhcp-dns-smoothwall Documentation for DHCP2DNRD
----
CategoryProjects

1 comment
I wanted to use your script but it appears I am to stupid to install it :(