r61745 & SmartDNS

Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros based Hardware
Author Message
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Mon Jun 16, 2025 15:13    Post subject: r61745 & SmartDNS Reply with quote
I've seen something odd with r61745 and SmartDNS. The best way to describe it is SmartDNS occasionally acts like it is not adding entries to its resolver list and not expiring old entries. What I start seeing is frequently used web sites resolve and work. Sites that I have not been to in a few days or more return a 404. Restarting the smartdns service solves the issue.

Anyone have thoughts on this? I have not changes my DNSMasq and SmartDNS settings in many months so the behavior is new with the same settings (I am well aware that things could have changes behind the scenes.)

When I look in the syslog, I see nothing DNS related when this problem shows. I have tried getting SmartDNS to log but it still frustrating my efforts.

_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
Sponsor
Alozaros
DD-WRT Guru


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

PostPosted: Mon Jun 16, 2025 19:27    Post subject: Reply with quote
Yep on my XR500 i noticed it was behaving odd..but only couse i was testing 'quic' it was behaving the same way as you said...
Once i rebooted and went back to 'tls' it was ok...and yes there ware few SmartDNS updates...recently..as well openssl..try different resolver..

_________________
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 63257 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 63257 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
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Mon Jun 16, 2025 20:12    Post subject: Reply with quote
Alozaros wrote:
Yep on my XR500 i noticed it was behaving odd..but only couse i was testing 'quic' it was behaving the same way as you said...
Once i rebooted and went back to 'tls' it was ok...and yes there ware few SmartDNS updates...recently..as well openssl..try different resolver..


Thanks. I can manage but thanks for confirming it is not just me.

_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
ssergey
DD-WRT User


Joined: 17 Jan 2014
Posts: 53

PostPosted: Mon Jun 16, 2025 23:19    Post subject: Reply with quote
I confirm, there is a problem. I can't say for sure yet, but the assembly works disgustingly well

Netgear WNDR3800 DD-WRT v3.0-r61745 std (06/12/25)
SmartDNS, DualStack IP

On the client quic.

UP: Disabling quic, didn't help.

For some reason IPv6 from Tunnel Broker Hurricane Electric stopped working. Addresses are present, but traffic is not flowing
ssergey
DD-WRT User


Joined: 17 Jan 2014
Posts: 53

PostPosted: Tue Jun 17, 2025 8:48    Post subject: Reply with quote
Firmware: DD-WRT v3.0-r61806 std (06/17/25) fixed
IPv6 traffic is running normally again
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Tue Jun 17, 2025 13:06    Post subject: Reply with quote
I just updated to r61806. So far, so good. Thanks for checking on this issue.
_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Tue Jun 24, 2025 13:49    Post subject: Reply with quote
What am I missing? I have this in the SmartDNS Resolver Additional Options:
Code:
log-file /jffs/smartdns.log
log-level notice # fatal,error,warn,notice,info,debug
log-size 32K
and nothing logs. I am not seeing something obvious?
_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jun 24, 2025 14:21    Post subject: Reply with quote
61806 was pulled. Not entirely sure about what is possibly going on. I was also expecting 61850, not 61848 today.
_________________
"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
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 13880
Location: Netherlands

PostPosted: Tue Jun 24, 2025 15:05    Post subject: Reply with quote
MLandi wrote:
What am I missing? I have this in the SmartDNS Resolver Additional Options:
Code:
log-file /jffs/smartdns.log
log-level notice # fatal,error,warn,notice,info,debug
log-size 32K
and nothing logs. I am not seeing something obvious?


Try logging to /tmp/smartdns.log

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Tue Jun 24, 2025 15:13    Post subject: Reply with quote
egc wrote:
Try logging to /tmp/smartdns.log


I'll try, but that means will lose the log if router crashes or reboots.


PS. No logging when I tried to log to /tmp/smartdns.log

_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
Alozaros
DD-WRT Guru


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

PostPosted: Tue Jun 24, 2025 15:46    Post subject: Reply with quote
if its working at all you may even try to change the log level...to info or debug...

log-level debug # fatal,error,warn,notice,info,debug

_________________
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 63257 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 63257 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
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Tue Jun 24, 2025 16:20    Post subject: Reply with quote
Alozaros wrote:
if its working at all you may even try to change the log level...to info or debug...

log-level debug # fatal,error,warn,notice,info,debug


No luck. No logging. I tried many settings, even removing any logging settings. htop shows smartdns running so I think it is working.

_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jun 24, 2025 17:16    Post subject: Reply with quote
Logging was originally error by default:

https://svn.dd-wrt.com/changeset/49397

Currently, it is warn:

https://svn.dd-wrt.com/changeset/53710

And, of course the original patch was fixed to include now-included certs:

https://svn.dd-wrt.com/changeset/61842

I know that the configuration can be overridden, but that patch was before any of these. Perhaps logging has been otherwise muted...

_________________
"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
MLandi
DD-WRT Guru


Joined: 04 Dec 2007
Posts: 1255
Location: Murrysville, PA

PostPosted: Tue Jun 24, 2025 17:23    Post subject: Reply with quote
kernel-panic69 wrote:
Logging was originally error by default:

https://svn.dd-wrt.com/changeset/49397

Currently, it is warn:

https://svn.dd-wrt.com/changeset/53710

And, of course the original patch was fixed to include now-included certs:

https://svn.dd-wrt.com/changeset/61842

I know that the configuration can be overridden, but that patch was before any of these. Perhaps you are confusing the smartdns binary on where to log things?


Right now, I have no settings for logging in my Additional Options. My /tmp/smartdns.conf starts like this:
Code:
bind [::]:6053
prefetch-domain yes
serve-expired yes
log-size 32K
log-num 1
log-level warn
log-file /tmp/smartdns.log
ca-file /etc/ssl/certs/ca-certificates.crt
ca-path /etc/ssl/certs/


and top shows:
Code:
 3623 root      20   0   21.0m  11.2m   0.0   1.1   0:15.08 S  `- smartdns -c /tmp/smartdns.conf

_________________
Linksys MX8500
DD-WRT v3.0-r62966 std (12/06/25)
Linux 6.6.118-rt29 #4715 SMP Sat Dec 6 10:22:51 +07 2025 aarch64

Gateway, AP, DNSMasq, SmartDNS, NSS-ECM-SFE, QCA NSS, no STP
VAP on wlan1 for internet devices
IPv4 & IPv6 (Prefix Delegation)
Static Leases & DHCP
Cloudflare DoH & DoT, No QoS, No Forced DoT, 802.11k
2.4GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
5GHz: AP, AX Only, ACK Timing 300, WPA2 & WPA3 w/AES & GCMP
Netgear AX1800 WiFi Mesh Extender
Xfinity 1.2Gbps/40Mbps
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jun 24, 2025 17:30    Post subject: Reply with quote
And log-level warn does not include dns queries, if that is what you are after. Sometimes paranoia is a long journey of vanity.
_________________
"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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Qualcomm Atheros 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