Joined: 16 Nov 2015 Posts: 6435 Location: UK, London, just across the river..
Posted: Tue Jan 25, 2022 19:55 Post subject:
you have to disable the GUI SmartDNS option
and than call it form start up script...
add this to start up script:
smartdns -c /jffs/etc/smartdns.conf
its worth reading thought all the thread...
you can also run SmartDNS via /opt (entware installation) but you have to disable GUI option again...as it will always point to the wrong location...as in your case _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 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 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55779 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 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
There are likely other associated commits, but the custom config option was added and works on boot.
TBH i abandoned SamrtDNS as it started to brake up and DNS was not consistent...flooded with nxdomain replays, later i was aimed to try the entware option via /opt, but moved back to good old Stubby...witch is rock solid and light...i do like Unbound and DNScrypt too...but not many decent servers for DNScrypt v2 sadly...
May give a SmartDNS another go soon...will see..
by the look at your pictures, did you add this line to dnsmasq...as it seams you are missing it..you must disable dns-cache:
cache-size=0 _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 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 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55779 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 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
Why can't we have a "Custom SmartDNS Config" field/textarea in the UI so people can configure and save SmartDNS settings to the NVRAM instead of a file?
Joined: 16 Nov 2015 Posts: 6435 Location: UK, London, just across the river..
Posted: Fri Feb 25, 2022 8:30 Post subject:
as KP-69 pointed on the new builds BS added a custom config check function, so on boot firmware will check if there is a custom config in jffs regarding SmartDNS settings and read/execute it...
Custom config in GUI option will require more space and increase firmware size i guess...if its working as it should now, no problem...
so adding this to start up script is obsolete / not required anymore...(probably wont hurt if you keep it, unless it causes a trouble anyway)
smartdns -c /jffs/etc/smartdns.conf _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 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 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55779 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 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
on boot firmware will check if there is a custom config in jffs regarding SmartDNS settings and read/execute it...
I'm going that in my guide.
The thing is that we've "custom config" text areas for multiple services such as dnsmasq, dhcpd6/radv, dhcpd (v4), adblocking etc. why can't we have it for SmartDNS?
What's the point in discriminating specifically against SmartDNS if all the other services can/are configured with NVRAM?
How are you guys getting smartdns to work with the custom config without restarting smartdns (manual/script)? I’m on the latest firmware.
On my RT-AC88U, smartdns always uses the default at /tmp/smartdns.conf as it takes longer than 20s to bring up /jffs.
Seems strange that jffs takes that long to mount! I have a couple of AC68Us and no problem to get them to run the custom configuration from jffs. Maybe there are errors in your config file? _________________ Netgear R7000 on Build 55109
Asus AC-AC68U rev. C1 (AP) on Build 55109
Asus AC-68U rev. A1 on Build 54604
Asus AC-68U rev. A1 on Build 53339
How are you guys getting smartdns to work with the custom config without restarting smartdns (manual/script)? I’m on the latest firmware.
On my RT-AC88U, smartdns always uses the default at /tmp/smartdns.conf as it takes longer than 20s to bring up /jffs.
No longer needed. Now you can store the entire SmartDNS config in NVRAM. Install r48786 or later.
Check the posts here (that eventually got to a SmartDNS update): https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=332021 _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Seems strange that jffs takes that long to mount! I have a couple of AC68Us and no problem to get them to run the custom configuration from jffs. Maybe there are errors in your config file?
Instead of relying on startup, I’m now using the firewall command script to restart smartdns and avahi. This seems to work consistently now eg.
Joined: 29 Sep 2020 Posts: 260 Location: United States
Posted: Thu May 19, 2022 13:44 Post subject:
using it from gui has worked a majority of the time. i believe the issue some people were having was with usb taking time to load. adding the below to startup solved that issue
Now works fully with GUI. This is excellent
I tested cloudfare DNS and teted via https://1.1.1.1/help. It shows use of DOT. however, for adguard family dot DNS, the same test doesn't show DOT enabled but adguard site test shows DOT enabled.
Four questions:
Possibly the adguards DOT dns is not fully DOT as cloudfare doesnt acknoweldge it?
Can we use DOT and Dns OVER https in the same additional smartdns options fileds?
There are two setting in the basic setup GUI page of ddwrt , unbound DNS and forced DOT. Are they also related to smart DNS config?
Also to achieve optimal settings, does DNSmasq needs to be disabled in GUI if running Smart DNS and is there a way to enable DNSECC in additional smart dns option?