pkg/dns/dns_linux.go
Method Config.SetupDNS
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *Config) SetupDNS(ctx context.Context) error {
config := c.Config
tunName := c.TunName
log.Debugf("Setting up DNS...")
// TODO consider use https://wiki.debian.org/NetworkManager and nmcli to config DNS