[Dnsmasq-discuss] dnsmasq caching stats meaning
simon at thekelleys.org.uk
Wed Jun 26 15:33:11 BST 2013
On 26/06/13 15:21, Olivier Mauras wrote:
> I plan to deploy dnsmasq on a medium sized network as primary caching
> DNS for both workstations and servers - 1500 workstations / 600 servers.
> I'm currently testing it on a test subnet with around 50 workstations
> and have been wondering about the cache stats.
> dnsmasq: time 1372247969
> dnsmasq: cache size 2000, 0/65220 cache insertions re-used
> unexpired cache entries.
> dnsmasq: queries forwarded 22019, queries answered locally 11238
> dnsmasq: server xx.xx.xx.164#53: queries sent 5812, retried or
> failed 0
> dnsmasq: server xx.xx.xx.165#53: queries sent 5812, retried or
> failed 0
> dnsmasq: server xx.xx.xx.114#53: queries sent 16201, retried or
> failed 30
> dnsmasq: server xx.xx.xx.115#53: queries sent 925, retried or
> failed 10
> What exactly means "0/65220 cache insertions re-used unexpired cache
It means dnsmasq handled 65520 names lookups that needed to be sent to
upstream severes that nothing was thrown out of the cache before
reaching the end of its time-to-live, to make room for a newer name. For
the first number, smaller is better.
More information about the Dnsmasq-discuss