So I tired to increase the cache-size param, but it seems I had no luck.
root@xxx:~# dig +short chaos txt cachesize.bind
"100000"
In the pihole log I have
Mar 6 11:27:39 dnsmasq[1222]: started, version pi-hole-2.80 cachesize 100000
But the interface shows 10000.
Also if I put the cache-size setting in a file that is not 01-pihole.conf, the DNS does not start at all (no matter the size I put in), so this cannot survive any upgrade.
That is a lot of activity going into your cache. A whole lot. How much traffic is your Pi-Hole seeing in 24 hours, and does one domain dominate others? Are you using conditional forwarding in Pi-Hole?
and
echo ">top-domains (15)" | nc localhost 4711
0 72225 a.root-servers.net
1 62932 dns.msftncsi.com
2 50946 wpad.my-domain.mpls
3 50613 www.bing.com
4 33857 netin.my-domain.it
5 31787 teredo.ipv6.microsoft.com
6 30657 www.my-domain.it
7 26417 signal.pod1.avatar.ext.hp.com
8 26317 www.google-analytics.com
9 25518 www.google.com
10 25173 time.nist.gov
11 24800 time-a.nist.gov
12 24798 time-b.nist.gov
13 24782 time-nw.nist.gov
14 24750 nz.pool.ntp.org
---EOM---
No forwarders for any domain.
The other setting is in the 01-pihole.conf file of dnsmasq, and I read several thread about multiple values generating an error. I think the documentation I linked above should be corrected since if you do exactly what it is written:
you cannot go above the hard limit of 10000 event it is stated the opposite
you'll end up with the DNS not restarting due to the duplicate value of cache size
I would clarify I have no evident performance problems here, just going to optimize as per documentation.
Edit: my-domain was the replacement for my real DNS domain