I have 2 identical routers (used as access point): D-Link DAP-2695 rev. A1
dap-beneden:
OpenWrt 19.07.4
192.168.3.20
dap-boven:
OpenWrt 21.02.1
192.168.3.21
Upgraded to 21.02.1 without keeping settings -> fresh install from a sysupgrade image
both routers used as "access points only":
Lan interface only (all others removed)
DHCP server disabled on Lan interface (my own server hands out ip-addresses)
Static ip-address
custom DNS server: 192.168.3.1
The problem:
On dap-beneden local dns works, on dap-boven it does not.
(clients work perfectly dns information is handed to them by my own dhcp server)
Did you completely stop the dnsmasq server in boven? This is serving as dns forwarder, so you'd need to adjust the /etc/resolv.conf to point directly to .3.1 nameserver.
Okay, when I add nameserver to resolv.conf it indeed works. Thank you, @trendy!
I did not have to do that in version 19. I used luci for that.
And I assumed that because dns field below is offered, it would work the same in version 21.
Was I wrong to assume that?
Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have
ubus call system board; netstat -lnp | grep 53; \
ls -l /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* ; head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*