mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: vpn uses WorkspaceHostnameSuffix for DNS names (#17335)
Use the hostname suffix to set DNS names as programmed into the DNS service and returned by the vpn `Tunnel`. part of: #16828
This commit is contained in:
@@ -143,7 +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"`
|
||||
HostnameSuffix string `json:"hostname_suffix,omitempty"`
|
||||
}
|
||||
|
||||
func (c *Client) AgentConnectionInfoGeneric(ctx context.Context) (AgentConnectionInfo, error) {
|
||||
|
||||
Reference in New Issue
Block a user