You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale-android/cmd/tailscale
Denton Gentry ec8133a972 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>
5 years ago
..
backend.go backend: use dns.NewNoopManager. 5 years ago
callbacks.go cmd/tailscale: simplify non-blocking coalescing channels 5 years ago
google.png cmd/tailscale: add Google sign-in button 6 years ago
logo.go cmd/tailscale: add Google sign-in button 6 years ago
main.go go.*,cmd/tailscale: upgrade to tailscale.com v1.8.3 5 years ago
multitun.go cmd/tailscale: wait for previous tunnel(s) to close before establishing new 6 years ago
pprof.go all: initial commit 6 years ago
store.go jni,cmd/tailscale: replace jni.EnvFor with explicit conversion 5 years ago
tailscale.png all: initial commit 6 years ago
tools.go cmd/tailscale,go.*: track go-bindata tool version in go.mod 6 years ago
ui.go cmd/tailscale: implement Tailscale 1.6 default route setting 5 years ago