Please follow the below template, it will help us to help you!
Expected Behaviour:
No random IP addresses in query log
Actual Behaviour:
I'm seeing random PTR requests in my query logs. They occur at very set intervals, which makes me think that it's a process within the Raspberry Pi that's triggering them. I've looked up some of these addresses and they point to locations such as India, China and Thailand.
Is this something Pi-hole is doing as part of its process or could it be something else on my Pi? I'm running Pi-hole in docker
The only port forwarding I have on the router is for two other Flask services running in their own Docker containers on the same Pi. I currently have the containers stopped.
They should be identical or did you set up something different than 127.0.0.01 for localhost in your /etc/hosts ?
Okay, so that's okay. The domains you were seeing are by no means random but correspond to the IPs of your internal clients. They should not be queried more than once per hour (or shortly after restarting the DNS server). Note that PTR queries work in "reverse" order, i.e., a query for the IP 192.168.1.1 will be 1.1.168.192.in-addr.arpa which is exactly what you're seeing.
I see 127.0.0.1 and localhost as having a different count of hits in the dashboard, so I'm assuming they are not identical. I didn't make any changes to /etc/hosts.
Ah! I didn't know they were in reverse. That makes total sense then. Thank you!
Okay, one further question if you don't mind (just wanting to exclude this is a Pi-hole bug).
When you hover over the localhost link in the Top Clients table on the dashboard, what does it show as tooltip? Does it show ::1 or something else?