[Dnsmasq-discuss] Is there any method to flush dnsmasq's cache without interrupt service
albert.aribaud at free.fr
Fri Mar 21 07:17:16 UTC 2014
Le 21/03/2014 07:59, 胡文峰 a écrit :
> HI friends:
> I want to flush the dnsmasq cache under some conditions! But when I run
> /etc/init.d/dnsmasq restart, the dns service got interrupted for 1-2
> So I wonder is there any methods to ask dnsmasq to drop all the cache
> without interrupt the dns service?
Send a SIGHUP message to the running dnsmasq instance. Maybe
/etc/init.d/dnsmasq reload will do that on your system, or you can just
kill -HUP the PID of your dnsmaq instance or killall -HUP dnsmasq.
Other methods exist; see 'man dnsmaq' and search for 'cache'.
> Best Regards!
More information about the Dnsmasq-discuss