Looking at your latest debug log, Pi-Hole is working properly and resolving/blocking domains as requested. I don't think this is a Pi-Hole problem, but a behavior of your Pi. Pi-Hole is showing the traffic, but not causing it.
I see you have speedtest added on. From your setup variables:
I don't use Speedtest with Pi-Hole, but I wonder if this could be the source of the queries.
This is not quite the case. There are a number of queries that happen from the Pi OS. Gravity updates require loading blocklists, any dig commands done from the Pi terminal, reverse DNS lookups, etc.
Even though you have not enabled IPV6 on your router or in the Pi-Hole install, Pi devices get an IPV6 address when you install the OS. If you don't want to see the AAAA requests (and you probably don't), put this line in your /etc/pihole/pihole-FTL.conf file and restart FTL (sudo service pihole-FTL restart)
I believe it was. I've added lines to my hosts files, but they all have this. From memory only, I think this is the name you assigned to the Pi when it was set up. One of mine says Pi-3B, another says PiZeroWH, etc. None match the 127.0.0.1 mapping, which is localhost on all of them.
I don't think that has any bearing on your problem. It just changes the name that shows up when you get a request from the loopback IP. If you change this to localhost, the queries will have the new name.
The default for the Pi-Hole install is localhost, which is what you started with in your original post.
Yeah I get that. What I'm not understanding (apologies if I'm just missing something obvious) is why a domain called pi-hole is being queried. Or indeed, what the domain pi-hole actually is?
Sorry but I'm not following.
I'm now seeing pi-hole in my top clients, as opposed to localhost. So thats good.
But I'm also seeing pi-hole in the top domains.
Perhaps it's throwing me off, but I'm seeing, in my logs, a query from clientpi-hole to domainpi-hole
This is sometimes the case, as has been explained.
Your Pi-Hole is working properly. You will have to do some troubleshooting to see what's making the requests. If I were having this problem, I would do the following:
Clean install of a fresh OS.
Install Pi-Hole and get it running.
Add services to the Pi one by one and see if they are working properly. PiVPN, cron scripts, speedtest, etc.
I don't think we can help you any more in resolving this problem.
Sorry, maybe I missed where domainpi-hole was touched on.
I'm absolutely certain my Pi-Hole is working as it should. Flawless infact.
It is more an intrigue now as to what the domain pi-hole actually is.