Pi-Hole DHCP vs Opnsense

Hello all,

I am running Opnsense with Unbound DNS and DHCP services. I have set Pi-Hole to conditionally forward to my Unbound DNS, as well as setting the upstream DNS to Unbound.

I have noticed that alot of IoT devices on my network do not resolve to a DNS name. They show up as IP addresses in Pi-Hole. I am wondering if running the Pi-Hole DHCP, instead of on Opnsense, would allow me to rename these to something more suitable and then be able to resolve by name.

Thanks,
Steve

I would make the change and see if the results meets your needs.

With my Opnsense firewall I have multiple subnets, each with their own DHCP services. Does the Pi-Hole DHCP allow for this?

I'm running pfSense and using it for my DHCP and upstream from the pi-hole DNS, once I turned off conditional forwarding it is working well.

While Pi-hole's UI caters for a flat network only, its embedded dnsmasq can still serve more complex network setups, but you'd have to manually set up and maintain it through dnsmasq configuration files.

You may also want to reverify you've correctly configured OPNSense to register hostnames of DHCP leases with unbound as described in
https://homenetworkguy.com/how-to/configure-dhcp-vlans-opnsense/

I am going to review this once again but this talks to VLANs. My OPNsense firewall has multiple NICs, and each NIC is in essence a separate subnet.

DHCP considerations in that article seem to be general in nature, but you should probably check with the OPNsense folks for a more knowledgable answer.

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