tailscale/net/dns/resolver
Brad Fitzpatrick e3a4952527 net/dns/resolver: count errors when racing DNS queries, fail earlier
If all N queries failed, we waited until context timeout (in 5
seconds) to return.

This makes (*forwarder).forward fail fast when the network's
unavailable.

Change-Id: Ibbb3efea7ed34acd3f3b29b5fee00ba8c7492569
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-04-19 11:07:31 -07:00
..
debug.go net/dns/resolver: add debug HTML handler to see what DNS traffic was forwarded 2021-12-21 14:32:36 -08:00
doh_test.go net/dns, util/publicdns: extract public DNS mapping into own package (#4405) 2022-04-14 17:15:54 -04:00
forwarder_test.go net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 2022-04-18 13:18:39 -07:00
forwarder.go net/dns/resolver: count errors when racing DNS queries, fail earlier 2022-04-19 11:07:31 -07:00
macios_ext.go all: simplify ts_macext build tags 2021-08-17 11:13:03 -07:00
tsdns_server_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsdns_test.go net/dns, net/dns/resolver, wgengine: refactor DNS request path (#4364) 2022-04-08 12:17:31 -07:00
tsdns.go net/dns, net/dns/resolver, wgengine: refactor DNS request path (#4364) 2022-04-08 12:17:31 -07:00