diff --git a/nsd.cron b/nsd.cron index b4177f8..8347500 100644 --- a/nsd.cron +++ b/nsd.cron @@ -1,16 +1,21 @@ #!/bin/sh -# this folds back zone updates, dynamic updates, etc back into the -# zone files. +# Paul Wouters +# This folds back zone updates, dynamic updates, etc that nsd records +# in the ixfr.db and nsd.db files back into the zone files or visa +# versa -# note that for very large zones (eg TLD's) you do not want to do this +# 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 +# Ideally check if ixfr.db newer then any zones, only then do /usr/sbin/nsdc patch > /dev/nul 2>%1 +# Ideally check if nsd.db newer then any zones, only then do /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 +# occasional redundant notify, then to miss it. +# According to the nsd team, this is no longer neccessary +# /usr/sbin/nsdc notify > /dev/nul 2>%1