You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrea Gottardo
d060b3fa02
cli: implement `tailscale dns status` ( #13353 )
...
Updates tailscale/tailscale#13326
This PR begins implementing a `tailscale dns` command group in the Tailscale CLI. It provides an initial implementation of `tailscale dns status` which dumps the state of the internal DNS forwarder.
Two new endpoints were added in LocalAPI to support the CLI functionality:
- `/netmap`: dumps a copy of the last received network map (because the CLI shouldn't have to listen to the ipn bus for a copy)
- `/dns-osconfig`: dumps the OS DNS configuration (this will be very handy for the UI clients as well, as they currently do not display this information)
My plan is to implement other subcommands mentioned in tailscale/tailscale#13326 , such as `query`, in later PRs.
Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
2 years ago
..
art
all: fix new lint warnings from bumping staticcheck
2 years ago
captivedetection
net/captivedetection: mark TestAllEndpointsAreUpAndReturnExpectedResponse flaky ( #13021 )
2 years ago
connstats
all: use Go 1.22 range-over-int
2 years ago
dns
cli: implement `tailscale dns status` ( #13353 )
2 years ago
dnscache
net/dnscache: use parent context to perform lookup
2 years ago
dnsfallback
{control,net}: close idle connections of custom transports
2 years ago
flowtrack
net/flowtrack: fix, test String method
2 years ago
ipset
go.mod: bump bart
2 years ago
ktimeout
net/ktimeout: add a package to set TCP user timeout
2 years ago
memnet
net/memnet: export the network name ( #9111 )
3 years ago
netaddr
all: update copyright and license headers
3 years ago
netcheck
health: introduce captive-portal-detected Warnable ( #12707 )
2 years 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
2 years ago
netns
net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses
2 years ago
netstat
all: add test for package comments, fix, add comments as needed
2 years ago
netutil
all: add test for package comments, fix, add comments as needed
2 years ago
packet
wgengine/magicsock: actually use AF_PACKET socket for raw disco
2 years ago
ping
net/ping: fix ICMP echo code field to 0
3 years ago
portmapper
all: use math/rand/v2 more
2 years 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
2 years ago
sockstats
net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon
2 years ago
speedtest
all: update copyright and license headers
3 years ago
stun
ci: enable checklocks workflow for specific packages
2 years 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
2 years ago
tsaddr
net/ipset, wgengine/filter/filtertype: add split-out packages
2 years ago
tsdial
{control,net}: close idle connections of custom transports
2 years ago
tshttpproxy
all: use Go 1.22 range-over-int
2 years ago
tstun
net/tstun: clarify GROFilterFunc *gro.GRO usage ( #13318 )
2 years ago
wsconn
go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket
2 years ago