<div dir="ltr">Hi Artur,<div><br></div><div>I agree that the documentation could be a bit clearer. But it is not actually "N seconds after a zone update". It is "every N seconds after starting the server". Setting the value to "1" means that NSD checks for updated zones every second, and writes them to disk.</div><div><br></div><div>In most cases, the default of 1 hour works fine. But like you, other people have also been concerned about serving stale zones when NSD is restarted. Some have worked around this by having some kind of pre-stop hook in systemd to call "nsd-control write". There has also been talk about requesting a feature within NSD itself, to write all updated zones before exiting, so that it can work identically regardless of the init system used to run NSD.</div><div><br></div><div>Regards,</div><div>Anand</div><div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 20 Mar 2025 at 00:18, Artur <<a href="mailto:nsd@pydo.org">nsd@pydo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div>Hello Anand,</div>
<div><br>
</div>
<div>Le 19/03/2025 à 23:53, Anand Buddhdev a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>You can set "zonefiles-write" option in the "server"
section to a low value like "1", which will make NSD write the
zone file to disk almost immediately after an update.</div>
</div>
</blockquote>
<p>Yes, it works as expected. Thank you.</p>
<p>However, the NSD documentation is confusing. It states : "Write
updated secondary zones to their zonefile <b>every N seconds</b>."<br>
I would rather say: "Write secondary zones to their zonefiles N
seconds after the zones update."<br>
Or : "Write secondary zone to its zonefile N seconds after the
zone update."</p>
<p>I don't know if any nsd dev is reading this, but maybe there is
an improvement to the documentation here.<br>
</p>
<p>Thank you Otto for your suggestion too.<br>
</p>
<pre cols="72">--
Best regards,
Artur</pre>
</div>
</blockquote></div>