Since I updated my router to use v22.03, I started to noticed something strange with my router.
My router seems to be unable to resolve any DNS requests, which are needed by OpenWRT itself. For example updating the system time or the dynamic IP. The rest of devices connected to my router are perfectly able to reach network.
My setup is kinda different btw. But before the update it was working ok, router was capable to solve any DNS request made when using ssh session, for example.
- Using 2 WAN connections (managed by switch configuration)
- 2 LAN networks created
- Using
Policy Routing
package to be able to redirect traffic from LAN1 => WAN1 and LAN2 => WAN2 - Using
dnsmasq-full
package
root@JWIFI:~# ping google.com
ping: bad address 'google.com'
I double checked my DNS settings and it seems pretty ok.
root@JWIFI:~# cat /etc/resolv.conf
search lan
nameserver 127.0.0.1
nameserver ::1
cat /tmp/resolv.conf.d/resolv.conf.auto
# Interface wan
nameserver 1.1.1.1
nameserver 8.8.8.8
# Interface wan2
nameserver 1.1.1.1
nameserver 8.8.8.8
root@JWIFI:~# cat /var/etc/dnsmasq.conf.cfg01411c
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
no-negcache
localise-queries
read-ethers
enable-ubus=dnsmasq
expand-hosts
bind-dynamic
local-service
quiet-dhcp
domain=lan
local=/lan/
server=8.8.8.8
server=1.1.1.1
addn-hosts=/tmp/hosts
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.d/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
conf-file=/usr/share/dnsmasq/trust-anchors.conf
dnssec
dnssec-no-timecheck
dhcp-broadcast=tag:needs-broadcast
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq
I don't know how, but it seems router get's lost when he tries to query itself to resolve an address. What could I be missing?
Any inputs are welcome.