Internet goes down for 2 minutes or so randomly...

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


Joined: 26 Jul 2014
Posts: 45

PostPosted: Sun Jul 28, 2024 3:53    Post subject: Internet goes down for 2 minutes or so randomly... Reply with quote
Strange issue, but my internet keeps dropping randomly on all of my LAN devices which are connected to my trendnet tew-818dru router running ddwrt v3.0-r51043 for a few minutes at a time randomly...

When the disconnect happens, I see the following in the syslog:

Code:

Jul 27 21:30:30 router daemon.warn dnsmasq[1836]: Maximum number of concurrent DNS queries reached (max: 150)
Jul 27 21:30:49 router daemon.warn dnsmasq[1836]: Maximum number of concurrent DNS queries reached (max: 150)
Jul 27 21:31:17 router daemon.warn dnsmasq[1836]: Maximum number of concurrent DNS queries reached (max: 150)


What does this mean? How is this possible? Can this be increased?

Also, I find these entries strange (but these didn't happen at the time of the internet going down):

Code:

Jul 27 21:00:40 router daemon.warn dnsmasq[1836]: possible DNS-rebind attack detected: browser.pipe.aria.microsoft.com
Jul 27 21:00:40 router daemon.warn dnsmasq[1836]: possible DNS-rebind attack detected: browser.pipe.aria.microsoft.com
Jul 27 21:06:45 router daemon.warn dnsmasq[1836]: reducing DNS packet size for nameserver 205.171.2.25 to 1232


I have DDWRT setup to use adblocking DNS servers in the DHCP Static DNS sections, so why would it still be talking to the CenturyLink DNS server?
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Jul 28, 2024 3:58    Post subject: Reply with quote
It would help to see all applicable settings in the form of screenshots. Also, if it's not a problem with current release and there's something broken in the release you are on, you should consider upgrading.

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2024/07-27-2024-r57595/trendnet-818DRU/

_________________
"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...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

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


Joined: 18 Sep 2010
Posts: 9355

PostPosted: Sun Jul 28, 2024 6:44    Post subject: Reply with quote
You can increase your DNSMasq cache size w/ the following directive in the "Additional DNSMasq Options" field on the Services page.

Code:
cache-size=1000


The rebind attack message just means your router is doing as directed by your current DNSMasq setting, namely, to prevent the return of IPs in the private IP space from public DNS servers, which is sometimes used as a means to gain access to your internal network. On occasion, this may be valid, such as in the case of a site-to-site VPN, where each site has a private IP network, and is attempting to access the other's DNS server for remote name resolution. In such cases, you can make an exception using the following DNSMasq directive.

Code:
rebind-domain-ok=<remote-domain-name>

_________________
ddwrt-bind-static-routes-to-wan.sh (UPDATED! 11/12/24) * ddwrt-blacklist-domains.sh * ddwrt-dns-monitor.sh * ddwrt-ovpn-client-backup.sh * ddwrt-ovpn-client-killswitch.sh * ddwrt-ovpn-client-watchdog.sh * ddwrt-ovpn-server-watchdog.sh * ddwrt-ovpn-split-advanced.sh * ddwrt-ovpn-split-basic.sh * ddwrt-mount-usb-drives.sh * ddwrt-wol-port-forward.sh
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3793
Location: Germany

PostPosted: Sun Jul 28, 2024 6:54    Post subject: Reply with quote
The value can be increased.
But I haven't had that problem yet, 150 simultaneous requests is quite a lot



7869158750.png
 Description:
 Filesize:  48.81 KB
 Viewed:  19686 Time(s)

7869158750.png



_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 25.12.0 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 7112
Location: UK, London, just across the river..

PostPosted: Sun Jul 28, 2024 6:58    Post subject: Reply with quote
as it was advised upgrade to the last build so far 57595..as you are running an outdated build
with missing vital binaries updates...like dnsmasq and ect.

the fact you have reached the max concurrent requests means you have a device in your network that makes quite of a few extra DNS requests...you'd need to investigate that...

to increase the max concurrent requests add this to DNSmasq advanced config box

dns-forward-max=200


or even more...but its not very advised...better investigate at first...

I do have 200 but, in my case i do have quite busy network with lots of clients...and it never exceeded those... Cool

_________________
Atheros
TP-Link WR1043NDv2 -DD-WRT 62606 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 63600 GTW/SmDNS/DoT,AD-Blk,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 62606 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla,VPN cli
Netgear R9000 --DD-WRT 62606 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 62606
Broadcom
Netgear R7000 --DD-WRT 63790 GTW/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN cli
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3793
Location: Germany

PostPosted: Sun Jul 28, 2024 7:11    Post subject: Reply with quote
No idea why you all want to add any “additional options”.
This is a GUI option that was added somewhere in build r50944

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 25.12.0 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 9355

PostPosted: Sun Jul 28, 2024 7:31    Post subject: Reply with quote
ho1Aetoo wrote:
No idea why you all want to add any “additional options”.
This is a GUI option that was added somewhere in build r50944


Sorry. Old habits die hard. It's not like we're always up to date on GUI changes. Esp. us old timers. We just get used to one way of doing things, then it changes and we might not even notice. But it does no harm either. Either way works.

_________________
ddwrt-bind-static-routes-to-wan.sh (UPDATED! 11/12/24) * ddwrt-blacklist-domains.sh * ddwrt-dns-monitor.sh * ddwrt-ovpn-client-backup.sh * ddwrt-ovpn-client-killswitch.sh * ddwrt-ovpn-client-watchdog.sh * ddwrt-ovpn-server-watchdog.sh * ddwrt-ovpn-split-advanced.sh * ddwrt-ovpn-split-basic.sh * ddwrt-mount-usb-drives.sh * ddwrt-wol-port-forward.sh
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 7112
Location: UK, London, just across the river..

PostPosted: Sun Jul 28, 2024 8:34    Post subject: Reply with quote
sry to spam the thread, but dns-forward-max is not visible on all routers...even after the update..
as well it wont harm....
Smile

_________________
Atheros
TP-Link WR1043NDv2 -DD-WRT 62606 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 63600 GTW/SmDNS/DoT,AD-Blk,Forced DNS,AP&Net Isolation,x2VLAN,Vanilla
Netgear R7800 --DD-WRT 62606 Gateway/DNSCryptv2,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla,VPN cli
Netgear R9000 --DD-WRT 62606 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 62606
Broadcom
Netgear R7000 --DD-WRT 63790 GTW/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN cli
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3793
Location: Germany

PostPosted: Sun Jul 28, 2024 9:00    Post subject: Reply with quote
Oh that's right, someone already told me that in the PI-Hole thread.
apparently i have a bad memory and maybe that should be fixed

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 25.12.0 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Jul 28, 2024 18:46    Post subject: Reply with quote
Duplicate entries can lead to things going screwy, especially if the number in the webUI is different than the one in Additional Options -> Even though I *thought* we had covered that issue already to output "ignoring x parameter because it's a duplicate" or whatever the syslog message is.
_________________
"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...
RSS feed for DD-WRT releases (2025)
RSS feed for DD-WRT releases (2024)
RSS feed for DD-WRT releases (2023)

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


Joined: 26 Jul 2014
Posts: 45

PostPosted: Sun Jul 28, 2024 19:06    Post subject: Reply with quote
Alozaros wrote:

or even more...but its not very advised...better investigate at first...

I do have 200 but, in my case i do have quite busy network with lots of clients...and it never exceeded those... Cool


Do you know of a way for me to investigate it? How do I determine which client is responsible for these excessive requests?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT 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