Not entirely sure what I am expecting to happen, other than the PiHole not making 2000+ queries on the hour, every hour - this affects my ability to use the graphs as the huge number of queries swamps any diagnostics
Actual Behaviour:
PiHole Localhost makes around 2000 queries per hour.
These appear to be unresolved PTR requests. Pi-hole polls hourly to determine the name of clients on the network, and these cannot be resolved. If the IPv6 address is for a device on your network, your upstream DNS server (Cloudflare) will not be able to resolve it.
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 18202303 Nov 8 14:45 /var/log/pihole.log
-----head of pihole.log------
Nov 8 00:00:10 dnsmasq[29291]: reply 2a00:23c8:2f89:9800:b919:df8f:e8f2:5f06 is NXDOMAIN
Nov 8 00:00:10 dnsmasq[29291]: query[PTR] 6.0.f.5.2.f.8.e.f.8.f.d.9.1.9.b.0.0.8.9.9.8.f.2.8.c.3.2.0.0.a.2.ip6.arpa from 127.0.0.1
Nov 8 00:00:10 dnsmasq[29291]: cached 2a00:23c8:2f89:9800:b919:df8f:e8f2:5f06 is NXDOMAIN
Nov 8 00:00:10 dnsmasq[29291]: query[PTR] 6.0.f.5.2.f.8.e.f.8.f.d.9.1.9.b.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa from 127.0.0.1
Nov 8 00:00:10 dnsmasq[29291]: forwarded 6.0.f.5.2.f.8.e.f.8.f.d.9.1.9.b.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa to 1.1.1.1
Nov 8 00:00:10 dnsmasq[29291]: query[PTR] 6.0.f.5.2.f.8.e.f.8.f.d.9.1.9.b.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa from 127.0.0.1
Nov 8 00:00:10 dnsmasq[29291]: forwarded 6.0.f.5.2.f.8.e.f.8.f.d.9.1.9.b.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa to 1.1.1.1
Nov 8 00:00:10 dnsmasq[29291]: query[PTR] 9.c.e.8.d.5.2.e.e.2.f.6.d.9.d.5.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa from 127.0.0.1
Nov 8 00:00:10 dnsmasq[29291]: forwarded 9.c.e.8.d.5.2.e.e.2.f.6.d.9.d.5.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa to 1.1.1.1
Nov 8 00:00:10 dnsmasq[29291]: query[PTR] 9.c.e.8.d.5.2.e.e.2.f.6.d.9.d.5.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa from 127.0.0.1
Nov 8 00:00:10 dnsmasq[29291]: forwarded 9.c.e.8.d.5.2.e.e.2.f.6.d.9.d.5.0.0.0.0.e.e.d.d.c.c.b.b.a.a.d.f.ip6.arpa to 1.1.1.1
Nov 8 00:00:10 dnsmasq[29291]: query[PTR] 9.c.e.8.d.5.2.e.e.2.f.6.d.9.d.5.0.0.8.9.9.8.f.2.8.c.3.2.0.0.a.2.ip6.arpa from 127.0.0.1
Nov 8 00:00:10 dnsmasq[29291]: forwarded 9.c.e.8.d.5.2.e.e.2.f.6.d.9.d.5.0.0.8.9.9.8.f.2.8.c.3.2.0.0.a.2.ip6.arpa to 1.1.1.1
Nov 8 00:00:11 dnsmasq[29291]: reply 2a00:23c8:2f89:9800:5d9d:6f2e:e25d:8ec9 is NXDOMAIN
I'm not sure whether those IPv6 addresses would contribute to your issue, but let's get a count of known IP addresses for a network device and see if they'd accumulate to somewhere near your 2,000 mark.
Please run the following command on your Pi-hole machine:
sqlite3 /etc/pihole/pihole-FTL.db \
"SELECT net.id, count(adr.ip), net.name \
FROM network net, network_addresses adr \
WHERE net.id = adr.network_id \
GROUP BY net.hwaddr ORDER BY 2 DESC;"
Thanks. I'll do that. As my PiHole is acting as DHCP server for the LAN, presumably just unticking the Enable IPv6 support in the Advanced DHCP settings is all I need to do.
Many thanks to everyon for their help in sorting this problem. Not only does disabling IPv6 sort my issues with spikes in the graphs, the graphs also load vastly quicker than they did - two birds with one stone