Next: ixfr-fslimit, Previous: notify-retries, Up: zones Statement Definition and Grammar [Contents][Index]
zonefile-sync
specifies a time in seconds after which current zone in memory will be synced to zone file on the disk (as set in file). Knot DNS will serve the latest zone even after restart, but zone file on a disk will only be synced after zonefile-sync
time has expired (or synced manually via knotc flush
- see Running Knot DNS). This is applicable when the zone is updated via IXFR, DDNS or automatic DNSSEC signing. Possible values are 0 to INT_MAX, optionally suffixed by unit size (s/m/h/d) - 1s is one second, 1m one minute, 1h one hour and 1d one day with default value set to 0s.
Important note: If you are serving large zones with frequent updates where the immediate sync to zone file is not desirable, set this value in the configuration file to other value.