While many administrators prefer to use rbldnsd for serving list zone files since it's much faster and more memory efficient than BIND, here are some instructions if you choose to use BIND.
mkdir /etc/namedb/r
zone "multi.surbl.org" {
type master;
file "r/multi.surbl.org.bind";
};
(At this point, the only zone that should be used is multi.surbl.org .
Since multi includes all the other zones, the other zones are obsolete.)
Your server is not really a master for these zones, but because we used the keyword "master" above, it will behave as if it were, which is what we want.
#!/bin/sh /usr/local/bin/rsync -t some_rsync_server::surbl/multi.surbl.org.bind /etc/namedb/r/ /usr/sbin/named.reloadWhere some_rsync_server is replaced by the real server name when access is granted. (The -t argument causes rsync to preserve timestamps. Strictly speaking it's not needed in this use.) Remember to make the script executable.
7,37 * * * * (root) (path to script above)Where the who field of root is needed for /etc/crontab in FreeBSD but not for user-style crontabs. (You can also enter the rsync and named.reload directly in a crontab entry.) Please use minutes different from 7 and 37 so that the load is spread out over time. 20-minute intervals should be considered the minimum, by the way.