Hi Libor,

thanks for your reply.

Am 06.09.2017 um 13:15 schrieb "libor.peltan@nic.cz" <libor.peltan@nic.cz>:

Hi Volker,

thank you for your question.

Your suggestion is almost correct, just a little correction:

knotc zone-freeze $ZONE
# wait for possibly still running events (check the logs manually or so...)

Would Daniels suggestion be enough, to check for another freeze? I want to have a shell command to edit the knot zone file without further checks needed, beside what the script does.

knotc zone-flush $ZONE # eventually with '-f' if zone synchronization is disabled in config

Okay I added -f to be sure

$EDITOR $ZONEFILE # you SHALL increase the SOA serial if any changes made in zonefile

Is there a safe way in this scenario to get the current SOA?

knotc zone-reload $ZONE
knotc zone-thaw $ZONE

Reload before thaw - because after thaw, some events may start processing, making the modified zonefile reload problematic.

I see. I wasn't sure about the order of these two commands, which has been one reason for me to just ask here on the list. :-)


Regards
   Volker