Re: [Dnsmasq-discuss] Avoid cache clearing on SIGHUP
Thank you for the answer. I suppose in this case I should enable inotify support in my Dnsmasq build. Regards, Mykola. вс, 28 окт. 2018 г. в 14:14, Simon Kelley : > The solution may be use of --hostsdir, which avoids the need for sending > SIGHUP. > > > Cheers, > > Simon. > > > On 28/10/2018 10:55, Микола Василенко wrote: > > Hi all, > > > > Is there any method to avoid DNS cache clearing on SIGHUP? I want only > > to update host info by sending SIGHUP to dnsmasq daemon. As there are no > > servers info changed (e.i. resolv.conf, servers conf), I think, there is > > no need to clear the cache as it is still up to date. > > > > Thank in advance. > > > > ___ > > Dnsmasq-discuss mailing list > > Dnsmasq-discuss@lists.thekelleys.org.uk > > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > > > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Avoid cache clearing on SIGHUP
The solution may be use of --hostsdir, which avoids the need for sending SIGHUP. Cheers, Simon. On 28/10/2018 10:55, Микола Василенко wrote: > Hi all, > > Is there any method to avoid DNS cache clearing on SIGHUP? I want only > to update host info by sending SIGHUP to dnsmasq daemon. As there are no > servers info changed (e.i. resolv.conf, servers conf), I think, there is > no need to clear the cache as it is still up to date. > > Thank in advance. > > ___ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
[Dnsmasq-discuss] Avoid cache clearing on SIGHUP
Hi all, Is there any method to avoid DNS cache clearing on SIGHUP? I want only to update host info by sending SIGHUP to dnsmasq daemon. As there are no servers info changed (e.i. resolv.conf, servers conf), I think, there is no need to clear the cache as it is still up to date. Thank in advance. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss