We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 835894a commit f5fcec3Copy full SHA for f5fcec3
dns/resolv.go
@@ -146,10 +146,9 @@ func WriteResolvConf(filename string) error {
146
filename = DefaultResolveConfFilename
147
}
148
149
- content := fmt.Sprintf(`# Generated by agentuity/go-common/dns
+ content := `# Generated by agentuity/go-common/dns
150
nameserver 127.0.0.1
151
-search %s
152
-`, DefaultInternalDomain)
+`
153
154
// Write the file with appropriate permissions (0644)
155
if err := os.WriteFile(filename, []byte(content), 0644); err != nil {
0 commit comments