On a AXT1800 having the latest firmware (4.8.2) I’m trying to get dns lookups forwarded to the private dns servers through wireguard client connection but can’t get it to work.
Setup:
- wan connection via usb-tethering
- wireguard client connection is running and setup using policy routing
- client can ping/connect the remote dns server but get
not foundfor servers known by the dns set in the wireguard client config - on the router itself (connected via ssh) I can request for an ip like
nslookup myhost.private.net 10.0.1.2(given 10.0.1.2 is the dns in the remote network) - in a AdGuard config I set 10.0.1.2 as Upstream-DNS-Server and the AdGuard upstream test reports success, but when doing a
nslookup myhost.private.netI getDNS request timed out. - in a setup with AdGuard disabled I added a forward
/private.net/10.0.1.2via LuCI (Advanced Settings), but this does not resolve from the client computer either. Even more strange: on the router I can do anslookup myhost.private.net 192.168.8.1but when I do the same on the client I get timeouts. - When restarting the dnsmask service via ssh I get a
`... not found from console.gl-inet.com …
So I guess there is something in the default config which prevents to see dns responses others than from default upstream?
Could someone give me some hint / advice please to configure dns to resolve private ips queried from a dns behind a wireguard tunnel?