Discussion:
[Dnsmasq-discuss] Avoid cache clearing on SIGHUP
Микола Василенко
2018-10-28 10:55:53 UTC
Permalink
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.
Simon Kelley
2018-10-28 11:15:56 UTC
Permalink
The solution may be use of --hostsdir, which avoids the need for sending
SIGHUP.


Cheers,

Simon.
Post by Микола Василенко
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
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Микола Василенко
2018-10-28 14:03:54 UTC
Permalink
Thank you for the answer.

I suppose in this case I should enable inotify support in my Dnsmasq build.

Regards,
Mykola.
Post by Simon Kelley
The solution may be use of --hostsdir, which avoids the need for sending
SIGHUP.
Cheers,
Simon.
Post by Микола Василенко
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
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Loading...