I am sending a set of patches, which add options to a configuration file:
diable-zonefiles-check:yes/no - enable/disable check of zone files
modification after NSD start
disable-zonefiles-check-hup: yes/no - disable/enable check of zone
files modification after receiving HUP signal
Our servers hold over 150 000 zones and it is not required big disk
operations (call stat() on each file) after NSD start or receive HUP
signal.
Maybe someone will like these configuration options.
Thank you, I have applied your patch, but I have modified it,
it is called 'zonefiles-check: yes' (shorter, and default is yes,
which is easier to understand). One option that disables sighup and
startup checks. "nsd-control reload" still checks all mtimes, even if
option is toggled, because you trigger it manually. Is this a good
way to have both patches that you sent?
Thank you, I have applied your patch, but I have modified it,
it is called 'zonefiles-check: yes' (shorter, and default is yes,
which is easier to understand). One option that disables sighup and
startup checks. "nsd-control reload" still checks all mtimes, even if
option is toggled, because you trigger it manually. Is this a good
way to have both patches that you sent?