I got a Beryl AX router and use a Wireguard connection into my home network with my piholes as custom dns servers in the wireguard config.
It mostly works except for domains with the domain .lan (for example gitlab.felix.lan), they are not resolved. Other custom entries are not problem (for example gitlab.felix).
Does anyone have an idea why and how to configure it in the admin ui or in the openwrt ui?
Details:
DNS rebinding is disabled
i tried all current firmwares, stable, beta, op24 and snapshot
ok, what would you suggest as a solution? Putting a static copy of all my DNS entries into the hostname list is not really a practical solution. I already tried deleting the lan from the Resolve locally and local domain fields but it still did not want to resolve the domains upstream
I have a DHCP in my home network but doen't the beryl ax wireguard client have to run internal dhcp anyways to control the remote clients before tunneling the traffic? The router acting as client has a assigned IP it gets, but the beryl wifi clients are a dedicated network independent from that
also with totally different ip ranges etc
its already forwarding all DNS requests its just the *.lan Domain...
As far as I can see this has nothing to do with my problem. I am not using adguard on my Beryl. It seems to be a openwrt routing issue. And editing the local hosts files of all clients defends the purpose of having a DNS server
I will try to setup a similar setup on a vps for you. What confuses me is that everything works and is resolved by my dns resolvers (internet entries and also local custom ones) just the *.lan is a problem.
I tried around with the /lan/ entries in the openwrt dhcp interface but it did not help either. I suspect its something in openwrt and the internal use of .lan as (local)domain for the Beryl ax internal network.
When I use the same wireguard config files on my laptops and phones directly theres no problem, so this is defnitly a problem with your products internal configuration
That is correct but if there was a general alyer problem I would expect all local domains or DNS in general not to work. Are you able to resolve *.lan domains from an upstream network in your test?