Initial DNS Configuration for GL-AXT1800(Slate AX)

I have a new GL-AXT1800 (Slate AX) acting as a router on firmware 4.6.11 (with Tailscale version 1.66.4-1 (OpenWrt) Linux 4.4.60), but am having trouble getting DNS properly configured.

The router's CLIENTS page shows all of the hostnames I'd expect to see, but I can't reach any of them by name from other peers on the same LAN unless they are also running Tailscale.

The same thing happens from Tailscale clients outside the LAN; I can connect to hosts behind the router using IP, but not hostname, unless they are also running Tailscale.

I have enabled Allow Remote Access LAN on the router and have allowed the 192.168.8.0/24 subnet in the Tailscale web console on the Machines tab.

On the Tailscale web console DNS tab, I have added my personal domain as a Search Domain and have enabled MagicDNS. Other settings are defaults.

The router's DNS mode is currently set to Automatic. I have tried to configure DNS settings on the router and in the Tailscale console several different ways, but nothing seems to work.

Can anyone tell me what to configure to use hostnames instead of IPs?

It may be a DNS resolution problem.
Make sure MagicDNS is enabled and add personal domain names to Tailscale.

Set up a custom DNS in the router and fill in the primary DNS with Tailscale's DNS server.

Thank you for responding.

It is possible to make it work the other way around?

I'm using the GL-AXT1800 as a home router. Ideally, I'd have Tailscale installed only on the GL-AXT1800 and the remote devices, but not on any of the hosts inside the LAN. If I need to bring a remote device inside the LAN, I can disable Tailscale on that device temporarily.

Can the GL-AXT1800 serve DNS, and can Tailscale be configured to use the GL-AXT1800 as the primary DNS for all remote Tailscale devices?

I tried this in several different ways without success. Perhaps the router is blocking port 53 coming in from the Tailscale network?

I think MagicDNS just allows one to use short names for other Tailscale clients, so I don't mind turning that off if I can get regular DNS working.

This appears to be working now. Here's what I did using my personal domain example.com:

  1. Under SYSTEM/Upgrade, upgrade the firmware to v4.8.0 using the file from https://dl.gl-inet.com/router/axt1800/beta
  2. Under APPLICATIONS/Tailscale, enable Tailscale and bind it, enable Allow Remote Access LAN, and copy the Router Virtual IP for later
  3. Under NETWORK/DNS, set the Mode to Automatic
  4. Under SYSTEM/Advanced Settings, enable LuCI and press the Go To LuCI button
  5. Under LuCI/Network/DHCP and DNS, enter your example.com for the fields Resolve these locally: /example.com/ and Local domain: example.com, then press Save & Apply
  6. Under LuCI/System/Startup/Initscripts, find and restart the dnsmasq process
  7. On the tailscale machines page https://login.tailscale.com/admin/machines, select Edit route settings... for the router and enable the advertised LAN IP range
  8. On the tailscale DNS page https://login.tailscale.com/admin/dns, disable MagicDNS, add your example.com as a Search Domain, enter the Router's Virtual IP as a Nameserver, and enable SplitDNS for the domain example.com
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.