tailscale/net/dnscache
Andrew Dunham 0d4135c2f5 net/dnscache: hard-code localhost resolution
Instead of falling back to bootstrap DNS if local DNS is broken and
there's no "localhost" entry in /etc/hosts, tell dnscache to always
resolve localhost to a static set of IPs.

Updates #14097

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I21b621db74cd8e153e487a579dc121255008339c
2024-11-14 12:49:47 -05:00
..
dnscache_test.go net/dnscache: hard-code localhost resolution 2024-11-14 12:49:47 -05:00
dnscache.go net/dnscache: hard-code localhost resolution 2024-11-14 12:49:47 -05:00
messagecache_test.go tstest: prepare for Clock API changes 2023-07-06 17:03:19 -04:00
messagecache.go util/cmpx: delete now that we're using Go 1.22 2024-02-07 18:10:15 -08:00