On that Linux host, when I spin up docker-pi-hole version 5 (e.g. 2024.07.0) and configure any device on the network to use Pi-hole as its DNS, I can see that the client IP is properly reverse-resolved. The device appears on the dashboard under 'Clients' e.g. as phone.fritz.box.
This works with Pi-hole's default settings out of the box.
With version 6, this stopped working. I can see only the IP address of the device, no hostname.
I am aware, that this can be easily fixed by configuring conditional forwarding: true,192.168.0.0/24,192.168.0.1,fritz.box
I’m just interested to know why and how reverse DNS worked in v5 without explicitly configuring conditional forwarding.
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
Please follow the template including a debug Token.
EDIT:
Sorry I misunderstood your issue.
I thought you were trying to configure reverse servers without explicitly settings the hostname part ,fritz.box... using just true,192.168.5.0/24,192.168.5.2, that's why I said it was already fixed.
Sorry for the late reply. I've tried that, but it makes no difference. Also FTL doesn't know about my router, as long as I haven't configured conditional forwarding.
So my guess is, v5 uses the container DNS to do reverse lookups, while v6 doesn't use it.
Within the container dig -x 192.168.5.10 works fine and returns the correct hostname.