so i can explain it again but i doubt that you understand it
the default setting is "Use dnsmasq for DNS".
This setting does 3 things.
1. in the resolv.conf the ip-address of the router is written (for local DNS)
2. dnsmasq is started as a dns forwarder at 127.0.0.1:53
3. all clients receive the address of the router as DNS server via DHCP.
However, this is not desirable for this setup, so "Use dnsmasq for DNS" is deactivated.
This has the following effect.
1. the ip address of the DNS server configured in "basic Setup" is written to resolv.conf (for local dns)
2. dnsmasq is not started as a forwarder on 127.0.0.1:53
3. all clients receive the addresses of the DNS servers entered as "local dns" or "static dns" via DHCP.
Once again, the setting (dhcp-option=6,192.168.1.1) in "Additional Options" is redundant and superfluous.
Do not remove the entry under "local DNS" as this will result in no DNS server being configured in "resolv.conf" and the router having no local DNS.
But what am I talking about anyway, nobody understands anyway.
i understood this night I try your information, you must excuse me but I don't speak English very well...
Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Posted: Fri Feb 16, 2024 19:24 Post subject:
And he's German. Thanks for the further explanation, @ho1Aetoo. So, the CORRECT settings are to set router IP in local / static DNS entry(ies), and un-tick "use dnsmasq for DNS" for this to be implemented correctly. Any other additional thoughts specific to AGH configs both in the DD-WRT UI and AGH UI?
I am very happy that the professionals are giving me a helping hand in making AGH work on DD-WRT, and upon my return from a business trip, I will be happy to cooperate as much as I can to reach the optimal configuration that works for everyone.
Thank you, egc, for your truly understanding words. The topic is being raised for the first time and is not completely tested. There are different setups used by different users that need to be tested so that a final conclusion can be reached.
I never meant to insult my colleague, and perhaps he misunderstood my words when I said that I do not worship dnsmasq. Perhaps because we are from different cultures, this expression in my country means that I am bored of something or i am forced to adopt a certain opinion.
Finally, I apologize for my outburst and apologize to ho1Aetoo. I very much appreciate his posts, especially those related to pi-hole _________________ Routers:
TP-Link Archer C7 v2-(EU)
TP-Link WR840n v3
TP-Link WR740n v5
2- dnsmasq still there working as a DHCP server. we will configure dnsmasq to advertise AGH as your only DNS server for your entire network. This can be done by adding these options to dnsmasq:
Go to "Service page > Dnsmasq Infrastructure > Additional Options" and add the following inside the box
Code:
no-resolv
dhcp-option=6,Router-IP #(ex. dhcp-option=6,192.168.1.1)
I changed your value to:
no-resolv
dhcp-option=br0,6,192.168.1.1
and now I have no warning in the syslog. I found this value from the configuration of Pi-Hole (look the screenshot)
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Mon Feb 26, 2024 16:19 Post subject:
marcus83 wrote:
egc wrote:
DNSMasq already advertises the router as default DNS server, so superfluous if this is the routers IP address.
but I have DNSMasq disabled, as written in the guide
But you are altering DNSMasq settings, what is the use of altering settings for a package you have disabled?
You can disable DNS then DNSMasq will handout the address as set in Local DNS, and the router itself will also use that address, so if you disable DNS the proper DNS servers address should be set as Local DNS.
But I would not disable DNSmasq or disable DNS at all, the smartest approach is to set the DNS server of choice as upstream resolver (which can be AGH, SmartDNS, Unbound or your private DNS server from AGH or NextDNS etc).
I have added NextDNS (comparable to AGH) to the router in the past but just as AGH it is rather bulky and memory hungry, lots of fancy things but nothing which convinced me.
SmartDNS with some standard Adblock gets the job done for me, but of course that is just my personal preference and it is very good that we have lots of choices with entware.
But you are altering DNSMasq settings, what is the use of altering settings for a package you have disabled?
but the creator of the thread says that even if it is disabled it is always running:
Quote:
2- dnsmasq still there working as a DHCP server. we will configure dnsmasq to advertise AGH as your only DNS server for your entire network. This can be done by adding these options to dnsmasq:
Go to "Service page > Dnsmasq Infrastructure > Additional Options" and add the following inside the box
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Mon Feb 26, 2024 18:09 Post subject:
The creator of the thread is not very likely acquainted to the DNSmasq integration as well operation in DDWRT...so sad to say but you are the Ginny pig and you help with testing fiddling with it...well its very noble that you are doing it...
As far as who to listen i rather stick to the egc and ho1Aetoo guidance/advise
Once again SmartDNS has it all apart of Quic.. _________________ 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 55819 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
The creator of the thread is not very likely acquainted to the DNSmasq integration as well operation in DDWRT...so sad to say but you are the Ginny pig and you help with testing fiddling with it...well its very noble that you are doing it...
As far as who to listen i rather stick to the egc and ho1Aetoo guidance/advise
Once again SmartDNS has it all apart of Quic..
sorry, but if you have your own correct guide, why don't you create a thread like this?? 🤔
We have our own threads, but they are not about AGH - because none of us seem to use it.
we might as well leave you alone with your problems since you won't accept proposed solutions anyway
then you just have to wait until the thread creator comes back from traveling
ok I understand, tonight I'll reprogram AGH again with DNSmasq and see if everything works without any problems, I'll keep you updated.