Discussion Thread Pi-Hole Sticky

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page 1, 2, 3  Next
Author Message
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 1592
Location: Germany

PostPosted: Sun Jul 04, 2021 10:20    Post subject: Discussion Thread Pi-Hole Sticky Reply with quote
Link to the Sticky: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=331414

Last edited by ho1Aetoo on Sun Jan 30, 2022 14:37; edited 8 times in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12993
Location: Texas, USA

PostPosted: Sun Jul 04, 2021 11:53    Post subject: Reply with quote
And of course, you already did a write-up Cool This is the reference everyone seems to find that caused the confusion, as I stated in the other thread:

https://discourse.pi-hole.net/t/pi-hole-and-routers-with-third-party-firmware-dd-wrt-tomato-openwrt/18416

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
At some point, people just get plain tired of this place.
Because they are tired of bottom-feeders and the same old hat.

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 647
Location: WV, USA

PostPosted: Sun Jul 04, 2021 15:40    Post subject: Reply with quote
This is good! As there are so many questions about using Pi-Hole on this board, this thread should probably be made "Sticky".
_________________
Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r50146
Features in use: multiple VLANs, Samba, OpenVPN, WireGuard, Entware: mqtt, mlocate, gcc

Netgear R7800 (AP, VAP) - DD-WRT r50146
Features in use: multiple VLANs over single trunk port, multiple VAPs

Linksys EA8500 (Spare) - DD-WRT r50146
Netgear R6250 (Spare) - DD-WRT r50057
OSes: Fedora 35, 7x RPis (2,3,4), 16x ESP8266s: Straight from Amiga to Linux in '94. Never having owned a Windows PC.

Member #248
05dyna
DD-WRT Guru


Joined: 25 Jan 2008
Posts: 966

PostPosted: Sun Jul 04, 2021 22:39    Post subject: Reply with quote
nice job ho1Aetoo, thanks for doing it!

+1 for the sticky
giuliomagnifico
DD-WRT User


Joined: 11 Apr 2016
Posts: 454
Location: Italy

PostPosted: Mon Jul 05, 2021 6:38    Post subject: Reply with quote
If I select "Ignore WAN DNS" I can't get the DNS from my Pi-Hole. I haven't digged into it but just to report.

Thanks for the tips by the way!
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 1592
Location: Germany

PostPosted: Mon Jul 05, 2021 6:59    Post subject: Reply with quote
@giuliomagnifico

The WAN DNS are the DNS servers of your internet provider, I don't know what they have to do with the Pi-Hole.

This is certainly a false report.

Since your Pi-Hole surely uses other Public DNS servers like google, quad9, opendns etc.


explained using the first example:

There is only one DNS server entered in the router (192.168.1.110) this DNS server is transmitted to the clients via DHCP.

The clients send all DNS queries directly to the Pi-Hole (192.168.1.110).

In the Pi-Hole itself are the real Puplic DNS servers specified (e.g. google).

and the Pi-Hole forwards the DNS queries to the Google Servers (8.8.8.8 and 8.8.4.4)

Has nothing at all to do with the WAN DNS

If you change the configuration, it is possible that one or the other DHCP client still has the old DNS data.

Reconnect the network or restart the client can help.



by the way please open a separate thread with your problems.
The shown settings here are tested and work (I run 3 Pi-Holes myself)

The thread was also not intended as a support thread for all conceivable configuration errors


Last edited by ho1Aetoo on Mon Jul 05, 2021 10:25; edited 2 times in total
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12993
Location: Texas, USA

PostPosted: Mon Jul 05, 2021 9:37    Post subject: Reply with quote
This thread is a sticky for now; at some point, it will likely turn into a wiki and a link in the references sticky. I will also let this thread run it's course for now but not to evolve into a multiple-page circus of help desk questions.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
At some point, people just get plain tired of this place.
Because they are tired of bottom-feeders and the same old hat.

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
giuliomagnifico
DD-WRT User


Joined: 11 Apr 2016
Posts: 454
Location: Italy

PostPosted: Tue Jul 06, 2021 5:38    Post subject: Reply with quote
ho1Aetoo wrote:
@giuliomagnifico

The WAN DNS are the DNS servers of your internet provider, I don't know what they have to do with the Pi-Hole.

This is certainly a false report.


Oh I forgot to mention (and to remember myself) that I'm using Unbound, this should be the trouble.

Anyway as you said: "The thread was also not intended as a support thread for all conceivable configuration errors" so thank you for the tips!
05dyna
DD-WRT Guru


Joined: 25 Jan 2008
Posts: 966

PostPosted: Tue Jul 06, 2021 17:40    Post subject: Reply with quote
@giuliomagnificoThat’s going to suck if it don’t work with unbound. I going set this up for my friend and if unbound don’t work that’s a deal-breaker. Did you try example #1 or #2 or both? I have a RasPi here I've prepared for them but have not gone to their home yet. I'll have to re-think this if unbound don't work, please advise or send PM.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 1592
Location: Germany

PostPosted: Tue Jul 06, 2021 18:07    Post subject: Reply with quote
install unbound on the raspberry pi and enter unbound in the Pi-hole as custom DNS server

Then the DNS root servers are queried instead of the public DNS servers.

And this still has nothing to do with the WAN DNS servers.
giuliomagnifico
DD-WRT User


Joined: 11 Apr 2016
Posts: 454
Location: Italy

PostPosted: Wed Jul 07, 2021 5:50    Post subject: Reply with quote
@05dyna Unbound works with this setup, only if I thick "Use WAN DNS" something doesn't work, but just uncheck it and all is fine. I haven't investigate in this.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 10404
Location: Netherlands

PostPosted: Wed Jul 07, 2021 6:43    Post subject: Reply with quote
Moved it to Advanced Networking as it is of interest to all and locked it as this is not for support.
_________________
Routers:Netgear R7800, R7000, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), 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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12993
Location: Texas, USA

PostPosted: Wed Jul 07, 2021 15:43    Post subject: Reply with quote
Topic unlocked to give us some time to add to the information here as far as what does and does not work regarding the use of Unbound, SmartDNS, etc. Please use screenshots to explain things so that way we have a visual reference for people to follow. As I mentioned earlier, I wanted to let this thread run it's course for a bit before we lock it. Thanks for understanding, @egc. Wink
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
At some point, people just get plain tired of this place.
Because they are tired of bottom-feeders and the same old hat.

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 1592
Location: Germany

PostPosted: Wed Jul 07, 2021 16:18    Post subject: Reply with quote
unbound works without problems if you set it up correctly on the raspberry pi and pi-hole

the report is bullshite
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12993
Location: Texas, USA

PostPosted: Wed Jul 07, 2021 17:38    Post subject: Reply with quote
Perhaps we need to clarify that everything should be configured on the Pi-Hole (and perhaps how to do that) in the write-up. Unbound, SmartDNS, etc. were added to DD-WRT to have everything in one place, I presume. If people don't know, it's because there are guides that are in error or they just don't know without specific instructions. Just a thought.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
At some point, people just get plain tired of this place.
Because they are tired of bottom-feeders and the same old hat.

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum