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>
2022-08-19 12:38:11 -05:00
..
dns net/dns: [win] add MagicDNS entries to etc/hosts 2022-08-19 12:38:11 -05:00
dnscache net/dnscache: fix v4addrs to return only v4 addrs 2022-08-17 14:19:37 -04:00
dnsfallback all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
flowtrack all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
interfaces syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00
netaddr all: migrate code from netaddr.FromStdAddr to Go 1.18 2022-08-02 22:25:07 -07:00
netcheck net/stun: convert to use net/netip.AddrPort 2022-08-15 12:46:01 -04:00
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 2022-01-03 14:03:30 -08:00
netknob all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netns syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00
netstat all: migrate more code code to net/netip directly 2022-08-02 13:59:57 -07:00
nettest net/nettest: deflake TestPipeTimeout 2021-11-30 12:21:59 -08:00
netutil all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
packet all: migrate more code code to net/netip directly 2022-08-02 13:59:57 -07:00
ping net/netcheck: try ICMP if UDP is blocked (#5056) 2022-08-04 17:10:13 -04:00
portmapper syncs, all: move to using Go's new atomic types instead of ours 2022-08-04 07:47:59 -07:00
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 2021-11-29 16:49:48 -08:00
socks5 net/socks5: use new Go 1.19 binary.AppendByteOrder.AppendUintX 2022-08-05 08:30:48 -07:00
speedtest all: fix spelling mistakes 2021-10-12 21:23:14 -07:00
stun net/stun: convert to use net/netip.AddrPort 2022-08-15 12:46:01 -04:00
tlsdial all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
tsaddr all: migrate more code code to net/netip directly 2022-08-02 13:59:57 -07:00
tsdial all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
tshttpproxy all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00
tstun all: use syncs.AtomicValue 2022-08-04 11:52:16 -07:00