backend: use dns.NewNoopManager.
Android updates its DNS config in updateTUN() when in response to several different channels from the backend. There is not an Android-specific NewOSConfigurator, we end up pulling in the Linux NewOSConfigurator: https://github.com/tailscale/tailscale/blob/main/net/dns/manager_linux.go The Linux DNS manager expects to be able to write to /etc/resolv.conf, which does not work on Android and causes errors in updating DNS config. Instead, allocate dns.NewNoopManager to disable the DNS manager, and rely on the updateTUN() code to handle DNS. Fixes https://github.com/tailscale/tailscale/issues/1956 Signed-off-by: Denton Gentry <dgentry@tailscale.com>pull/9/head
parent
3d2abf0b3b
commit
ec8133a972
Loading…
Reference in New Issue