[Dnsmasq-discuss] How to reload changes to /etc/dnsmasq.d/mydomain without restarting DNSMASQ

Simon Kelley simon at thekelleys.org.uk
Tue Jan 21 22:34:49 GMT 2014

On 21/01/14 10:37, Jerome Sheed wrote:
> Hi,
> Is it possible to reload changes (e.g. new ip / DNS for mydomain)
> without restarting DNSMASQ?
> If possible i'd like it to re-read the /etc/dnsmasq.d/mydomain file for
> changes (new ip's / DNS entries) without restarting DNSMASQ (and causing
> problems for my network users as DNS resolution will drop).
> I've read that this doesn't seem to be possible due to the way DNSMASQ
> starts, but I can't confirm that.

That's correct. If the stuff in mydomain is just IP/names, you can put 
them in an /etc/hosts - format file instead, and read it using 
--addn-hosts. That would be re-read by sending SIGHUP.



> Any help would be appreciated.
> Thanks and Regards,
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

More information about the Dnsmasq-discuss mailing list