code: func getNameservers(path string, defaults []string) []string {
  	config, err := dns.ClientConfigFromFile(path)
  	if err != nil || len(config.Servers) == 0 {
  		return defaults
  	}
  
  	return ParseNameservers(config.Servers)
  }
docs: // getNameservers attempts to get systems nameservers before falling back to the defaults