Hi Peter, On Tue, 11 Sep 2018 16:12:48 +0200 Peter J. Philipp wrote: > > If I'm correct, in order to pull the zones to disk on a slave nsd > setup, one has to manually or crontab "nsd-control write > example.com". Is this correct?
Sort of;- a slave NSD instance would XFER the zones from it's master into memory and serve the changed zones authoritatively. But, it wouldn't write the updated zones to it's slave files cached on disk. On daemon restart, it would try to XFER them all again. To reduce the flurry of XFERs and log messages after daemon restart or machine reboot, I had a cron job to write the slave zones to disk, run by my 'hostmaster' user (root wasn't needed). When OpenBSD 5.9 was released, it included a newer version of NSD, which done this itself via the new 'zonefiles-write' in nsd.conf My cron job has been retired as NSD now caches its slave files itself. Happy hostmastery! Cheers, -- Craig Skinner | http://linkd.in/yGqkv7