Posted: Sun Nov 21, 2021 9:05 Post subject: [SOLVED] strange picture with the "dhcp-option = ...&qu
In the "Additional Dnsmasq Options" settings it is specified:
Code:
dhcp-option = br0,6,192.168.1.107
This is your local Pi-hole.
When I connect my laptop over LAN, it is assigned a DNS server 192.168.1.107.
If I switch to Wi-Fi, 192.168.1.1 becomes the DNS server and my Pi-hole is resting.
I checked it on three firmwares: r47656, r47608 and r47481.
In the settings "Setup-> Networking-> Current Bridging Table" the default is:
br0 no eth1 wlan0 wlan1
Is there something wrong here? _________________ Linksys WRT1900ACSv2
Automatically adjustable temperature, always within the range of 59-68°С.
Joined: 08 May 2018 Posts: 14125 Location: Texas, USA
Posted: Sun Nov 21, 2021 11:40 Post subject:
To clarify all the "noise": Your additional dnsmasq config should be dhcp-option=br0,6,192.168.1.107 OR you should uncheck "Use DNSMasq for DNS" on the Setup -> Basic Setup page. _________________ "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
I think mentioning the Pi-hole setup here is a bit distracting from the heart of the matter.
The line "dhcp-option=br0,6,192.168.1.107" should give clients the same server regardless of the type of connection - LAN or WLAN. In reality, this is not the case.
-
If you disable "Use DNSMasq for DNS", the Internet is lost. Apparently this is due to the fact that "SmartDNS Resolver" is also disabled, which is the only upstream (via TLS) DNS server for Pi-hole.
SmartDNS - Pi-hole works great, but why only over LAN?
-
My client is a Win10x64 laptop with built-in LAN port and 2.4Gh Wi-Fi. _________________ Linksys WRT1900ACSv2
Automatically adjustable temperature, always within the range of 59-68°С.
O! Please mark this thread as - Solved!
I removed the adapter from the system and rebooted the laptop. After that, the 192.168.1.107 I needed was assigned. Those. Win10 is caching the old value somewhere, rather than trying to request a new one.
Thanks to all!
_________________ Linksys WRT1900ACSv2
Automatically adjustable temperature, always within the range of 59-68°С.
Joined: 08 May 2018 Posts: 14125 Location: Texas, USA
Posted: Sun Nov 21, 2021 13:11 Post subject:
Glad to hear it was resolved. Windows registry after Windows 98 is the crux of many problems. It retains values for things no longer present. It's the biggest lifesaver and pain in the ass at the same time. _________________ "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