[Dnsmasq-discuss] new config file in /etc/dnsmasq.d

Rance Hall rance_hall at icloud.com
Wed Mar 9 20:39:25 UTC 2022


I don't remember a mechanism in dnsmasq to achive this, although support for it (if it isn't too much work) would be something I'd happily help with.That being said, I think what you want is "inotify" on Linux, or "filewatcher" on Windows.  These services will watch files for changes and automatically trigger actions like "reload dnsmasq"Warning:  On Linux, inotify is an API so you still need a client to help you configure it.  Something like the inotify-tools package on arch.  (I think on debian based systems too)Hope this helpsOn Mar 9, 2022, at 1:43 PM, Frank Liu <gfrankliu at gmail.com> wrote:Hi,If I add a new file in /etc/dnsmasq.d that has a few srv-host entries,what's the best way to signal dnsmasq, other than restart it, so thatthose records can be resolvable?Thanks!Frank_______________________________________________Dnsmasq-discuss mailing listDnsmasq-discuss at lists.thekelleys.org.ukhttps://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220309/fc59982e/attachment.htm>


More information about the Dnsmasq-discuss mailing list