Normal conf-file or conf-dir is not re-read upon receiving SIGHUP signal. You would have to use special servers-file for that. If you explicitly add your blacklist using servers-file=/etc/dnsmasq.d/blacklist.conf, it should be able to read that blacklist again. I am afraid there is no servers-dir variant, which might watch for file changes automatically.

On 25. 03. 24 20:26, Chris Green wrote:
Is there a way (other than restarting dnsmasq) to get it to notice
changes to files in /etc/dnsmasq.d?

I have a blacklist file which I put in /etc/dnsmasq.d and, obviously,
when the file is updated I want dnsmasq to notice any changes in the
file.

--
Petr Menšík
Software Engineer, RHEL
Red Hat, http://www.redhat.com/
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB


_______________________________________________
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