Created attachment 351030 [details, diff] Patch for init.d/nsd adding a reload command On receiving a HUP signal, the NSD daemon reloads its zones database. To ease the use of that feature, I added a "reload" command to the init script.
Hi Luis, Reloading the zone file usually is done after recompiling the zone file (i.e. nsdc rebuild). How do you handle that now? Would it be useful to add that too?
Yeah, you're right, adding 'nsdc -c "${NSD_CONFIG}" rebuild' to the reload command is a good idea. Just didn't think of that...
I did this in the past (when the ebuild was still in sunrise), but removed all the extra features because they are also available through nsdc. The reason that configtest and patch are included, is because they are already needed for starting and stopping the daemon.
Setting to wontfix, this is just duplicating functionality from nsdc/nsd-control. It only complicates the init script but adds no real value.