Previous: Running a master server, Up: Running Knot DNS [Contents][Index]
Knot DNS was designed to allow server reconfiguration on-the-fly without interrupting
its operation. Thus it is possible to change both configuration and zone files and
also add or remove zones without restarting the server. This can be done with the
knotc reload
action.
$ knotc -c master.conf reload # reconfigure and load updated zones
If you want IXFR-out differences created from changes you make to a zone file, enable ixfr-from-differences
in zones
statement, then reload your server as seen above.
If SOA’s serial is not changed no differences will be created. Please note
that this feature is in experimental stage and should be used with care.
If you encounter a bug using this feature, please send it to Knot developers (see Submitting a bugreport).
If you want to force refresh the slave zones, you can do this with the knotc refresh
action.
$ knotc -c slave.conf refresh
For a complete list of actions refer to knotc --help
command output.