Tailscale keeps overwriting local domain (dnsmasq) on Flint 2

Hi everyone,

I'm running into an issue on my Flint 2 where enabling Tailscale continuously breaks my local domain DNS resolution (.lan).

When Tailscale is active, it automatically updates dnsmasq's Local domain setting from .lan to my Tailscale tailnet name (ex tail4534.ts.net).

If I manually change Local domain back to .lan via LuCI (Network -> DHCP and DNS), it gets overwritten back to the Tailscale domain after some time, even without a router reboot.

This breaks many of my local scripts and services that rely on the local name resolution, I'm using firmware version v4.9.0

Is there a clean way or UCI setting to stop the GL.iNet Tailscale daemon from forcibly modifying local domain setting, while keeping Tailscale active?

Hi

The Tailscale DNS daemon is created by the following section in /usr/bin/gl_tailscale.

Therefore, if you do not want it to modify dnsmasq's local domain name to the Tailnet DNS name, you can comment out the corresponding section.