[Dnsmasq-discuss] cache confusion

Carla Schroder carla at bratgrrl.com
Wed Jan 24 23:29:46 GMT 2007


On Wednesday 24 January 2007 14:35, Simon Kelley wrote:
> Carla Schroder wrote:
> > I'm confused about dnsmasq's DNS cache. I know that it works, and works
> > well. Is there a way to see the contents of the cache?
>
> Yes, it's easiest to start dnsmasq in debug mode (-d) which keeps it in
> the foreground. Then when you want to see the current cache contents,
> send dnsmasq SIGUSR1 like this:
>
> killall -USR1 dnsmasq
>
> and a dump will be printed to the terminal.

Very cool, thanks! 

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
Linux geek and random computer tamer
check out my Linux Cookbook! 
http://www.oreilly.com/catalog/linuxckbk/
best book for sysadmins and power users
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Dnsmasq-discuss mailing list