Resolving local hostnames with encrypted DNS and router as Wireguard client

Hi there,

I’ve currently got a Slate AX (GL-AXT1800) running latest 4.6.0 snapshot, which refuses to resolve some hosts but not others, and I can’t figure it out.

There are two likely relevant facts about the setup on the Slate AX:

  • It is a Wireguard client to a remote endpoint, routes all Internet traffic thru said endpoint, and the endpoint does appear to offer a DNS server address
  • I usually have encrypted DNS (DNS over HTTPS) enabled, although this problem I’m describing happens with DNS set to ‘automatic’ as well

Can anyone confirm to me if either or both of the above conditions are known to make manually specified hostnames (in Luci → Network → DHCP and DNS → Hostnames) NOT successfully resolve?

I’m trying to figure out if this is known behavior or not.

This wasn’t working with DNS over HTTPS set up, nor with DNS set to Automatic.

Changed it to Manual DNS, punched in my preferred provider, now I can resolve entries from Hostnames properly.