(cfg dns.OSConfig)
| 11 | } |
| 12 | |
| 13 | func (v *dnsManager) SetDNS(cfg dns.OSConfig) error { |
| 14 | settings := convertDNSConfig(cfg) |
| 15 | return v.tunnel.ApplyNetworkSettings(v.tunnel.ctx, &NetworkSettingsRequest{ |
| 16 | DnsSettings: settings, |
| 17 | }) |
| 18 | } |
| 19 | |
| 20 | func (*dnsManager) GetBaseConfig() (dns.OSConfig, error) { |
| 21 | // Tailscale calls this function to blend the OS's DNS configuration with |
nothing calls this directly
no test coverage detected