nsnotifyd: handle DNS NOTIFY messages by running a command
----------------------------------------------------------
The `nsnotifyd` daemon monitors a set of DNS zones and runs a command
when any of them change. It listens for DNS NOTIFY messages so it can
respond to changes promptly. It also uses each zone's SOA refresh and
retry parameters to poll for updates if `nsnotifyd` does not receive
NOTIFY messages more frequently.
Anywhere you currently have a cron job which is monitoring updates to
DNS zones, you might want to run it under `nsnotifyd` instead of cron,
so your script runs as soon as the zone changes instead of running at
fixed intervals.
### Examples
There are three example scripts described in the manual:
`nsnotify2git` records the history of changes to a set of zones.
`nsnotify2update` uses nsdiff and nsupdate as part of a bump-in-the-wire
DNSSEC signer.
`nsnotify2stealth` uses nsnotify-liststealth and nsnotify-fanout to
notify stealth secondaries so they get updates faster.
### Documentation
To read the manual, run
$ man ./nsnotifyd.1
or read online in [plain text](http://dotat.at/prog/nsnotifyd/nsnotifyd.txt)
or [PDF](http://dotat.at/prog/nsnotifyd/nsnotifyd.pdf) formats.
The `nsnotifyd` homepage is
### Build
To build, type
$ ./configure
$ make all
### Dependencies
The main requirement is the BIND-8 libc resolver. BSD and Mac OS ship
with a sufficiently recent resolver. On a Debian-like Linux you should
install libbind4-dev. Otherwise, the configure script will download
libbind and build and link with it statically.
### Latest release
Download the full source archives:
*
*
*
### Source repositories
You can clone or browse the repository from:
* git://dotat.at/nsnotifyd.git
*
*
*
----------------------------------------------------------------
Please send bug reports or patches to me. I accept contributions made
under the terms of CC0. Thanks to JP Mens and Richard James Salts for
helpful feedback and encouragement.
Written by Tony Finch
at Cambridge University Information Services.
You may do anything with this. It has no warranty.