Posted: Sat Sep 25, 2021 1:36 Post subject: Pihole as DNS on R7000
Fairly recently I have set up ddwrt on a R700 and created three vlans, 1.1 for dns/monitors/etc, 10.1 for ethernet connected devices, and 11.1 for wireless devices. On 1.1 is where my pihole resides, which worked great on my previous router. Since I have replaced it with the ddwrt router, I have been unable to get it working as a global dns server for all clients. Even though clients on each vlan can currently see each other - even the pihole webserver is accessible from all vlans. Throughout any combination of "Local DNS" or "Static DNS" or any DNSMasq setting, it's always either bypassed pihole entirely or resulted in no name resolution. External dns servers like cloudflare, google, etc work perfectly fine.
I suspected that IPv6 played a role in this, since clients are receiving IPv6 address from ddwrt while I have that setting disabled. My pihole is not configured to run IPv6, and I do not need ddwrt giving them out from the WAN connection. Is there a hidden setting that I'm missing to disable IPv6? Or do I have to manually block all requests through IP tables?
I am hoping that IPv6 plays a role this issue, but if it isn't I have no idea what could be the cause. Whenever I set the DNS to be forced to the pihole, it will not resolve anything. I can't even see any clients or queries from the piholes' interface.