Joined: 08 May 2018 Posts: 15512 Location: Texas, USA
Posted: Wed Mar 30, 2022 19:08 Post subject:
If you are using SmartDNS, you shouldn't have use DNSMasq for DNS enabled, methinks. But to answer the no-resolv is usually in additional dnsmasq options on the services page and the resolv-file is set by dnsmasq itself. But I relent to my initial statement regarding SmartDNS and DNSMasq, unless you are pointing DNSMasq to SmartDNS by default (which I think this may be automatic?). I know this has been discussed in the forum, I don't have the thread link handy.... _________________ "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... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
In my case the additional dnsmasq options on the services page is blank. Regarding the dnsmasq and SmartDNS, I have read this: https://wiki.dd-wrt.com/wiki/index.php/SmartDNS. Here they say: "What is the difference between SmartDNS and DNSMASQ? Smartdns is not designed to replace DNSMASQ. The main function of Smartdns is focused on DNS resolution enhancements."
Last edited by Ivo_K on Wed Mar 30, 2022 21:43; edited 2 times in total
I thought that might be throwing the warning
but I just checked and the only way I get the warning
is when "no-resolv" is set in Additional Dnsmasq Options.
Posted: Thu Mar 31, 2022 2:24 Post subject: Re: Warning: ignoring resolv-file flag, no-resolv is set
Ivo_K wrote:
My questions:
1. where is the resolv-file flag setting?
2. where is the no-resolv set?
I get the same error but haven't bothered looking at it (I don't use Smart DNS) until now. A few reboots into this, I am confused.
I thought no-resolv was set by the "Ignore WAN DNS" but it is present in the dnsmasq.conf file even with it unchecked. I recall removing no-resolv from my additional configuration when "Ignore WAN DNS" became an option.
The "Ignore WAN DNS" excludes the WAN DNS from being written to resolv.dnsmasq and resolv.dnsmasq_isp. And with it unchecked the ISP DNS goes into both files (to me the files appear identical, but they were different in the past when you had to set no-resolv in the additional configuration) _________________ Linksys: Several WRTxx00AC variations | Netgear: 4x WNDR4500v2, 7x WNDR4300, R6400v1 | Asus: 2x RT-AC66U | Gl.inet: 3x GL-AR150
Joined: 04 Mar 2021 Posts: 65 Location: Manchester
Posted: Mon Sep 12, 2022 18:50 Post subject:
I thought that might be throwing the warning
but I just checked and the only way I get the warning
is when "no-resolv" is set in Additional Dnsmasq Options.
Not using SmartDNS either.
So I don't know Question ¯\_(ツ)_
I am confused Where is the "no-resolv" option in additional dnsmasq options? I cannot find this anywhere.
Was a solution found for this topic? _________________ Netgear R7000
DD-WRT DD-WRT v3.0-r50595 std (10/23/22)
Manchester
Enable dnsmasq- Yes
Encrypt DNS- NO
DNSCrypt Resolver- No Using Smart DNS
Cache DNSSEC Data- Yes
Validate DNS Replies (DNSSEC)- NO
Check Unsigned DNS Replies- NO
No DNS Rebind- Enable
Query DNS in Strict Order- Enable
Add Requestor MAC to DNS Query- Disable
RFC4039 Rapid Commit Support- Enable
Maximum Cached Entries- 1500
This warning is expected behavior, whether you manually add "no-resolv" and "server=" lines to Additional DNSMasq options textbox or whether SmartDNS is enabled - which should automatically add the no-resolv and server= lines to point to the SmartDNS daemon at the router's IP address and prescribed port number. In other words, the "no-resolv" option is text that is manually added or added by SmartDNS after it's been enabled and config saved; there is no checkbox or radio button or anything else involved. The resolv-file flag / line is part of the standard /tmp/dnsmasq.conf in the firmware. This warning has nothing to do with "Ignore WAN DNS" setting. I guess someone forgot to come full circle to answer this completely(?). _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
This warning is expected behavior, whether you manually add "no-resolv" and "server=" lines to Additional DNSMasq options textbox or whether SmartDNS is enabled - which should automatically add the no-resolv and server= lines to point to the SmartDNS daemon at the router's IP address and prescribed port number. In other words, the "no-resolv" option is text that is manually added or added by SmartDNS after it's been enabled and config saved; there is no checkbox or radio button or anything else involved. The resolv-file flag / line is part of the standard /tmp/dnsmasq.conf in the firmware. This warning has nothing to do with "Ignore WAN DNS" setting. I guess someone forgot to come full circle to answer this completely(?).
Except I don't have any of those and still get the warning in the logs...
I have not manually added "no-resolv"
SmartDNS is not enabled
However, when I view the dnsmasq.conf in \tmp the line is there...so wondering how it is there? I wonder if I delete it in the config file, will it come back? Might try and will report back if I do.
Joined: 16 Nov 2015 Posts: 6777 Location: UK, London, just across the river..
Posted: Mon Mar 20, 2023 10:01 Post subject:
48567 is quite an old build isnt it...?? Lots of stuff patched, fixed, updated and so on...
try a newer builds ...last is still WIP on certain stuff..but not that bad for marvell _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 58184 WAP
TP-Link WR1043NDv2 -DD-WRT 59369 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 59369 Gateway/DoT,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 59468 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 59369 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Dynalink DL-WRX36-DDWRT 59369
Broadcom
Netgear R7000 --DD-WRT 59468 Gateway/DNScrypt-proxy2/AD-Block,IPset Firewall,Forced DNS,x4VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
48567 is quite an old build isnt it...?? Lots of stuff patched, fixed, updated and so on...
try a newer builds ...last is still WIP on certain stuff..but not that bad for marvell
Just updated today to r58389 std (09/20/2024) from r49626 std (08/03/2022) on my WRT3200ACM and
Code:
dnsmasq[2791]: warning: ignoring resolv-file flag because no-resolv is set
still remains in System Log...
I have:
1. Ignore WAN DNS enabled on setup page (Yes @dale_gribble39, nothing to do with it...)
2. Services/Services/SmartDNS Resolver/Enable Resolver enabled
3. Services/Services/Additional Options/no-resolv added
4. On dnsmasq.conf no-resolv is listed twice
_________________ DD-WRT v3.0-r58389 std (09/20/24) on WRT3200ACM & DD-WRT v3.0-r56820 std (06/12/24) on WRT1900ACSv2 AND flying...
Joined: 08 May 2018 Posts: 15512 Location: Texas, USA
Posted: Fri Sep 27, 2024 4:54 Post subject:
Isn't "no-resolv" additional option no longer required, or is automagically set when you enable Unbound or SmartDNS? Do you have a file specified for resolv-file in your configuration? _________________ "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... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net