diff --git a/dns/dns_unix.go b/dns/dns_unix.go index e2c23c88..ed8610d5 100644 --- a/dns/dns_unix.go +++ b/dns/dns_unix.go @@ -16,6 +16,6 @@ func DNS(ip string) error { log.Error(err) } filename := filepath.Join("/", "etc", "resolver", "local") - fileContent := "nameserver " + ip + "\nsearch default.svc.cluster.local svc.cluster.local cluster.local\noptions ndots:5" + fileContent := "nameserver " + ip return ioutil.WriteFile(filename, []byte(fileContent), fs.ModePerm) }