tailscale/net/dnsfallback
Maisem Ali b2f269d5b7 net/dnsfallback: do not attempt lookups of IPs.
Currently if the passed in host is an IP, Lookup still attempts to
resolve it with a dns server. This makes it just return the IP directly.

Updates tailscale/corp#4475

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-03-24 22:43:01 -07:00
..
dns-fallback-servers.json cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
dnsfallback_test.go net/dnsfallback: don't depend on derpmap.Prod 2021-06-27 22:07:40 -07:00
dnsfallback.go net/dnsfallback: do not attempt lookups of IPs. 2022-03-24 22:43:01 -07:00
generate.go .github/workflows: work around golang/go#51629 2022-03-17 17:22:17 -07:00
update-dns-fallbacks.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00