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/dnscache
Kevin Allen c0c182f487 Add flag to disable bootstrap dns
Adds an optional (default off) boolean environment flag
`TS_NO_DNS_FALLBACK` which will simply disable functionality to fallback
to using Tailscale DNS servers as indicated in text logs like:

```
trying bootstrapDNS("derp8c.tailscale.com", "2a03:b0c0:1:d0::e1f:4001")
for "log.tailscale.io" ...
```

For some user environments, it is desirable to strictly control outbound
access to external servers and and leaked data or metadata - and losing
this functionality is a desired trade off.

Closes #7981

Signed-off-by: Kevin Allen <kallen@bostondynamics.com>
2 years ago
..
dnscache.go Add flag to disable bootstrap dns 2 years ago
dnscache_test.go tstest: add method to Replace values for tests 2 years ago
messagecache.go
messagecache_test.go