I recently upgraded my router to Openwrt 19.07.1 ATH79. Because all settings were wiped clean, I thought it'd be a good time to introduce a Pi-Hole to the mix. After re-entering all the static leases and such from scratch, I set about installing Pi-Hole. I know the basics of router and network configuration but not much deeper than that. I think I've read too much and have gotten myself confused on what applies.
- All clients on my home network use Pi-Hole to resolve addresses. This include Android*
- Openwrt continues to be the dhcp source
- Pi Hole shows the clients as their "lan name" as opposed to the router name
- Pi Hole uses opendns as it's source of IP's and thereby benefits from the features of opendns
- No client on the network can bypass this setup
Unfortunately, this is what I'm seeing:
- Several Android phones are calling out to 184.108.40.206 directly and bypassing Pi-Hole. To address this I followed the LUCI instructions of creating a forwarding rule for anything on 53. This seems to create the problem that all clients are represented in Pi Hole as the router. I've since turned this rule off temporarily.
- Pi Hole doesn't appear to call out to opendns. I suspect it's using the router's dns resolutions.
Things I've done on the router:
- Luci -> Network -> DHCP&DNS -> General Settings -> Added Pi Hole ip to the DNS Forwardings field
- Luci -> Network -> Interfaces -> Lan -> DHCP Server -> Advanced Settings -> DHCP-Options (Added 6,piholeaddress)
- Pi Hole -> Followed their "Method 2" of Settings -> DNS -> Upstream = Opendns and Condition Forwarding with the IP Address of my router