I run pivpn on the same pi as pi-hole, so have a cron job running to ensure my public IP is tied to the static domain name.
This is showing in the stats even though it's added to the exclude list in settings?
And is there a way to have it display pi-hole, rateher thanlocalhost
It actually does say pi-hole in the states? What is that?
It does not remove it from the Recent queries (unless you put the source of the request - client - in the top client field, but this will remove ALL queries from that client).
Ah ok, so I can add that and duckdns to the exclude list along with the now renamed pi-hole client and it'll not shown in top lists?
Although I'm still unclear why client Pi-Hole is querying domain pi-hole
Hmm ok,. Not using ipv6 so I'm more confused now!
How can i see / debug what is looking for domain pi-hole from the client?
I think the only queries coming from the Pi-Hole itself should be duckdns and the NTP servers so I'm ok with that.
Your best option may be to put a packet sniffer on the Pi, and see what traffic is coming and going. If you can tie a DNS request to related traffic, you can typically figure out which process on the Pi is making the request. Wireshark works well.
It would be difficult. Wireshark does not interfere with or change any process, it just monitors and reports network traffic per your configuration, and only when it's running.
I don't think so. Something on your Pi has requested the domain pi-hole, which was provided from your local list.
What else do you have running on the Pi other than the standard Pi-Hole install? I see pivpn in your first post, and there is a cron job. How often does that job run?
I added IGNORE_LOCALHOST=yes to /etc/pihole/pihole-FTL.conf in the hope it might help.
My install now seems to ignore the pi-hole domain and client, but some other clients now only show IP, rather than the client name?
I think this is something to do with IPV6 as a lot of the requests for the domainpi-hole are IPV6 (AAAA if I understand correct?)
I do not use IPV6...I did, but I disabled it...
I think a pihole -r and reconfigure may be needed?