mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 10:25:10 -05:00
add support unix socket for GRPC (#5943)
This commit is contained in:
@@ -25,6 +25,7 @@ func TestSetup(t *testing.T) {
|
||||
{"grpc . 127.0.0.1:8080", false, ".", nil, ""},
|
||||
{"grpc . [::1]:53", false, ".", nil, ""},
|
||||
{"grpc . [2003::1]:53", false, ".", nil, ""},
|
||||
{"grpc . unix:///var/run/g.sock", false, ".", nil, ""},
|
||||
// negative
|
||||
{"grpc . a27.0.0.1", true, "", nil, "not an IP"},
|
||||
{"grpc . 127.0.0.1 {\nblaatl\n}\n", true, "", nil, "unknown property"},
|
||||
|
||||
Reference in New Issue
Block a user