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/dns/resolver
Brad Fitzpatrick ecea6cb994 net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer
Simplify the ability to reason about the DoH dialing code by reusing the
dnscache's dialer we already have.

Also, reduce the scope of the "ip" variable we don't want to close over.

This necessarily adds a new field to dnscache.Resolver:
SingleHostStaticResult, for when the caller already knows the IPs to be
returned.

Change-Id: I9f2aef7926f649137a5a3e63eebad6a3fffa48c0
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
debug.go net/dns/resolver: add debug HTML handler to see what DNS traffic was forwarded 3 years ago
doh_test.go net/dns, util/publicdns: extract public DNS mapping into own package (#4405) 3 years ago
forwarder.go net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 3 years ago
forwarder_test.go net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 3 years ago
macios_ext.go all: simplify ts_macext build tags 3 years ago
tsdns.go net/dns, net/dns/resolver, wgengine: refactor DNS request path (#4364) 3 years ago
tsdns_server_test.go all: use any instead of interface{} 3 years ago
tsdns_test.go net/dns, net/dns/resolver, wgengine: refactor DNS request path (#4364) 3 years ago