I’ve just ordered a Flint 3E router and hope to set Pihole back up (my current ISP router doesn’t allow me to modify DHCP or DNS settings!).
I’d like to move my IoT devices to the IoT network, but I would also prefer them to go through Pihole. I’d like to keep isolation enabled so the IoT devices cannot connect to anythign on the main network - except for Pihole.
What’s the best way to have the IoT network use Pihole for DNS (and ensure their real IP addresses show up, not the gateways IP address)?
This makes the IoT clients query Pi-hole directly.
2. Allow only DNS traffic from IoT to Pi-hole
Go to LuCI → Network → Firewall → Traffic Rules and add a rule similar to the following:
With this rule, IoT devices can only access the Pi-hole DNS service on the main LAN.
Pi-hole setting
Because the IoT network is a different subnet, Pi-hole may reject these requests when Allow only local requests is selected.
In Pi-hole, please go to the DNS interface/listening settings and select Permit all origins.
@charles2 thank you! It was simpler than I expected, I should’ve clicked through LuCI first
I appreciate the quick and detailed response - I was already very happy with this router (my ISP router is baaaaad), but having responsive staff in the forums makes me even happier with this choice. Thanks!