Wireguard not resolving local hosts via default DNS

When using my GL-AXT1800 Flint in repeater or tethering modes and using the WireGuard client on the Flint it does not resolve local hostnames but does resolve all external hosts. I am internally hosting AdGuardHome as my DNS server and have entered all my hosts in the DNS rewrites. This works fine internally and works if my laptop connects to the WireGuard server with the Windows WireGuard client. It does not work if I fire up the WireGuard client on the Flint and connect my laptop to it. I have the AdGuardHome IP set as the default DNS server in both the WireGuard host and the clients.

I can ping internal IPs and other than resolving local hosts it works fine, and it’s using the AdGuardHome server as DNS. Ex: pinging 10.0.1.40 will work but trying to access the host at that address as adguard.home does not work.

The Flint is running version 4.5.0.

anyone tried using static dns entries or editing the hosts file on the client side as a workaround??? i wonder if the simple override may help in this case

anyone tried using static dns entries or editing the hosts file on the client side as a workaround??? i wonder if the simple override may help in this case

I had a similar issue before and what fixed it for me was manually adding the local domain to the AllowedIPs in the WireGuard config. Also, double-check if DNS forwarding is enabled. When I was testing different setups, I used https://ishosting.com/en/vps/macos to run WireGuard from a macOS VM and spot the differences more easily across environments.