Divader
Occasional Visitor
I'm getting this odd result when using network tools to do an nslookup on my RT-AC5300:
Pings also just say bad address. Same results over SSH, but when I specify a DNS server to use it works fine eg:
I've been struggling to find a definitive answer anywhere about why it's trying to use 0.0.0.0 - I've put this nowhere in my settings. My rough understanding is that it's some sort of default effectivly the same as 127.0.0.1 (which is what I see when I ping it). This suggests the router is trying to use itself as its primary DNS server, yet everywhere in the GUI I've set other IPs for DNS.
My setup is a bit weird - my asus router (192.168.0.1) used to be the default gateway but is now behind my new ISP router (192.168.0.2) which has become the new gateway after I switched ISP. The ISP router is junk and doesn't support modem mode like my previous ISP router but that's a whole other issue. The asus router is still the DHCP server and my primary DNS server is an Adguard server (192.168.0.184). As far as I can tell everything in the network functions fine except this one router DNS thing but maybe you can spot some stupidity in my config.
Here's output of other commands that may be relevant:
This is especially annoying as I think it breaks functions like firmware update checks and using a domain name for NTP. What could be going wrong?
Pings also just say bad address. Same results over SSH, but when I specify a DNS server to use it works fine eg:
admin@RT-AC5300-7B10-Merlin:/tmp/home/root# nslookup wikipedia.org 9.9.9.9
Server: 9.9.9.9
Address 1: 9.9.9.9 dns9.quad9.net
Name: wikipedia.org
Address 1: 2a02:ec80:300:ed1a::1 text-lb.esams.wikimedia.org
Address 2: 185.15.59.224 text-lb.esams.wikimedia.org
I've been struggling to find a definitive answer anywhere about why it's trying to use 0.0.0.0 - I've put this nowhere in my settings. My rough understanding is that it's some sort of default effectivly the same as 127.0.0.1 (which is what I see when I ping it). This suggests the router is trying to use itself as its primary DNS server, yet everywhere in the GUI I've set other IPs for DNS.
My setup is a bit weird - my asus router (192.168.0.1) used to be the default gateway but is now behind my new ISP router (192.168.0.2) which has become the new gateway after I switched ISP. The ISP router is junk and doesn't support modem mode like my previous ISP router but that's a whole other issue. The asus router is still the DHCP server and my primary DNS server is an Adguard server (192.168.0.184). As far as I can tell everything in the network functions fine except this one router DNS thing but maybe you can spot some stupidity in my config.
Here's output of other commands that may be relevant:
admin@RT-AC5300-7B10-Merlin:/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
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
domain=zombies
expand-hosts
dhcp-range=lan,192.168.0.25,192.168.0.254,255.255.255.0,86400s
dhcp-option=lan,3,192.168.0.2
dhcp-option=lan,6,192.168.0.184,192.168.0.2,0.0.0.0
dhcp-option=lan,15,zombies
dhcp-option=lan,252,"\n"
dhcp-authoritative
interface=tun21
interface=br1
dhcp-range=br1,192.168.101.2,192.168.101.254,255.255.255.0,86400s
dhcp-option=br1,3,192.168.101.1
interface=br2
dhcp-range=br2,192.168.102.2,192.168.102.254,255.255.255.0,86400s
dhcp-option=br2,3,192.168.102.1
interface=br3
dhcp-range=br3,192.168.103.2,192.168.103.254,255.255.255.0,86400s
dhcp-option=br3,3,192.168.103.1
dhcp-host=18:31:BF:2B:72:BA,set:18:31:BF:2B:72:BA,192.168.0.200
dhcp-host=D4:35:1D:1D:24:71,set4:35:1D:1D:24:71,192.168.0.2
dhcp-host=BC:5F:F4:FE:46:1F,set:BC:5F:F4:FE:46:1F,192.168.0.179
dhcp-host=D0:50:99:17:FC:7E,set0:50:99:17:FC:7E,192.168.0.98
dhcp-host=D2:50:99:2A:84:2D,set2:50:99:2A:84:2D,192.168.0.184
dhcp-option=tag2:50:99C:B3:6C,6,9.9.9.9
dhcp-host=D2:50:99C:B3:6C,set2:50:99C:B3:6C,192.168.0.129
dhcp-host=F0:4D4:43:8E:30,set:F0:4D4:43:8E:30,192.168.0.113
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
dhcp-script=/sbin/dhcpc_lease
script-arp
edns-packet-max=1232
admin@RT-AC5300-7B10-Merlin:/tmp/home/root# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.1 RT-AC5300-7B10-Merlin.zombies RT-AC5300-7B10-Merlin
192.168.0.1 RT-AC5300-7B10-Merlin.local
192.168.0.1 www.asusrouter.com
192.168.0.1 asusrouter.com
192.168.0.1 www.asusrepeater.com
192.168.0.1 asusrepeater.com
192.168.0.1 www.asusap.com
192.168.0.1 asusap.com
192.168.0.1 www.asusswitch.com
192.168.0.1 asusswitch.com
192.168.0.1 router.asus.com
192.168.0.1 repeater.asus.com
192.168.0.1 ap.asus.com
192.168.0.1 www.asusnetwork.net
192.168.0.1 asusswitch.net
192.168.0.1 asusrepeater.net
192.168.0.1 asusap.net
192.168.0.1 zenwifi.net
192.168.0.1 expertwifi.net
This is especially annoying as I think it breaks functions like firmware update checks and using a domain name for NTP. What could be going wrong?