Posted: Fri Jan 11, 2019 23:05 Post subject: I'm going crazy with the DNS management of DD-wrt!
I have a Netgear WNDR4500 v1 with DD-WRT v3.0-r37305 giga 10/10/18.
This router is dual band in gateway mode to another router-modem Huawei HG532s.
The IP of WNDR4500 is 192.168.2.1 and the IP of Huawei HG532s is 192.168.1.1.
I'm having so many problems with dns management ... the devices continually lose the connection because suddenly the DNS management does not work well. While I'm browsing with latest Chrome (on Windows 10), after a few minutes of proper functioning, the answer is DNS_PROBE_FINISHED_NO_INTERNET, DNS_PROBE_STARTED, ERR_CONNECTION_TIMED_OUT or ERR_NETWORK_CHANGED etc.
I tried numerous configurations with DNSMasq for DNS and DHCP, with Google DNS and Cloudflare DNS.
Now I have reduced the problem a bit by completely disabling the DNSMasq but the DNS management does not work at least 3 or 4 times a day.
If you try to check with the Windows 10 diagnostic tool, the answer is: "DNS server is not responding".
Can someone help me to understand how to correctly manage DNS in DD-WRT?
As egc wrote just tell us more about your configuration.
Did you install a router cascade or is the Huawei set up as modem; is the Netgear set up as router or as AP? It seems it's set up as router cascade, isn't it? How the Netgear is linked to the Huawei LAN to LAN or LAN to WAN? What are your DNS settings? What are your "devices" linked to?
What do you want to know about my configuration? I have router cascade: Netgear WNDR4500 to Huawei HG532s via LAN and all devices to WNDR4500 via WLAN (2.4/5Ghz). The problem is not Chrome. All browsers do not go and this happens suddenly. The Windows 10 WIFI has the yellow triangle with the exclamation mark. If I try to diagnose Windows 10, the answer is "The DNS server is not responding". All devices on the network always lose connection: thermostat, Amazon Alexa, TV, Mac/PC etc... What is the correct configuration?
Joined: 16 Nov 2015 Posts: 6410 Location: UK, London, just across the river..
Posted: Sat Jan 12, 2019 17:25 Post subject:
try to expose and give us more details in its current
explanation and the post above its still not clear what
your config is...
The best way is post a pic of services, and basic setup..
Do you use your modem in bridge mode and DD-WRT router is in Gateway mode so there is no double NAT...??
Also try to update your build or read about your current build, if there are any reports of bad DNS..
In general on the recent builds DNSmasq is the default
DNS manager, im not sure you can use anything else with DDWRT as there is no other DNS manager...
the other few options in my mind are... if you have a malware
or anything that kills DNS, like firewall settings and so...
otherwise its strange how you can have some time ok and than time cut off...
what you syslog is telling us??
so to get help you have to expose much more details
otherwise all is guessing...and random shots...
i would suggest you post those pic here and than we'll talk
p.s. by the way on my modem 192.168.2.1 is reserved address too
it has 192.168.1.1 for any connections left LAN socket
and x.x.2.1 is for accessing GUI right LAN socket
_________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Joined: 16 Nov 2015 Posts: 6410 Location: UK, London, just across the river..
Posted: Sun Jan 13, 2019 4:16 Post subject:
well first you have to resize your pic's or they will be removed...
second i can suggest some settings to be changed in order to improve the overall performance...
so on Advanced Wireless Settings
Frame Burst - you use this setting only if you have 1 or 2 wi-fi clients with more than that there is a reduced performance
Preamble - use short
short slot override - use short GI
on Services
Use NVRAM for client lease DB - tick that off its bad idea as this worn's out nvram badly
Used Domain - select Lan & Wlan
SNMP turn it off unless you dont use it for a reason
now you have to turn on DNSmasq and follow my instructions...
Local DNS - enable
No DNS Rebind - enable
Query DNS in Strict Order - enable
in Additional DNSMasq Options add those lines
no-resolv
server=1.1.1.1
server=1.0.0.1
WAN Traffic Counter - disable it causes more harm than benefit
Telnet - disable as you have ssh you dont need it
save & apply
on Basic Set up page
WAN Connection Type if your modem uses PPPoE than you have to set it up manually as auto plays tricks but
if you just have a dynamic DHCP than its ok
Shortcut Forwarding Engine - turn it off unless you dont need it for a reason... also SFE does not work in conjunction with QoS as it cause troubles..
Router IP
remove those settings and revert them to default
Gateway - set to 0.0.0.0
Local DNS - set to 0.0.0.0
now change Start IP Address to something like
192.168.10.2
and thick on all those boxes
Use DNSMasq for DHCP
Use DNSMasq for DNS
DHCP-Authoritative
Forced DNS Redirection - if you want to use only your router specified DNS so no client be able to use their own DNS if they have a preset DNS...but the things will be ok with or without it
last thing NTP time does not work well with names it
uses IP's much better so add Google Time NTP like
216.239.35.4 this is one of the ggl NTP time servers
as NTP time is vital for some router services
one thing i couldn't see but its not important is
your wi fi channel settings
i suggest for 2.4Ghz you choose a channel like 1,6 or 11
and set Wireless Network Mode to NG mixed
save & apply and restart
this are basically kind of basic settings for router connected to a dsl modem _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
I have the same problem. I have setup a Guest WIFI, my normal WIFI works fine but the Guest WIFI randomly stops working on multiple devices and the message is often someting like DNS_PROBE_STARTED, etc.
Updated to latest firmware and tried many settings including the ones in this thread.