I have Pi-hole installed pretty standard, except for using Apache webserver instead of lighthttpd.
My issue is that Pi-Hole is my DHCP server, and under the DHCP section i can see my leases correctly, MAC | IP | Hostname.
However, in the dashboard, only the IP's of the clients are shown, the only ones with names are ones i have created manual CNAMEs in Pi-Hole for.
From what i have read, Pi-Hole being the DHCP server, and showing the correct names in the dhcp.leases file, it should be correlating it for the dashboard.
Please upload a debug log and post just the token that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
It seems you've enabled Pi-hole's Conditional Forwarding for your 192.168.1.0/24 network, so you've instructed Pi-hole to query your router at 192.168.1.252 to retrieve hostnames for IP adresses from that subnet:
*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
-rw-r--r-- 1 root root 1506 Aug 4 09:44 /etc/dnsmasq.d/01-pihole.conf
rev-server=192.168.1.0/24,192.168.1.252
Since you've configured Pi-hole to handle DHCP now, your router wouldn't know those names anymore.
Disabling CF should fix your issue.
EDIT: Obviously not, since that CF is for a site-to-site VPN.
So, the reason that is configured is my network is 192.168.100.0/24. Gateway 192.168.100.1, PiHole is on 192.168.100.6.
My gateway is a firewall, which does a site to site VPN to my friends house, his network is 192.168.1.0/24, and his PiHole is 192.168.1.252.
I setup the conditional forwarders because i wanted to resolve hostnames for two domains from his DNS server so i could access his local resources directly by name.
I assumed this setting was the traditional DNS conditional forwarding, not to do with DHCP.
Have i configured that incorrectly, or is this an awkward situation where the setting does both?
Neither - nor, I'd say.
The VPN situation wasn't apparent from your original description, and I was lenient not to check your complete network information after spotting your CF.
You can discard my previous advice.
Can you verify if Pi-hole would know any names for the IPs in question, e.g.:
Apart from the absence of lighttpd, there is nothing in your debug log that jumps out at me immediately.
The one thing that strikes me as odd is that your Pi-hole's IP address is associated with a FQDN that doesn't match your local domain.
From your debug log, it would seem your Pi-hole is associated with pi.hole and darkserver as hostnames, or pi.hole.dv.local and darkserver.dv.local with your local domain appended.
That is my external domain, i host a couple of web services on the same apache server (currently external access disabled), and i made my internal DNS authoritive for the domain so when on LAN i would go to the internal address. So technically it is the name of that server.
Aug 8 11:08:12 dnsmasq[186820]: query[PTR] 6.100.168.192.in-addr.arpa from 192.168.100.6
Aug 8 11:08:12 dnsmasq[186820]: /etc/hosts 192.168.100.6 is darkvirus.nz
From what i can see, the information is there and working, its purely not connecting the dots in the console.
dig -x 192.168.100.53 @ 192.168.100.6
Aug 9 08:31:18 dnsmasq[186820]: query[PTR] 53.100.168.192.in-addr.arpa from 192.168.100.6
Aug 9 08:31:18 dnsmasq[186820]: DHCP 192.168.100.53 is iPhone.dv.local
Thank you for providing those details. Based on those logs of yours, we can rule out that Pi-hole's DNS portion would try to retrieve names from a different source or would have other difficulties to retrieve names.
As far as I recall, there were also no config settings in your debug log that would instruct your web UI not to translate IPs into names - but alas, those debug logs only last 48h hours.
In addition to a new debug token, we could also check your dnsmasq configuration for stray custom files: