Network Failure After Switching from dnsmasq to unbound

I tried couple times to replace the default dnsmasq with unbound on my 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:

Then I run service dnsmasq stop and service dnsmasq disable to disable the dnsmasq, here is the netstat output after:

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 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.

Hi

dnsmasq also runs the DHCP server, so disabling it will prevent LAN devices from obtaining IP addresses via DHCP.

If you only wish to disable its DNS functionality, navigate to Luci - Network - DHCP and DNS - Devices & Ports, then change the DNS server port to 0, save & apply.

3 Likes

You are right. I got it working now after bringing dnsmasq back as only DHCP server.