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
Nick Khyl f07ff47922 net/dns/resolver: add tests for using a forwarder with multiple upstream resolvers
If multiple upstream DNS servers are available, quad-100 sends requests to all of them
and forwards the first successful response, if any. If no successful responses are received,
it propagates the first failure from any of them.

This PR adds some test coverage for these scenarios.

Updates #13571

Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
art all: fix new lint warnings from bumping staticcheck 1 year ago
captivedetection net/captivedetection: set Timeout on net.Dialer (#13613) 1 year ago
connstats all: use Go 1.22 range-over-int 2 years ago
dns net/dns/resolver: add tests for using a forwarder with multiple upstream resolvers 1 year ago
dnscache net/dnscache: don't fall back to an IPv6 dial if we don't have IPv6 1 year ago
dnsfallback {control,net}: close idle connections of custom transports 1 year ago
flowtrack net/flowtrack: fix, test String method 1 year ago
ipset go.mod: bump bart 1 year ago
ktimeout net/ktimeout: add a package to set TCP user timeout 2 years ago
memnet net/memnet: export the network name (#9111) 2 years ago
netaddr all: update copyright and license headers 3 years ago
netcheck net/netcheck: fix netcheck cli-triggered nil pointer deref (#13782) 1 year ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 2 years ago
netknob all: update copyright and license headers 3 years ago
netmon all: fix new lint warnings from bumping staticcheck 1 year ago
netns net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 1 year ago
netstat all: add test for package comments, fix, add comments as needed 1 year ago
netutil {ipn,net,tsnet}: use tsaddr helpers 1 year ago
packet wgengine/magicsock: actually use AF_PACKET socket for raw disco 1 year ago
ping net/ping: fix ICMP echo code field to 0 2 years ago
portmapper net/portmapper: don't treat 0.0.0.0 as a valid IP 1 year ago
proxymux all: cleanup unused code, part 1 (#10661) 2 years ago
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2 years ago
socks5 net/socks5: support UDP 1 year ago
sockstats net/sockstats: quiet some log spam in release builds 1 year ago
speedtest all: update copyright and license headers 3 years ago
stun ci: enable checklocks workflow for specific packages 1 year ago
stunserver all: use Go 1.22 range-over-int 2 years ago
tcpinfo all: use Go 1.22 range-over-int 2 years ago
tlsdial cmd/tta, vnet: add host firewall, env var support, more tests 1 year ago
tsaddr net/tsaddr: add WithoutExitRoutes and IsExitRoute 1 year ago
tsdial {control,net}: close idle connections of custom transports 1 year ago
tshttpproxy all: use Go 1.22 range-over-int 2 years ago
tstun util/usermetrics: make usermetrics non-global 1 year ago
wsconn go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket 1 year ago