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 <gfrank...@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-disc...@lists.thekelleys.org.ukhttps://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to