[Dnsmasq-discuss] cache confusion
Simon Kelley
simon at thekelleys.org.uk
Wed Jan 24 22:35:40 GMT 2007
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.
> Is the cache stored in RAM or in a temp file on disk?
It's in RAM.
>
> thanks in advance, and thanks for dnsmasq.
>
No problem.
Simon.
> signed,
> scarred recovering former BIND admin
>
More information about the Dnsmasq-discuss
mailing list