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/ipn/ipnlocal
Brad Fitzpatrick adc5997592 net/tsdial: give netstack a Dialer, start refactoring name resolution
This starts to refactor tsdial.Dialer's name resolution to have
different stages: in-memory MagicDNS vs system resolution. A future
change will plug in ExitDNS resolution.

This also plumbs a Dialer into netstack and unexports the dnsMap
internals.

And it removes some of the async AddNetworkMapCallback usage and
replaces it with synchronous updates of the Dialer's netmap
from LocalBackend, since the LocalBackend has the Dialer too.

Updates #3475

Change-Id: Idcb7b1169878c74f0522f5151031ccbc49fe4cb4
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
dnsconfig_test.go tailcfg, ipn/ipnlocal, net/dns: forward exit node DNS on Unix to system DNS 4 years ago
local.go net/tsdial: give netstack a Dialer, start refactoring name resolution 4 years ago
local_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 4 years ago
loglines_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 4 years ago
peerapi.go ipn/ipnlocal: run peerapi even if Taildrop storage not configured 4 years ago
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 4 years ago
peerapi_test.go ipn/ipnlocal: run peerapi even if Taildrop storage not configured 4 years ago
state_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 4 years ago