mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-03-13 10:26:06 +00:00
12 lines
561 B
Go
12 lines
561 B
Go
package ctrld
|
|
|
|
// VPNDNSConfig represents DNS configuration discovered from a VPN interface.
|
|
// Used by the dns-intercept mode to detect VPN split DNS settings and
|
|
// route matching queries to VPN DNS servers automatically.
|
|
type VPNDNSConfig struct {
|
|
InterfaceName string // VPN adapter name (e.g., "F5 Networks VPN")
|
|
Servers []string // DNS server IPs (e.g., ["10.50.10.77"])
|
|
Domains []string // Search/match domains (e.g., ["provisur.local"])
|
|
IsExitMode bool // True if this VPN is also the system default resolver (exit node mode)
|
|
}
|