I tried couple times to replace the default dnsmasq with unbound. The router I'm using is Flint 2 GL-MT6000. The issue appearing either immediately or after some time. Devices already connected via Wi-Fi lose internet access but remain connected to the network. When attempting to reconnect a device or connect a new device to Wi-Fi the connection fails. Some times I can still access the router through wired connection, some times even the wired connection fails.
Here are the steps I took and some relavent outputs:
Before disabling dnsmasq, this is netstat output:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 16597/dnsmasq
tcp 0 0 192.168.1.158:53 0.0.0.0:* LISTEN 16597/dnsmasq
tcp 0 0 192.168.8.1:53 0.0.0.0:* LISTEN 16597/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 16398/dropbear
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 9757/nginx.conf -g
tcp 0 0 127.0.0.1:8443 0.0.0.0:* LISTEN 7321/uhttpd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9757/nginx.conf -g
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 7321/uhttpd
tcp 0 0 ::1:53 :::* LISTEN 16597/dnsmasq
tcp 0 0 fe80::8891:2aff:fee6:56ed:53 :::* LISTEN 16597/dnsmasq
tcp 0 0 fe80::9683:c4ff:feba:d812:53 :::* LISTEN 16597/dnsmasq
tcp 0 0 :::22 :::* LISTEN 16398/dropbear
tcp 0 0 :::443 :::* LISTEN 9757/nginx.conf -g
tcp 0 0 :::80 :::* LISTEN 9757/nginx.conf -g
udp 0 0 127.0.0.1:53 0.0.0.0:* 16597/dnsmasq
udp 0 0 192.168.1.158:53 0.0.0.0:* 16597/dnsmasq
udp 0 0 192.168.8.1:53 0.0.0.0:* 16597/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 16597/dnsmasq
udp 0 0 0.0.0.0:5353 0.0.0.0:* 7728/avahi-daemon:
udp 0 0 ::1:53 :::* 16597/dnsmasq
udp 0 0 fe80::8891:2aff:fee6:56ed:53 :::* 16597/dnsmasq
udp 0 0 fe80::9683:c4ff:feba:d812:53 :::* 16597/dnsmasq
udp 0 0 :::5353 :::* 7728/avahi-daemon:
Then I run service dnsmasq stop and service dnsmasq disable to disable the dnsmasq, here is the netstat output after:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 16398/dropbear
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 9757/nginx.conf -g
tcp 0 0 127.0.0.1:8443 0.0.0.0:* LISTEN 7321/uhttpd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 9757/nginx.conf -g
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 7321/uhttpd
tcp 0 0 :::22 :::* LISTEN 16398/dropbear
tcp 0 0 :::443 :::* LISTEN 9757/nginx.conf -g
tcp 0 0 :::80 :::* LISTEN 9757/nginx.conf -g
udp 0 0 0.0.0.0:5353 0.0.0.0:* 7728/avahi-daemon:
udp 0 0 :::5353 :::* 7728/avahi-daemon:
I then run service unbound enabled and service unbound start, and netstat:
I think unbound is reached since I saw the output from unbound-control dump_cache (I enabled unbound-control and ran service unbound restart).
Iām a bit clueless regarding the cause and how should I go about troubleshoot this. Any advice would be appericiated. Thanks in advance.
