Re: [Dnsmasq-discuss] Flush the DNS Cache of dnsmasq without restarting it.

2021-03-04 Thread Dominick C. Pastore
There's also SIGHUP: "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-hostsdir, --dhcp-optsfile, --dhcp-optsdir, --addn-hosts or --hostsdir. The DHCP lease change script is called for all existing

Re: [Dnsmasq-discuss] Flush the DNS Cache of dnsmasq without restarting it.

2021-03-04 Thread Florent Fourcot
Hello, You should have a look on ClearCache method of D-Bus interface, or --clear-on-reload option (the second one is working only on specific use cases) Best regards, -- Florent Fourcot. ___ Dnsmasq-discuss mailing list

[Dnsmasq-discuss] Flush the DNS Cache of dnsmasq without restarting it.

2021-03-04 Thread Hongyi Zhao
Hi, On Ubuntu 20.04, I am running a self-compiled git master version of dnsmasq that is not managed by systemd. I want to flush the DNS Cache of dnsmasq without restarting it. Are there any tips for achieving this goal? Regards, HY -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials