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/cmd
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>
3 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
derper cmd/derper: allow http port configuration 3 years ago
derpprobe derp: use new node key type. 3 years ago
hello all: adapt to opaque netaddr types 4 years ago
mkpkg cmd/mkpkg: allow zero files in a package. 4 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 3 years ago
tailscaled net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 3 years ago
testcontrol cmd/testcontrol: add test control server 3 years ago
tsshd tsshd: fix double exit with different exit codes 3 years ago