I've read a lot of options regarding using Cloudfare DNS, but I also wanted to include my router's DNS server as well so various hostnames can be established on my local network.
My router is providing DHCP.
I can't seem to find much info about this...
Do I want to configure my router to point to the Pi Hole IP for DNS and leave Pi Hole configured for Cloudfare + the local router's gateway?
I assume I should NOT configure my router/gateway to point DNS to the Pi Hole + the local 192.168.1.1 gateway. But rather I should have my gateway pointing DNS to the local Pi Hole IP, and then have Pi Hole point to Cloudfare + the 192.168.1.1 gateway for local name resolution... correct?
If the router was configured to push the client's DNS to that of Pi Hole, then you're saying I would need to have my router's DNS pointed to Cloudfare? That doesn't make sense to me because the rotuer, providing DHCP would be using the same DNS settings that it sent to the client, right?
Running Ubiquiti UDM Pro, I have the option to specify 4 different DNS servers to use.
If Pi Hole pointed to Cloudfare as well as the local router, wouldn't it still resolve local hostnames on my local network? If the machine attempted to resolve via Cloudfare, of course it would fail, but then it would attempt the alternate DNS server right?