update_sc.sh -- rsync mirror script
for rsync data retrieval
usage: update_sc.sh /zonefile/path/targetname bind|ip4set|combined
i.e. update_sc.sh /etc/named/master/somedomain.com bind
update_sc.sh /var/lib/rbldns/some.ip4set.set.rbl ip4set
update_sc.sh /var/lib/rbldns/some.combined.set.rbl combined
for HUPing the nameserver daemon
update_sc.sh HUP named | rbldnsd"
for bind, we recommend adding "rndc flush 'zonename'"
to your cron script as well"
update_sc.sh takes two mandatory arguments
1) the absolute path to the zonefile name on the
client host. This would be a zonefile path and
file for the 'named' daemon or an ip4set or
combined file path for the 'rbldnsd' daemon.
2) the word 'bind', 'ip4set', or 'combined'
to indicate which file to retrieve from
rsync.spamcannibal.org
OR
1) the keyword "HUP"
2) and the name of the nameserver daemon, one of:
named
rbldnsd
The update_sc.sh script can be run manually or by crond
Michael Robinton <michael@bizsystems.com>
Copyright 2006, Michael Robinton <michael@bizsystems.com> This script is free software; you can redistribute it and/or modify it under the terms of the GPL software license.