DDwrt with Pi-Hole -> How to setup DNS?

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


Joined: 22 Jan 2022
Posts: 10

PostPosted: Sat Jan 22, 2022 17:04    Post subject: DDwrt with Pi-Hole -> How to setup DNS? Reply with quote
HI, I have been advised to ask here.

I want to use Pihole, but somehow I have problems with setting the DNS and I am unable to find out why.

Four Clients -> ddwrt -> router
One of those Clients is an unraid server with pihole Docker.
pihole is .2 and unraid is .140.

I have set .2 as static DNS 1 @ DHCP Server in ddwrt.

I had the problem that there are only two Clients shown in pihole: localhost + ddwrt. I thought that since ddwrt is forwarding the Requests, it´s normal, but it does not seem to be the case.

I have now enabled "Local DNS" and now the pihole sees my TV.

Also, I see Requests such as mydealz or windows.update, api.msdn, bing.com and 1ficher on my pihole from "ddwrt". Those Requests only can come from my PC. I thought that my PC now works, but I still get ads and when I add some sites to the Blacklist then they get not blocked either.

On the other hand I get requests from plex, which should come from my unraidl

So, what is going on here?
How can I "separate" the clients so that not only ddwrt is shown? How to add my PC?
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2977
Location: Germany

PostPosted: Sat Jan 22, 2022 17:13    Post subject: Reply with quote
Not enough information / the configuration shown is incomplete

and read the following thread first

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329571
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sat Jan 22, 2022 17:15    Post subject: Reply with quote
Welcome to the forum.

If you post it helps to get optimal support if you state router model and build number

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087


From the looks I can tell you are running an old and unsupported build.

We are currently on build 48141

How to setup DNS for a PiHole has been extensively discussed and is a sticky in this forum:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329571

But first I would recommend an upgrade.
Depending on how old your current build is a reset to defaults *after* upgrading might be the smart thing to do (and then put settings in manually, never restore form a backup to a different build)

_________________
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
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Jan 22, 2022 17:20    Post subject: Reply with quote
I suspect you are on 44715 build, going by the dnsmasq options alone
(local dns is enabled by default on current versions and that option is
removed because of this). Please consider upgrading.

https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2022/
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/
https://dd-wrt.com/support/other-downloads/?path=betas/2022/

No build in the router database is supported or recommended.

_________________
"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...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

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


Joined: 22 Jan 2022
Posts: 10

PostPosted: Sat Jan 22, 2022 19:22    Post subject: Reply with quote
Actually I am on 33xxx. My Router is like >10 years old.
I already wanted to update, but the last time I checked, there was no newer image for my model.

Should I really update to an maybe non-supported build?

https://dd-wrt.com/support/router-database/?model=WNR2200_v1

I would rather not reset everything as I am using this Router as Repeater since my Main Router´s Signal is not strong enough in this room. ...and I have no idea how I have done that anymore.

I have already read the sticky.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Jan 22, 2022 19:57    Post subject: Reply with quote
Device thread:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=142291

Other threads of note:
https://forum.dd-wrt.com/forum/viewtopic.php?t=323090
https://forum.dd-wrt.com/forum/viewtopic.php?t=331086&postdays=0&postorder=asc&start=29 (more recent build successfully flashed)

Keep in mind you may have to CLI flash from your present build when you upgrade if upgrading with FF ESR or Pale Moon does not work. I would suggest upgrading *without* reset and only reset if something goes awry. In that case, save each config page in webUI as a PDF file for future reference to re-config from scratch. Any additional settings in textboxes should be copied and pasted to a text file or you can optionally save each page of webUI in mhtml format from Chrome / Edge and use that vs. using PDF.

_________________
"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...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

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


Joined: 22 Jan 2022
Posts: 10

PostPosted: Sun Jan 23, 2022 0:51    Post subject: Reply with quote
So, should I just try to flash the newest build? WW or NA?
I just want to get pihole to work and not invest that much time with configuring ddwrt again.
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Jan 23, 2022 3:13    Post subject: Reply with quote
Neither. You use the wnr2200-webflash.bin to upgrade.
_________________
"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...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

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


Joined: 22 Jan 2022
Posts: 10

PostPosted: Sun Jan 23, 2022 11:32    Post subject: Reply with quote
I am no on 44715.

What to do for pihole?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sun Jan 23, 2022 12:04    Post subject: Reply with quote
That is an old and unsupported build, currently we are on build 48141.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
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
Nikkei
DD-WRT Novice


Joined: 22 Jan 2022
Posts: 10

PostPosted: Sun Jan 23, 2022 14:35    Post subject: Reply with quote
Well, for this Version I know at least that it works.
Nikkei
DD-WRT Novice


Joined: 22 Jan 2022
Posts: 10

PostPosted: Sun Jan 23, 2022 20:07    Post subject: Reply with quote
Yeah great, I was too fast.
My Wlan is now down to 60kBs and my LAN is completely dead with this Version.
Great, just great...

Going to update the newest Version..
Nikkei
DD-WRT Novice


Joined: 22 Jan 2022
Posts: 10

PostPosted: Tue Jan 25, 2022 15:36    Post subject: Reply with quote
HI, so I am now on the Version from 21.01 and it runs. At least Wlan and LAN works normal.

So, can you help me with pihole?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2977
Location: Germany

PostPosted: Tue Jan 25, 2022 16:59    Post subject: Reply with quote
In the multiple linked thread are two working configuration examples.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=329571
Nikkei
DD-WRT Novice


Joined: 22 Jan 2022
Posts: 10

PostPosted: Thu Jan 27, 2022 19:23    Post subject: Reply with quote
hmm, which one would you recommend for my setup?
The first does not seem to work.

four Clients +pihole -> Wlan Repeater/ddwrt -> Router

The pihole is NOT the whole time online!
I guess then I will need a fallback dns?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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