What's new
  • 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!

AdGuardHome AGH not working on new firmware 3006

Is it still happening when you try to update now using the commandline command.
curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer
This commandline now worked ok. It gave me the menu I always see when updating AGH. The update went well. After that I rebooted the router via the reboot command when logged in in the router. After the router bootup I started amtm via the cli prompt. amtm showed me there were no AGH update to be installed. Entering AG started the AGH menu in the normal way, as always.

So problem solved for me. Thanks.
 
After updating to 1.8.8 there was DNS and AGH was working. However, now the Guest Network isn't working and devices cannot connect. I'm getting this in the logs now, which is the guest network:


Code:
Jul 14 15:21:17 rc_service: watchdog 2924:notify_rc start_dnsmasq 1
Jul 14 15:21:17 custom_script: Running /jffs/scripts/service-event (args: start dnsmasq)
Jul 14 15:21:17 custom_script: Running /jffs/scripts/dnsmasq-sdn.postconf (args: /etc/dnsmasq-1.conf 1)
Jul 14 15:21:17 dnsmasq[353253]: failed to create listening socket for 192.168.52.1: Address already in use
Jul 14 15:21:17 dnsmasq[353253]: FAILED to start up
Jul 14 15:21:17 custom_script: Running /jffs/scripts/service-event-end (args: start dnsmasq)
You are more than welcome to try the minor revisions submitted in 1.8.8. . It will probably be preferred to update using a fresh installer -- so do not do it with "ag" in AMTM even though you probably could.

curl -L -s -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer

In this update I have moved all guestnetwork's instances to port=0, and the main will be port 553. Since we are not relying on dnsmasqs guestnetworks to occupy a dns port, it shouldn't matter.

BTW, without anyone revealing any Private information, can someone share with me the content of /etc/dnsmasq-1.conf if they have one?
 
You are more than welcome to try the minor revisions submitted in 1.8.8. . It will probably be preferred to update using a fresh installer -- so do not do it with "ag" in AMTM even though you probably could.

curl -L -s -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer

In this update I have moved all guestnetwork's instances to port=0, and the main will be port 553. Since we are not relying on dnsmasqs guestnetworks to occupy a dns port, it shouldn't matter.

BTW, without anyone revealing any Private information, can someone share with me the content of /etc/dnsmasq-1.conf if they have one?
I updated via the command line and not amtm and that update went smoothly. However, after that update and after a reboot, there is no DNS on the main network but there is DNS on the Guest Network. Here is the contents of the file you requested:

Code:
admin@GT-AX6000:/tmp/home/root# cat /etc/dnsmasq-1.conf
pid-file=/var/run/dnsmasq-1.pid
user=nobody
bind-interfaces
listen-address=192.168.52.1
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-authoritative
dhcp-range=br52,192.168.52.1,192.168.52.254,255.255.255.0,86400s
dhcp-option=br52,3,192.168.52.1
dns-forward-max=1500
bogus-priv
domain-needed
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
dhcp-leasefile=/var/lib/misc/dnsmasq-1.leases
script-arp
quiet-dhcp
quiet-dhcp6
 
I updated via the command line and not amtm and that update went smoothly. However, after that update and after a reboot, there is no DNS on the main network but there is DNS on the Guest Network. Here is the contents of the file you requested:

Code:
admin@GT-AX6000:/tmp/home/root# cat /etc/dnsmasq-1.conf
pid-file=/var/run/dnsmasq-1.pid
user=nobody
bind-interfaces
listen-address=192.168.52.1
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-authoritative
dhcp-range=br52,192.168.52.1,192.168.52.254,255.255.255.0,86400s
dhcp-option=br52,3,192.168.52.1
dns-forward-max=1500
bogus-priv
domain-needed
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
dhcp-leasefile=/var/lib/misc/dnsmasq-1.leases
script-arp
quiet-dhcp
quiet-dhcp6
Okay I think i resolved the issue. Try running the command one more time. I have some code that wasn't explicit enough.
 
Okay I think i resolved the issue. Try running the command one more time. I have some code that wasn't explicit enough.
After a reboot, same result. Guest Network has DNS but regular network has no DNS:
Code:
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358126 [info] dnsproxy: starting dns proxy server
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358270 [info] dnsproxy: creating udp server socket addr=0.0.0.0:53
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358521 [info] dnsproxy: listening to udp addr=[::]:53
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358566 [info] dnsproxy: creating tcp server socket addr=0.0.0.0:53
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358712 [info] dnsproxy: warning: binding attempt=1 err="listen tcp 0.0.0.0:53: bind: address already in use"
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.361119 [error] closing query log: flushing log buffer: nothing to write to a file
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.361210 [fatal] starting dns server: configuring listeners: listening on tcp addr 0.0.0.0:53: listening to tcp socket: listen tcp 0.0.0.0:53: bind: address already in use
 
After a reboot, same result. Guest Network has DNS but regular network has no DNS:
Code:
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358126 [info] dnsproxy: starting dns proxy server
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358270 [info] dnsproxy: creating udp server socket addr=0.0.0.0:53
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358521 [info] dnsproxy: listening to udp addr=[::]:53
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358566 [info] dnsproxy: creating tcp server socket addr=0.0.0.0:53
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.358712 [info] dnsproxy: warning: binding attempt=1 err="listen tcp 0.0.0.0:53: bind: address already in use"
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.361119 [error] closing query log: flushing log buffer: nothing to write to a file
Jul 14 17:54:41 AdGuardHome[17342]: 2025/07/14 17:54:41.361210 [fatal] starting dns server: configuring listeners: listening on tcp addr 0.0.0.0:53: listening to tcp socket: listen tcp 0.0.0.0:53: bind: address already in use
can you do one more check to make sure there were no minor modifications before you did this test?
 
can you do one more check to make sure there were no minor modifications before you did this test?
I double checked and tested it twice but same result. I ran the command on the cli and chose 1 to update. Is that the correct choice to pull the latest changes?
 
I double checked and tested it twice but same result. I ran the command on the cli and chose 1 to update. Is that the correct choice to pull the latest changes?
Sounds right. okay, can you get me the contents of /etc/dnsmasq.conf when you are attempting to run AGH? I just did a tiny modification to one of the auxiliary files. Can you also get me the contents of the guest network dnsmasq-1.conf, when it is attempting to start AGH and failing?
 
Last edited:
Sounds right. okay, can you get me the contents of /etc/dnsmasq.conf when you are attempting to run AGH? I just did a tiny modification to one of the auxiliary files. Can you also get me the contents of the guest network dnsmasq-1.conf, when it is attempting to start AGH and failing?
I’m on cell service now as I’ve lost all dns for some reason. I have to be somewhere but will get this posted here as soon as I can.
 
For anyone who is still having problems here with running the installer because of ratelimits, first check your root directory inside ssh using ls installer*. You may see installer, installer.1, etc. If that produces a list of multiple installer files, you can then run carefully remove them using rm filename . Obviously change file name to which ever installer file you are removing. The other option is to just reboot your router which should also remove them. There is a possibility if you havent rebooted your router in a while, that you will have several of these files in the root directory due to failed attempts from the ratelimit. After removing each one, you should be able to safely run curl -L -s -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer; rm installer

If you want to see more information on this, you can see here at this link https://github.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/issues/234#issuecomment-3071748660
 
Last edited:
okay, whenever you are able. Also run the command netstat -nlp | grep "dnsmasq"
On you next failed attempt to install.
I'm updated to 1.8.9 now:
Code:
admin@GT-AX6000:/tmp/home/root# netstat -nlp | grep "dnsmasq"
tcp        0      0 192.168.52.1:53         0.0.0.0:*               LISTEN      29934/dnsmasq
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      29803/dnsmasq
tcp        0      0 10.1.1.1:53             0.0.0.0:*               LISTEN      29803/dnsmasq
tcp        0      0 10.6.0.1:53             0.0.0.0:*               LISTEN      29803/dnsmasq
tcp        0      0 10.8.0.1:53             0.0.0.0:*               LISTEN      29803/dnsmasq
udp        0      0 192.168.52.1:53         0.0.0.0:*                           29934/dnsmasq
udp        0      0 127.0.0.1:53            0.0.0.0:*                           29803/dnsmasq
udp        0      0 10.1.1.1:53             0.0.0.0:*                           29803/dnsmasq
udp        0      0 10.6.0.1:53             0.0.0.0:*                           29803/dnsmasq
udp        0      0 10.8.0.1:53             0.0.0.0:*                           29803/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*                           29934/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*                           29803/dnsmasq

admin@GT-AX6000:/tmp/home/root# cat /etc/dnsmasq.conf
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=pptp*
no-dhcp-interface=pptp*
no-resolv
no-poll
no-negcache
cache-size=0
min-port=4096
dns-forward-max=1500
domain=lan
expand-hosts
bogus-priv
domain-needed
local=/lan/
dhcp-range=lan,10.1.1.10,10.1.1.190,255.255.255.0,43200s
dhcp-option=lan,3,10.1.1.1
dhcp-option=lan,15,lan
dhcp-option=lan,252,"\n"
dhcp-option=lan,42,0.0.0.0
dhcp-authoritative
interface=tun21
no-dhcp-interface=tun22
no-dhcp-interface=tun23
interface=wgs1
no-dhcp-interface=wgs1
dhcp-host=*multiple entries here*
quiet-dhcp
quiet-dhcp6
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
script-arp
edns-packet-max=1232
server=127.0.0.1#53535

admin@GT-AX6000:/tmp/home/root# cat /etc/dnsmasq-1.conf
pid-file=/var/run/dnsmasq-1.pid
user=nobody
bind-interfaces
listen-address=192.168.52.1
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-authoritative
dhcp-range=br52,192.168.52.1,192.168.52.254,255.255.255.0,86400s
dhcp-option=br52,3,192.168.52.1
dns-forward-max=1500
bogus-priv
domain-needed
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
dhcp-leasefile=/var/lib/misc/dnsmasq-1.leases
script-arp
quiet-dhcp
quiet-dhcp6

AdGuardHome[34998]: 2025/07/15 09:37:11.436661 [info] dnsproxy: starting dns proxy server
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.436798 [info] dnsproxy: creating udp server socket addr=0.0.0.0:53
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.437039 [info] dnsproxy: listening to udp addr=[::]:53
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.437073 [info] dnsproxy: creating tcp server socket addr=0.0.0.0:53
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.437230 [info] dnsproxy: warning: binding attempt=1 err="listen tcp 0.0.0.0:53: bind: address already in use"
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.439478 [error] closing query log: flushing log buffer: nothing to write to a file
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.439507 [fatal] starting dns server: configuring listeners: listening on tcp addr 0.0.0.0:53: listening to tcp socket: listen tcp 0.0.0.0:53: bind: address already in use
 
This commandline now worked ok. It gave me the menu I always see when updating AGH. The update went well. After that I rebooted the router via the reboot command when logged in in the router. After the router bootup I started amtm via the cli prompt. amtm showed me there were no AGH update to be installed. Entering AG started the AGH menu in the normal way, as always.

So problem solved for me. Thanks.

I just wanted to say I appreciate your reply because you didn't just say "Ok, the problem is now solved", but you started describing the whole process, and at any given moment I was prepared to read "this is the step that failed now", but you just went on describing a 100% normal, bug-free process, and only at the end you wrote the problem was solved :D Kept me on my toes as I'm facing the same issue :D
 
I'm updated to 1.8.9 now:
Code:
admin@GT-AX6000:/tmp/home/root# netstat -nlp | grep "dnsmasq"
tcp        0      0 192.168.52.1:53         0.0.0.0:*               LISTEN      29934/dnsmasq
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      29803/dnsmasq
tcp        0      0 10.1.1.1:53             0.0.0.0:*               LISTEN      29803/dnsmasq
tcp        0      0 10.6.0.1:53             0.0.0.0:*               LISTEN      29803/dnsmasq
tcp        0      0 10.8.0.1:53             0.0.0.0:*               LISTEN      29803/dnsmasq
udp        0      0 192.168.52.1:53         0.0.0.0:*                           29934/dnsmasq
udp        0      0 127.0.0.1:53            0.0.0.0:*                           29803/dnsmasq
udp        0      0 10.1.1.1:53             0.0.0.0:*                           29803/dnsmasq
udp        0      0 10.6.0.1:53             0.0.0.0:*                           29803/dnsmasq
udp        0      0 10.8.0.1:53             0.0.0.0:*                           29803/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*                           29934/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*                           29803/dnsmasq

admin@GT-AX6000:/tmp/home/root# cat /etc/dnsmasq.conf
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=pptp*
no-dhcp-interface=pptp*
no-resolv
no-poll
no-negcache
cache-size=0
min-port=4096
dns-forward-max=1500
domain=lan
expand-hosts
bogus-priv
domain-needed
local=/lan/
dhcp-range=lan,10.1.1.10,10.1.1.190,255.255.255.0,43200s
dhcp-option=lan,3,10.1.1.1
dhcp-option=lan,15,lan
dhcp-option=lan,252,"\n"
dhcp-option=lan,42,0.0.0.0
dhcp-authoritative
interface=tun21
no-dhcp-interface=tun22
no-dhcp-interface=tun23
interface=wgs1
no-dhcp-interface=wgs1
dhcp-host=*multiple entries here*
quiet-dhcp
quiet-dhcp6
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
script-arp
edns-packet-max=1232
server=127.0.0.1#53535

admin@GT-AX6000:/tmp/home/root# cat /etc/dnsmasq-1.conf
pid-file=/var/run/dnsmasq-1.pid
user=nobody
bind-interfaces
listen-address=192.168.52.1
no-resolv
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-authoritative
dhcp-range=br52,192.168.52.1,192.168.52.254,255.255.255.0,86400s
dhcp-option=br52,3,192.168.52.1
dns-forward-max=1500
bogus-priv
domain-needed
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
dhcp-leasefile=/var/lib/misc/dnsmasq-1.leases
script-arp
quiet-dhcp
quiet-dhcp6

AdGuardHome[34998]: 2025/07/15 09:37:11.436661 [info] dnsproxy: starting dns proxy server
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.436798 [info] dnsproxy: creating udp server socket addr=0.0.0.0:53
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.437039 [info] dnsproxy: listening to udp addr=[::]:53
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.437073 [info] dnsproxy: creating tcp server socket addr=0.0.0.0:53
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.437230 [info] dnsproxy: warning: binding attempt=1 err="listen tcp 0.0.0.0:53: bind: address already in use"
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.439478 [error] closing query log: flushing log buffer: nothing to write to a file
Jul 15 09:37:11 AdGuardHome[34998]: 2025/07/15 09:37:11.439507 [fatal] starting dns server: configuring listeners: listening on tcp addr 0.0.0.0:53: listening to tcp socket: listen tcp 0.0.0.0:53: bind: address already in use
you are welcome to try v1.9.0
 
Thank you @SomeWhereOverTheRainBow @dave14305 @Viktor Jaep and all testers for trying to bring AGH up & running smoothly. The latest firmware did bring some cool features but with that also came some challenging updates for these scripts ...but we all do appreciate everything you do for the community!
there is more to come. ;) I could definitely use more testers on the newer "3006" firmware though, but I do appreciate all of those who have been helping! Thank you @dave14305, and @Viktor Jaep
 

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!
Back
Top