Pihole as DNS on R7000

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
duelninja137933
DD-WRT Novice


Joined: 26 Jan 2021
Posts: 1

PostPosted: Sat Sep 25, 2021 1:36    Post subject: Pihole as DNS on R7000 Reply with quote
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.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12834
Location: Netherlands

PostPosted: Sat Sep 25, 2021 6:59    Post subject: Reply with quote
Welcome to the forum Smile

To get optimal support not only state router model but also buildbumber.

See the forum guidelines: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087 with lots of useful information about how to post, what and where to download and other useful pointers.

For lots of things there is a wiki or a sticky thread, for piHole DNS see:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329571
This is a sticky thread in the Advanced Networking forum.

But if you have questions feel free to ask.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Sat Sep 25, 2021 9:12    Post subject: Reply with quote
IPv6 is not active when not enabled in Setup->IPv6 tab.

Does the router have an IPv6 address in the upper right corner?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum