SmartDNS Guide Discussion Thread

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3 ... 20, 21, 22
Author Message
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jan 20, 2026 22:24    Post subject: Reply with quote
More explicit concise helpful commentary, Aloz. Thanks for the pointer to check cache size. The build in use by the person is post-stack-overflow patch, so we can only hope that's not the problem Cool
_________________
"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
Sponsor
MLandi
DD-WRT Guru


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

PostPosted: Tue Jan 20, 2026 22:27    Post subject: Reply with quote
kernel-panic69 wrote:
More explicit concise helpful commentary, Aloz. Thanks for the pointer to check cache size. The build in use by the person is post-stack-overflow patch, so we can only hope that's not the problem Cool


What are people using for cache sizes for SmartDNS and DNSMasq. I am not setting a cache size for SmartDNS and I have 1500 for DNSMasq. Now I am wondering if I can make performance improvements by adjusting those.

_________________
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: 7090
Location: UK, London, just across the river..

PostPosted: Tue Jan 20, 2026 22:50    Post subject: Reply with quote
on this particular system I dont have any DNS cache all 0, 0.. in fact once im back (soon) i will update XR500 indeed...your browser can have DNS cache, or your OS.. but mine is 0 too Razz
and on my other systems, im mostly using DNScrypt-proxy v2 where i have set my cache to minimum...

_________________
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 63600 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


Last edited by Alozaros on Wed Jan 21, 2026 8:49; edited 1 time in total
MLandi
DD-WRT Guru


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

PostPosted: Tue Jan 20, 2026 22:52    Post subject: Reply with quote
Alozaros wrote:
on this particular system I dont have any DNS cache all 0, 0.. in fact once im back (soon) i will update XR500 indeed...your browser can have DNS cache, or your OS.. but mine is 0 too Razz
and im mostly using DNScrypt-proxy v2 where i have set my cache to minimum...


Interesting....I'll experiment

_________________
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: 16758
Location: Texas, USA

PostPosted: Tue Jan 20, 2026 23:05    Post subject: Reply with quote
Cache size is automatically set in SmartDNS:

https://pymumu.github.io/smartdns/en/config/cache/

https://github.com/pymumu/smartdns/commit/1339810604545c2fcd44d4ef893908bcaf554440

https://github.com/mirror/dd-wrt/commit/ef8d33e870be83c5beb69a0782d1548206cd1417#diff-3f00329ed3569faf574010a559662eb67727534b081d3fa05eff2d6d448d9288

_________________
"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: 1263
Location: Murrysville, PA

PostPosted: Wed Jan 21, 2026 13:49    Post subject: Reply with quote
kernel-panic69 wrote:
Cache size is automatically set in SmartDNS:

https://pymumu.github.io/smartdns/en/config/cache/

https://github.com/pymumu/smartdns/commit/1339810604545c2fcd44d4ef893908bcaf554440

https://github.com/mirror/dd-wrt/commit/ef8d33e870be83c5beb69a0782d1548206cd1417#diff-3f00329ed3569faf574010a559662eb67727534b081d3fa05eff2d6d448d9288


Thanks. I'll set DNSMasq cache to zero and let SmartNSs set its own size.

_________________
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: 1263
Location: Murrysville, PA

PostPosted: Wed Jan 21, 2026 16:47    Post subject: Reply with quote
kernel-panic69 wrote:
Cache size is automatically set in SmartDNS:

https://pymumu.github.io/smartdns/en/config/cache/

https://github.com/pymumu/smartdns/commit/1339810604545c2fcd44d4ef893908bcaf554440

https://github.com/mirror/dd-wrt/commit/ef8d33e870be83c5beb69a0782d1548206cd1417#diff-3f00329ed3569faf574010a559662eb67727534b081d3fa05eff2d6d448d9288


Is there a way to get SmartDNS in DD-WRT to report or write to the log its status? I have these in the smartdns.conf file but nothing is written:
    log-size 32K
    log-num 1
    log-level warn
    log-file /tmp/smartdns.log
    log-level notice

No log file is created, but I do see some startup messages in the syslog. Note that the only setting I added from the GUI is the "log-level notice". The others show up by default

_________________
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: 16758
Location: Texas, USA

PostPosted: Wed Jan 21, 2026 17:13    Post subject: Reply with quote
It looks as if a logging level default of warn was set (along with log file location) at some point, but I believe this is what I have copied from the guide previously, now commented out:
Code:
#log-level info # fatal,error,warn,notice,info,debug

It used to all go to syslog, if memory serves me correctly.

_________________
"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: 1263
Location: Murrysville, PA

PostPosted: Wed Jan 21, 2026 18:11    Post subject: Reply with quote
kernel-panic69 wrote:
It looks as if a logging level default of warn was set (along with log file location) at some point, but I believe this is what I have copied from the guide previously, now commented out:
Code:
#log-level info # fatal,error,warn,notice,info,debug

It used to all go to syslog, if memory serves me correctly.


Thank you. I set it to 'debug' and now have lots of logging in the syslog.

_________________
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
Rudicron
DD-WRT Novice


Joined: 19 Jan 2026
Posts: 2

PostPosted: Thu Jan 22, 2026 15:03    Post subject: Reply with quote
Following up, turns out my issue was a bit less complex; I didn't actually have IPv6 enabled, so commenting out the IPv6 server entries seems to have resolved the ... stopping resolving.
Goto page Previous  1, 2, 3 ... 20, 21, 22 Display posts from previous:    Page 22 of 22
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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