DNS address for DHCP clients

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


Joined: 25 Aug 2019
Posts: 30

PostPosted: Sun May 31, 2020 23:36    Post subject: DNS address for DHCP clients Reply with quote
I was trying to push my DD-WRT to give to its DHCP clients DNS address of my choice (for e.g. 8.8.8.8 ) instead of its own one.

I have tried both Local DNS and Static DNS fields, but none of them, nor all together seem to work.

And finally, what is the role of those two DNS settings within my configuration, where router's WAN connection is set to DHCP?



ddwrt_dns_address.jpg
 Description:
 Filesize:  64.39 KB
 Viewed:  304 Time(s)

ddwrt_dns_address.jpg


Sponsor
Megrez7
DD-WRT Novice


Joined: 25 Aug 2019
Posts: 30

PostPosted: Mon Jun 01, 2020 0:05    Post subject: Reply with quote
I have figured out, that putting into Additional Dnsmasq Options:

dhcp-option= option:dns-server, 8.8.8.8, 8.8.4.4

works as expected.

But still remaining question on DNS addresses options available in GUI.
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Jun 01, 2020 0:57    Post subject: Reply with quote
Do you see that link "more" to the right of that area? Click it.
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

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


Joined: 09 Nov 2019
Posts: 83

PostPosted: Mon Jun 01, 2020 2:55    Post subject: Reply with quote
> Do you see that link "more" to the right of that area?

It is at the top right, next to the word 'Help', and it opens a floating help menu. That menu contains a lot of text. I am unsure whether that text answers the poster's question.

_________________
My router: Asus RT-AC66U

Operating systems on devices that I use with that router: GNU-Linux; Windows 10; Android Lollipop
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Jun 01, 2020 3:30    Post subject: Reply with quote
The latest patch for that help file screwed the pooch on explaining the local DNS configuration entry, of course, because the original help text was incorrect, but it didn't so much for the 3 static entries. I just realized the first part was (still) blundered.

Back to point: People post questions that are sometimes answered directly in the included help files in the webUI. Otherwise, there are wikis and forum posts readily searchable. Some wikis still need updating to come in line with latest updates, it seems. If you want to find the information and link it or answer the questions, feel free. But people don't learn to fish by being handed fresh fish.

_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

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


Joined: 25 Aug 2019
Posts: 30

PostPosted: Mon Jun 01, 2020 10:37    Post subject: Reply with quote
I missed that help menu, honestly have never noticed it for years. Indeed it has a good and clear explanation now, but there is still no answer to what does Local DNS mean.
Sorry for bothering. I do always do own research upfront before coming with question.
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Jun 01, 2020 12:22    Post subject: Reply with quote
The local DNS server IP can be assigned to the router's IP itself, with proper additional options on the services page added, or I think you can use that to assign it to a Pi Hole, etc. client device on the LAN subnet to redirect local dns lookups to another device running dnsmasq. I think that is the correct explanation off the top of my head. From what I understand, dnsmasq handles local dns by default in DD-WRT, so the setting is technically "irrelevant".
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

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


Joined: 25 Aug 2019
Posts: 30

PostPosted: Mon Jun 01, 2020 13:07    Post subject: Reply with quote
All is clear. Thank you.
btw, I see a lot of Wiki articles get nice updates these days. Great news!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum 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