Hi Jamie!

> -----Ursprüngliche Nachricht-----
> Von: Jamie Landeg-Jones <ja...@catflap.org>
> Gesendet: Mittwoch, 17. August 2022 23:50
> An: nsd-users@lists.nlnetlabs.nl; Klaus Darilion <klaus.daril...@nic.at>;
> ana...@ripe.net
> Betreff: Re: [nsd-users] NSD serves old serial after restart
> 
> Anand Buddhdev via nsd-users <nsd-users@lists.nlnetlabs.nl> wrote:
> 
> > NSD has internally updated to serial 1660716050, but not yet saved it to
> > disk. By default, NSD writes out zone files only once per hour.
> 
> I presume that's to reduce I/O?

Yes. Consider a very huge zone which gets updated with IXFR every few seconds. 
That would be heavy to write the zone to disk after every update.

> Is there any reason why updates aren't
> written as soon as the file they are replacing is older than 1 hour?


AFAIK this is actually the case, when default zonefile-write=1h
 
In my opinion, it would be useful to have a zonefile-write-onshutdown=true 
option to force a "write" when the daemon is shut down. I think this is what 
Bind9 for example does. 

regards
Klaus
_______________________________________________
nsd-users mailing list
nsd-users@lists.nlnetlabs.nl
https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users

Reply via email to