On Fri, 2 Jun 2006, David B Funk wrote:
On Fri, 2 Jun 2006, Marc Perkel wrote:
The reason I chose MyDNS was it was MySQL based and could be updated live. And I thought that if I added a field that set an expiration of now+24 hours then I could expire old entries with a simple script.
rbldnsd can be updated semi-live. Every "check" number of minutes it examines the zone data files and if they've changed it reloads them. Thus you can add/remove entries and within a minute or two they're active.
Along the same lines, if you want to do things by creating zone files and then reloading those, good old ISC BIND can push updates to slave servers almost instantly when you do a "rndc reload". However, unless there's something missing, if I were doing a DNS-based RBL, I'd be very tempted to do it all with dynamic DNS records. According to the ISC BIND documentation: http://www.isc.org/sw/bind/arm93/Bv9ARM.ch04.html#dynamic_update dynamic DNS data is stored persistently on disk, so you should be able to just use a dynamic DNS client to add and remove records. It may not be as flexible as SQL, but it seems like it would be dead simple to implement. - Logan