feat: return hostname suffix on AgentConnectionInfo (#17334)

Adds the Hostname Suffix to `AgentConnectionInfo` --- the VPN provider will use it to control the suffix for DNS hostnames.

part of: #16828
This commit is contained in:
Spike Curtis
2025-04-11 13:09:51 +04:00
committed by GitHub
parent 60fbe675ed
commit 12dc086628
7 changed files with 45 additions and 2 deletions
+1
View File
@@ -143,6 +143,7 @@ type AgentConnectionInfo struct {
DERPMap *tailcfg.DERPMap `json:"derp_map"`
DERPForceWebSockets bool `json:"derp_force_websockets"`
DisableDirectConnections bool `json:"disable_direct_connections"`
HostnameSuffix string `json:"hostname_suffix"`
}
func (c *Client) AgentConnectionInfoGeneric(ctx context.Context) (AgentConnectionInfo, error) {