[Pdns-users] How to optimize cache hit ratio

Aki Tuomi cmouse at cmouse.fi
Mon Aug 5 09:15:46 UTC 2019

On 5.8.2019 12.14, 姜伯洋 wrote:
> Hello everyone
> [root at ops-dns-recursor-3 ~]# rec_control get-all|grep cache
> cache-entries121
> cache-hits0
> cache-misses12
> max-cache-entries3000000
> max-packetcache-entries500000
> negcache-entries4
> packetcache-entries7
> packetcache-hits51
> packetcache-misses12
> I don't know if the data monitored on my authoritative node is normal,
> but it seems that there is a high probability that the miss will be
> lost. How can I optimize it?
Before optimizing it, I would recommend you take advantage of
https://metrics.powerdns.com/ to see how your cache hit/missrate behaves
over time. This way you have better understanding of how it behaves.


More information about the Pdns-users mailing list