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 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=42.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=51.1 ms
But I can't access any web-sites:
ping google.com
ping: google.com: Try again
I can't reach any DNS:
nslookup google.com
;; connection timed out; no servers could be reached
But they are accessible:
nslookup google.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Name: google.com
Address 1: 74.125.205.102
Address 2: 74.125.205.138
Address 3: 74.125.205.100
Address 4: 74.125.205.113
Address 5: 74.125.205.101
Address 6: 74.125.205.139
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...
SuperBoss9:
But they are accessible:
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.
frollic:
Static WAN IPs ?
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 8.8.8.8" >> /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
Is there a way to modify an interface via a nano editor or something like this?
frollic
January 6, 2022, 8:21pm
#10
You can try to use the dns option directly in the config file, as in the link above.
system
closed
January 16, 2022, 8:21pm
#11
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.