Opnsense + PiHole - Do not resolve client hostnames

ok deleted the file, started pihole again and now can flush the network thingy. but it still doesn't seem to show any hostnames in the query log other than pi.hole :frowning:
https://tricorder.pi-hole.net/y96lkYQ5/

Okay, Pi-hole is trying to find the host names but there's a configuration that is preventing it from happening.

   Feb 15 19:10:57 dnsmasq[478]: query[PTR] 169.0.168.192.in-addr.arpa from 127.0.0.1
   Feb 15 19:10:57 dnsmasq[478]: config 192.168.0.169 is NXDOMAIN

What does http://pi.hole/admin/settings.php?tab=dns look like for configurations?

custom dns 1 = 192.168.0.254#5335
all interfaces
everything ticked except conditional forwarding

Clear the two advanced boxes, you can leave DNSSEC enabled if you want.

ah! ok its working now. but doesn't seem to be caring about a schedule. the hostnames are showing in the query log immediately. is that normal?
thank you Dan!

1 Like

Yes, everything is normal. There will be re-queries once an hour to check and make sure things haven't changed or to update the things that have. I don't recall offhand if they show in the query log though.

Is everything working correctly now?

And thank you for showing me the extra configuration items I need to cover in the next blog post, I would have forgotten about the Never Forwards needing to be cleared.

1 Like

yeah, things seem to be fine now. apart from a bunch of weird things in the top lists/logs such as .org .com co.uk , but i guess that's to do with the fact that unbound is now acting as the recursive dns server?

is there a way of doing this without so many dns servers on the network? I've been noticing that my dnsmasq service on my opnsense dies every day or so.... stops resolving. and i have to restart the dnsmasq service to kick it back into line. (nothing much in the logs of interest tbh)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.