feat: add configurable DNS match domain for tailnet connections (#17336)

Use the hostname suffix to set the DNS match domain when creating a Tailnet as part of the vpn `Tunnel`.

part of: #16828
This commit is contained in:
Spike Curtis
2025-04-11 15:00:48 +04:00
committed by GitHub
parent 69aa365169
commit 9e2af3e127
6 changed files with 65 additions and 34 deletions

View File

@ -1309,7 +1309,7 @@ func NewTunnelAllWorkspaceUpdatesController(
t := &TunnelAllWorkspaceUpdatesController{
logger: logger,
coordCtrl: c,
dnsNameOptions: DNSNameOptions{"coder"},
dnsNameOptions: DNSNameOptions{CoderDNSSuffix},
}
for _, opt := range opts {
opt(t)