tailscale/ipn/ipnlocal
Denton Gentry 878a20df29 net/dns: add GetBaseConfig to CallbackRouter.
Allow users of CallbackRouter to supply a GetBaseConfig
implementation. This is expected to be used on Android,
which currently lacks both a) platform support for
Split-DNS and b) a way to retrieve the current DNS
servers.

iOS/macOS also use the CallbackRouter but have platform
support for SplitDNS, so don't need getBaseConfig.

Updates https://github.com/tailscale/tailscale/issues/2116
Updates https://github.com/tailscale/tailscale/issues/988

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-12-08 16:49:11 -08:00
..
dnsconfig_test.go net/dns: add GetBaseConfig to CallbackRouter. 2021-12-08 16:49:11 -08:00
local_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
local.go net/dns: add GetBaseConfig to CallbackRouter. 2021-12-08 16:49:11 -08:00
loglines_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00
peerapi_h2c.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 2021-12-06 16:39:14 -08:00
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 2021-12-01 12:55:31 -08:00
peerapi_test.go ipn/ipnlocal: run peerapi even if Taildrop storage not configured 2021-12-01 16:45:09 -08:00
peerapi.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 2021-12-06 16:39:14 -08:00
state_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 2021-12-01 10:36:55 -08:00