Can't resolve domain names from the router

Hi All!

What can be wrong? I have two WAN interfaces at the router and bridged LAN+WLAN. But I can't resolve server names from the router itself.

The internet works:

PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=56 time=42.0 ms
64 bytes from icmp_seq=2 ttl=56 time=51.1 ms

But I can't access any web-sites:

ping: Try again

I can't reach any DNS:

;; connection timed out; no servers could be reached

But they are accessible:


Address 1:
Address 2:
Address 3:
Address 4:
Address 5:
Address 6:
Address 7: 2a00:1450:4010:c02::71
Address 8: 2a00:1450:4010:c02::8b
Address 9: 2a00:1450:4010:c02::64
Address 10: 2a00:1450:4010:c02::8a

dnsmasq is working...

You can look up Google, by using their own DNS.

What's in /etc/resolv.conf ?

It is empty:

cat /etc/resolv.conf
# Interface WAN_eth1
# Interface EP06_4

Represents only both of my WAN-interfaces

Static WAN IPs ?

Then you need to provide DNS IPs manually, or populate resolv.conf.
Note the file doesn't survive a reboot.

No, they are from mobile operators so they are gray and dynamic.

After manual population it started to resolve names. But is there a way how to fix DNS even after reboot?

echo "nameserver" >> /etc/resolv.conf

In your local start up scrip.

Or add/override DNS IPs on the WAN interfaces.

There is no such an option (at least in LUCI).


Nope :slight_smile:

Is there a way to modify an interface via a nano editor or something like this?

You can try to use the dns option directly in the config file, as in the link above.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.