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/net
Maisem Ali 9197dd14cc net/dns: [win] add MagicDNS entries to etc/hosts
This works around the 2.3s delay in short name lookups when SNR is
enabled.
C:\Windows\System32\drivers\etc\hosts file. We only add known hosts that
match the search domains, and we populate the list in order of
Search Domains so that our matching algorithm mimics what Windows would
otherwise do itself if SNR was off.

Updates #1659

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
dns net/dns: [win] add MagicDNS entries to etc/hosts 2 years ago
dnscache net/dnscache: fix v4addrs to return only v4 addrs 2 years ago
dnsfallback all: convert more code to use net/netip directly 2 years ago
flowtrack all: convert more code to use net/netip directly 2 years ago
interfaces syncs, all: move to using Go's new atomic types instead of ours 2 years ago
netaddr all: migrate code from netaddr.FromStdAddr to Go 1.18 2 years ago
netcheck net/stun: convert to use net/netip.AddrPort 2 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns syncs, all: move to using Go's new atomic types instead of ours 2 years ago
netstat all: migrate more code code to net/netip directly 2 years ago
nettest net/nettest: deflake TestPipeTimeout 3 years ago
netutil all: convert more code to use net/netip directly 2 years ago
packet all: migrate more code code to net/netip directly 2 years ago
ping net/netcheck: try ICMP if UDP is blocked (#5056) 2 years ago
portmapper syncs, all: move to using Go's new atomic types instead of ours 2 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 3 years ago
socks5 net/socks5: use new Go 1.19 binary.AppendByteOrder.AppendUintX 2 years ago
speedtest all: fix spelling mistakes 3 years ago
stun net/stun: convert to use net/netip.AddrPort 2 years ago
tlsdial all: gofmt for Go 1.19 2 years ago
tsaddr all: migrate more code code to net/netip directly 2 years ago
tsdial all: use syncs.AtomicValue 2 years ago
tshttpproxy all: use syncs.AtomicValue 2 years ago
tstun all: use syncs.AtomicValue 2 years ago