What's new

[384.12_Alpha - builds] Testing all variants.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
@L&LD, under Tools, Other Settings:

upload_2019-5-25_19-59-35.png
 
When checked as "Yes":

Code:
@RT-AX88U-29F0:/tmp/home/root# nslookup x3mtek.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      x3mtek.com
Address 1: 104.27.173.243
Address 2: 104.27.172.243

vs. "No":

Code:
@RT-AX88U-29F0:/tmp/home/root# nslookup x3mtek.com
Server:    1.1.1.1
Address 1: 1.1.1.1 one.one.one.one

Name:      x3mtek.com
Address 1: 104.27.172.243
Address 2: 104.27.173.243
 
When checked as "Yes":

Code:
@RT-AX88U-29F0:/tmp/home/root# nslookup x3mtek.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      x3mtek.com
Address 1: 104.27.173.243
Address 2: 104.27.172.243

vs. "No":

Code:
@RT-AX88U-29F0:/tmp/home/root# nslookup x3mtek.com
Server:    1.1.1.1
Address 1: 1.1.1.1 one.one.one.one

Name:      x3mtek.com
Address 1: 104.27.172.243
Address 2: 104.27.173.243

Would one or the other be preferred?

I am liking when it is set to 'Yes'. Very responsive!
 
Would one or the other be preferred?

I am liking when it is set to 'Yes'. Very responsive!
Does your /etc/resolve.conf change?
Code:
/tmp/home/root# cat /etc/resolv.conf 
nameserver 127.0.0.1
 
Does your /etc/resolve.conf change?
Code:
/tmp/home/root# cat /etc/resolv.conf
nameserver 127.0.0.1

Yes, it does. The internet feels supercharged now, even with 1Gbps up/down ISP speeds here. :)
 
Keep in mind I believe the reason for the change was that it was reported by some users that changing the setting fixed false negatives from the Network Monitoring features (i.e. WAN showing as Disconnected). Something to keep an eye on. A cached response would make some sense as a culprit.
 
Would one or the other be preferred?

I am liking when it is set to 'Yes'. Very responsive!
I imagine it will be just as responsive set to No if you manually set a fast reliable DNS server in WAN DNS 1 and 2. Your ISP DNS servers appear slow, or one of them is down and timing out.

There shouldn’t be any performance change for devices behind your router for either setting.
 
I imagine it will be just as responsive set to No if you manually set a fast reliable DNS server in WAN DNS 1 and 2. Your ISP DNS servers appear slow, or one of them is down and timing out.

There shouldn’t be any performance change for devices behind your router for either setting.
That is what I see, no real difference either way using Cloudflare DNS.
 
I can confirm that setting Connect to DNS Server automatically to No solves the nslookup issue. I always had it set this way with the Stubby installer but left it to the default value of Yes when DoT was implemented in 384.11. Now, when I do an nslookup, 1.1.1.1 is being used and not the DNS of the ISP:

Code:
 nslookup x3mtek.com
Server:    1.1.1.1
Address 1: 1.1.1.1 one.one.one.one

Name:      x3mtek.com
Address 1: 104.27.173.243
Address 2: 104.27.172.243

When I go to Tools -> Other Settings and set the local caching to Yes...

upload_2019-5-26_8-25-16.png


nslookup now uses the router loop back address:

Code:
 nslookup x3mtek.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      x3mtek.com
Address 1: 104.27.172.243
Address 2: 104.27.173.243
There appears to be the best combination for security and performance.
 
I imagine it will be just as responsive set to No if you manually set a fast reliable DNS server in WAN DNS 1 and 2. Your ISP DNS servers appear slow, or one of them is down and timing out.

There shouldn’t be any performance change for devices behind your router for either setting.
If I use Quad9 I see some buffering without local caching, using CF things are fine but I lose the filtering. Hmm...
 
I imagine it will be just as responsive set to No if you manually set a fast reliable DNS server in WAN DNS 1 and 2. Your ISP DNS servers appear slow, or one of them is down and timing out.

There shouldn’t be any performance change for devices behind your router for either setting.
That is what I see, no real difference either way using Cloudflare DNS.

Right now, I am using the Cloudflare DNS settings with the 'No' setting and also using the Use local caching DNS Server setting too.

I will change the setting to Connect to DNS Server Automatically to Yes in a few hours (possibly tomorrow sometime) and leave the Use local caching DNS Server set to Yes too and then see if I see a difference. ;)
 
If I use Quad9 I see some buffering without local caching, using CF things are fine but I lose the filtering. Hmm...
Sounds coincidental but unrelated to the local caching setting. A client that is streaming video isn’t influenced by the setting. Only requests from the router, for the router (not a client) are impacted by the setting (such as nslookup in an ssh session, or in the router GUI Network tools).
 
I found the setting

Wan: Use local caching DNS server as system resolver (default: No)

has other consequences. I use the ipset feature inside of dnsmasq to automatically populate IPSET lists when domain names are looked up. This morning, I was helping a user and noticed an issue where the IPSET list was not getting populated when doing an nslookup on the domain name. This had always worked in the past. When I changed the setting above to Yes, the populating of the IP address in the IPSET list for the domain name now occurs when running the nslookup command. I need to find the nvram name for this setting and set it to Yes to during the installation of the x3mRouting project to avoid issues.
 
Last edited:
In 384.12 it is dns_local_cache. In .11 and earlier it was dns_local. So you may need to account for both.
Thank you @dave14305

I'll update the install script later today. I am glad you told me about the nvram name difference. I'll have to add a check for the firmware version and set the value accordingly. I was stumped this morning as to why the nslookup on a domain name was not populating the IPSET list and glad to find the reason why. Grateful for all of the help and support!
 
In 384.12 it is dns_local_cache. In .11 and earlier it was dns_local. So you may need to account for both.
I have both with 384.12_alpha1-g4a8cd4ead5:
Code:
user@RT-AC86U:/tmp/home/root# nvram get dns_local_cache
0
user@RT-AC86U:/tmp/home/root# nvram get dns_local
1
Which one is it now?
 
Status
Not open for further replies.

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top