1
3
How to dump the cache of dnsmasq
?
This,
How to see dnsmasq cache contents
https://www.snbforums.com/threads/how-to-see-dnsmasq-cache-contents.36478/
says
sent SIGUSR1 to dump the cache to syslog
I followed it, but get only very few entries. In fact almost all of them are my local settings which is not what I'm after.
So, how to dump the cache of dnsmasq
?
While this may answer the question, it would be a better answer if you could provide some explanation for how to enable log queries. – DavidPostill – 2018-01-06T16:38:00.540
How to enable log queries was not the original question. But to answer it, log-queries is the name of configuration parameter of dnsmasq, there's an example in /etc/dnsmasq.conf, though I'm not sure if the path of this configuration file can be different based on distribution the OP is using. – mehturt – 2018-01-06T17:11:51.827
That should be in your answer not a comment. – DavidPostill – 2018-01-06T17:12:28.573
Not sure if that's better now. – mehturt – 2018-01-06T17:14:16.330