mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 22:21:41 +00:00
types/dnstype: update the usage documentation on dnstype.Resolver
There was pre-existing additional usage for Exit Node DNS resolution via PeerAPI, as well as new usage just introduced for App Connectors. Fixes ENG-2324 Updates #cleanup Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
parent
0ecfc1d5c3
commit
46fd488a6d
@ -21,6 +21,8 @@ type Resolver struct {
|
|||||||
// as of 2022-09-08 only used for certain well-known resolvers
|
// as of 2022-09-08 only used for certain well-known resolvers
|
||||||
// (see the publicdns package) for which the IP addresses to dial DoH are
|
// (see the publicdns package) for which the IP addresses to dial DoH are
|
||||||
// known ahead of time, so bootstrap DNS resolution is not required.
|
// known ahead of time, so bootstrap DNS resolution is not required.
|
||||||
|
// - "http://node-address:port/path" for DNS over HTTP over WireGuard. This
|
||||||
|
// is implemented in the PeerAPI for exit nodes and app connectors.
|
||||||
// - [TODO] "tls://resolver.com" for DNS over TCP+TLS
|
// - [TODO] "tls://resolver.com" for DNS over TCP+TLS
|
||||||
Addr string `json:",omitempty"`
|
Addr string `json:",omitempty"`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user