#!/bin/sh # this folds back zone updates, dynamic updates, etc back into the # zone files. # note that for very large zones (eg TLD's) you do not want to do this # every hour. But for hosting a lot of small zones, it is useful. /usr/sbin/nsdc update > /dev/nul 2>%1 /usr/sbin/nsdc patch > /dev/nul 2>%1 /usr/sbin/nsdc rebuild > /dev/nul 2>%1 /usr/sbin/nsdc reload > /dev/nul 2>%1 # nsd checks the serial in notify requests, so its better to send an # occasional redundant notify, then to miss it /usr/sbin/nsdc notify > /dev/nul 2>%1