DHCP Static DNS setting not passed to DHCP clients

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
nullius
DD-WRT Novice


Joined: 29 May 2021
Posts: 6

PostPosted: Wed Aug 04, 2021 20:21    Post subject: DHCP Static DNS setting not passed to DHCP clients Reply with quote
Hi,

Maybe I am completely misunderstanding the way this is supposed to work. I am setting in static DNS 1 the IP for Adguard running on my Home Assistant instance.

However all my clients receive the router's IP as DNS and not the one I am specifying. Isn't that supposed to be the point of setting this in DHCP? So the clients all get it?

BTW, the router itself IS relaying the queries to the Adguard instance. I can see that basically all requests from the network are getting there.

Thanks!
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Wed Aug 04, 2021 20:34    Post subject: Reply with quote
On what router, on what build number of DD-WRT? This should be included on every post when you're asking a question for help, and if you read the sticky in this forum, you would know that the General forum is NOT for device help.

It would also help if you shared a screenshot of and all applicable dnsmasq settings on your router. You could have already likely figured this out by the included help files on the router and searching the forum.

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


Joined: 29 May 2021
Posts: 6

PostPosted: Wed Aug 04, 2021 21:07    Post subject: Reply with quote
Archer C7
Firmware: DD-WRT v3.0-r47086 std (07/22/21)

I am pretty sure I am not asking for "Device help" unless we mean different things. Basically I am asking in what way do the DHCP settings behave. I expect that transcends a specific device no?
Anyways if this is the wrong place for this question my apologies, I only posted here because I saw other DHCP related questions here when searching for an answer. If so please point me in the right direction.

Thanks!

I managed to get it working but only by disabling dnsmasq. Not sure that is the right approach here?
kernel-panic69
DD-WRT Guru


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

PostPosted: Thu Aug 05, 2021 2:51    Post subject: Reply with quote
You could've also used forced dns redirection as well as the no-resolv and server= additional configuration lines, perhaps. Please take a moment or however long to refer to the forum rules and guidelines and read them in entirety and let them soak in. The General forum is not for any kind of help; and yes, it does need to be cleaned up of threads that do not belong there but there are only so many hours in the day Cool
_________________
"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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2977
Location: Germany

PostPosted: Thu Aug 05, 2021 8:36    Post subject: Reply with quote
Quote:
I managed to get it working but only by disabling dnsmasq. Not sure that is the right approach here?


Yes is correct and certainly logical.

If you want that the clients get directly the IP address of the DNS server then "disable DNSMasq".

But you should also activate "ignore WAN DNS".
Without this option the clients get 3 DNS servers via DHCP and it is not said that the client queries the servers in strict order.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum