tailscale/net
Brad Fitzpatrick 8d6cf14456 net/dnscache: don't do bootstrap DNS lookup after most failed dials
If we've already connected to a certain name's IP in the past, don't
assume the problem was DNS related. That just puts unnecessarily load
on our bootstrap DNS servers during regular restarts of Tailscale
infrastructure components.

Also, if we do do a bootstrap DNS lookup and it gives the same IP(s)
that we already tried, don't try them again.

Change-Id: I743e8991a7f957381b8e4c1508b8e9d0df1782fe
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-02-14 14:28:08 -08:00
..
dns net/dns: slightly optimize dbusPing for non-dbus case [Linux] 2022-02-11 14:00:54 -08:00
dnscache net/dnscache: don't do bootstrap DNS lookup after most failed dials 2022-02-14 14:28:08 -08:00
dnsfallback net/netns: thread logf into control functions 2021-11-18 15:09:51 -08:00
flowtrack all: use testingutil.MinAllocsPerRun 2021-10-28 12:48:37 -07:00
interfaces net/interfaces: bound Linux /proc/net/route parsing 2022-02-03 09:31:25 -08:00
netcheck envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2022-01-24 11:51:23 -08: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 net/netns: remove a useless probe of the "ip" command 2022-01-11 17:47:06 -08:00
netstat all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
nettest net/nettest: deflake TestPipeTimeout 2021-11-30 12:21:59 -08:00
netutil net/netutil: unify two oneConnListeners into a new package 2022-02-13 14:57:27 -08:00
packet wgengine/netstack: clear TCP ECN bits before giving to gvisor 2022-01-19 20:09:24 -08:00
portmapper netcheck,portmapper,magicsock: ignore some UDP write errors on Linux 2021-12-31 08:27:21 -08: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/tsdial: start of new package to unify all outbound dialing complexity 2021-11-30 17:21:49 -08:00
speedtest all: fix spelling mistakes 2021-10-12 21:23:14 -07:00
stun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2022-01-24 11:51:23 -08:00
tsaddr ipnlocal, net/{dns,tsaddr,tstun}, wgengine: support MagicDNS on IPv6 2022-01-04 14:37:22 -08:00
tsdial net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 2021-12-09 11:34:21 -08:00
tshttpproxy net/tshttpproxy: use correct size for Windows BOOL argument 2021-11-22 12:24:24 -08:00
tstun net/tstun: remove TODO that's done 2022-02-13 20:59:47 -08:00