So i am trying to configure conditional forwarding since my router does the DHCP (and I would prefer to keep it that way).
I have enabled the setting in DNS and added the following line…
true,192.168.0.0/24,192.168.0.1
0.1 is my router running DHCP and it only gives out the pihole address as DNS (I’ve put the pihole address in twice as primary and secondary because if i leave it blank then it does give its own IP as the secondary.
But no matter what I try, I cant get pihole to show hostnames instead of IP’s for the clients. Any ideas please?
Your debug log shows Pi-hole is correctly forwarding the queries to your router, but apparently the router is not replying with the expected names:
Dec 31 13:57:41 dnsmasq[2491]: forwarded 197.0.168.192.in-addr.arpa to 192.168.0.1
Dec 31 13:57:41 dnsmasq[2491]: reply 197.0.168.192.in-addr.arpa is NXDOMAIN
Yeah don’t like the idea of manually adding entries. Will probably have to look at using the pi as dhcp.
Any downsides? I assumed the router would be a more reliable dhcp plus I’m not relying on 2 devices in my network as the pi being down would kill my network with no dhcp
Thanks for your help. I have enabled DHCP on the Pi now and will see how it goes.
Side note, how do i view my debugs? I ran in to another issue where the pi was possibly hanging as it wasn’t giving out IPs so i did a reboot and that resolved. But I have ran another debug with pihole -d command and have gotten a URL but how do I view this to translate any errors or issues?