mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
add support unix socket for GRPC (#5943)
This commit is contained in:
@@ -58,6 +58,16 @@ func TestHostPortOrFile(t *testing.T) {
|
||||
"",
|
||||
true,
|
||||
},
|
||||
{
|
||||
"unix:///var/run/g.sock",
|
||||
"unix:///var/run/g.sock",
|
||||
false,
|
||||
},
|
||||
{
|
||||
"unix://",
|
||||
"",
|
||||
true,
|
||||
},
|
||||
}
|
||||
|
||||
err := os.WriteFile("resolv.conf", []byte("nameserver 127.0.0.1\n"), 0600)
|
||||
|
||||
Reference in New Issue
Block a user