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/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>
3 years ago
..
dns-fallback-servers.json cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
dnsfallback.go net/dnsfallback: do not attempt lookups of IPs. 3 years ago
dnsfallback_test.go net/dnsfallback: don't depend on derpmap.Prod 3 years ago
generate.go .github/workflows: work around golang/go#51629 3 years ago
update-dns-fallbacks.go all: gofmt with Go 1.17 3 years ago