tailscale/cmd/tailscaled
Brad Fitzpatrick 39ffa16853 net/dnscache, net/tsdial: add DNS caching to tsdial UserDial
This is enough to handle the DNS queries as generated by Go's
net package (which our HTTP/SOCKS client uses), and the responses
generated by the ExitDNS DoH server.

This isn't yet suitable for putting on 100.100.100.100 where a number
of different DNS clients would hit it, as this doesn't yet do
EDNS0. It might work, but it's untested and likely incomplete.

Likewise, this doesn't handle anything about truncation, as the
exchanges are entirely in memory between Go or DoH. That would also
need to be handled later, if/when it's hooked up to 100.100.100.100.

Updates #3507

Change-Id: I1736b0ad31eea85ea853b310c52c5e6bf65c6e2a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-12-09 11:34:21 -08:00
..
debug.go derp: use new node key type. 2021-10-28 16:02:11 -07:00
depaware.txt net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 2021-12-09 11:34:21 -08:00
install_darwin.go cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon 2021-03-31 15:44:04 -07:00
install_windows.go ipn/ipnlocal: add file sharing to windows shell 2021-04-23 13:32:33 -07:00
proxy.go cmd/tailscaled: add support for running an HTTP proxy 2021-09-28 10:57:46 -07:00
tailscaled_bird.go wgengine/userspace: add support to automatically enable/disable the tailscale 2021-08-30 10:18:05 -07:00
tailscaled_notwindows.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tailscaled_windows.go net/tsdial: give netstack a Dialer, start refactoring name resolution 2021-12-02 11:33:13 -08:00
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 2020-03-13 14:38:04 -07:00
tailscaled.go cmd/tailscaled: move start-up failure logging to one place 2021-12-08 15:13:39 -08:00
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 2021-07-08 14:39:45 -04:00
tailscaled.service cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service 2021-09-28 09:09:24 -07:00