[Dnsmasq-discuss] Fwd: How to clean DNS cache?

dnsmasqyq.xpt at neverbox.com dnsmasqyq.xpt at neverbox.com
Sat Feb 23 15:23:42 GMT 2019


I'm using dnsmasq as the local DNS caching server, and somehow it is giving
me outdated results. To clean DNS cache, the best article I found is

*How to Flush DNS Cache in Linux*
https://beebom.com/how-flush-dns-cache-linux/

However, that no longer works for my Ubuntu 18.04:

$ sudo /etc/init.d/dns-clean restart
sudo: /etc/init.d/dns-clean: command not found

$ sudo /etc/init.d/networking force-reload
[ ok ] Reloading networking configuration (via systemctl): networking.service.

# Good, but wait & see

$ dig +short mail.google.com @127.0.0.1
172.217.2.165

$ traceroute.db 172.217.2.165 -m 199 -r
traceroute to 172.217.2.165 (172.217.2.165), 199 hops max, 60 byte packets
connect: Network is unreachable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20190223/ddaf373e/attachment.html>


More information about the Dnsmasq-discuss mailing list