On 05/09/15 15:42, Guido Günther wrote: > Package: dnsmasq > Version: 2.72-3+deb8u1 > Severity: wishlist > > Hi, > it would be awesome if dnsmasq could use inotify in case of > > --addn-hosts=/a/directory/ > > this would allow one to dump new files in there (and modify existing > ones) without reloading dnsmasq. The use case is creating hosts entries > for VMs popping up (and disappearing) on the network. > Cheers, > -- Guido >
Note that this functionality is included, as --hostsdir=/a/directory/ in version 2.73 and later. It's added as a new option so as not to change the behaviour (re-read on SIGHUP) of --addn-hosts. Cheers, Simon.