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/dnscache
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>
3 years ago
..
dnscache.go net/dnscache: don't do bootstrap DNS lookup after most failed dials 3 years ago
dnscache_test.go net/dnscache: don't do bootstrap DNS lookup after most failed dials 3 years ago
messagecache.go net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 3 years ago
messagecache_test.go net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 3 years ago