[Dnsmasq-discuss] Reload configuration file

Maxim Khitrov mkhitrov at gmail.com
Fri Jul 9 13:58:55 BST 2010

On Fri, Jul 9, 2010 at 8:46 AM, Timothy Redaelli
<timothy.redaelli at gmail.com> wrote:
> Hi,
> I have to implement a reload of configuration file (dnsmasq.conf), is
> it possible to do it (without restarting dnsmasq)?
> Thanks

No, but you can move some of the settings, like static DHCP
assignments into a separate file that will be reloaded on SIGHUP. From

"When it receives a SIGHUP, dnsmasq clears its cache and then re-loads
/etc/hosts and /etc/ethers and any file given by --dhcp-hostsfile,
--dhcp-optsfile or --addn-hosts. The dhcp lease change script is
called for all existing DHCP leases. If --no-poll is set SIGHUP also
re-reads /etc/resolv.conf. SIGHUP does NOT re-read the configuration

- Max

More information about the Dnsmasq-discuss mailing list