July 3rd, 2005
inewsd is (yet another) perl daemon that I’ve written. This one leeches full text news stories from Reuters.com via their RSS interface and then places them in iPod-friendly text files in a directory you choose (normally $IPODMNTPATH/Notes/News). The program can either do a one-shot mode or run in daemon mode. In both modes the program will wait until the target path exists before proceeding. In daemon mode it will wait (by default) 10 minutes in between updates, then flush the news directory and re-fetch the articles.
inewsd aquires the full article text by following the “link” element in the RSS feeds and doing some regexp magic on the article’s html. Luckily the Reuters folks like to use html comments on their pages .
This release is v0.91. I doubt I will ever number this above 0.99 as Reuters does occassionally change formatting or RSS URLs. Please see the file itself for configuration instructions.
Note: Version 0.90 is outdated due to Reuters format changes, and quite poorly written as it makes use of system() calls — not to mention that I never planned to release it. Do not bother with v0.90 unless you like to laugh at bad coding practices.
July 2nd, 2005
I’ve started thinking about how to improve dhcp2ldap. First up, I’ll be sending updated serial numbers every few minutes so that slave servers that are not using ldap can get updates. Also, I’m trying to work out how to have a more flexible subnet layout (ie, a Class B or Class A). That’s all for now. Listt any features or fixes you’d like to see as comments against this post.
July 2nd, 2005
dhcp2ldap is a perl daemon that I’ve written to work with the LDAP SDB backend for Bind9, and the ISC DHCP server. It will check the dhcp leases file, at a configurable rate, for changes and update DNS accordingly. This release is v1.1.
Description from initial e-mail to SDB Author:
I recently implemented your LDAP backend for bind as a stepping stone to
getting “multimaster” dns updates in my domain. It works great, but I
found it was lacking one tool which a lot of administrators would
appreciate: dynamic dns updates from dhcp. All the other ddns software
only do zone updates (which, obviously, don’t work with the ldap
backend) so they are fairly useless for my purposes and I decided to
code my own. Attached is my perl daemon that monitors dhcp leases for
changes and updates dNSZone records on an ldap server. I figured other
people using the ldap SDB could benefit from this if you put it on your