diff --git a/middleware/proxy/README.md b/middleware/proxy/README.md index f2de2b48f..3b4f3098d 100644 --- a/middleware/proxy/README.md +++ b/middleware/proxy/README.md @@ -51,7 +51,7 @@ proxy FROM TO... { * `protocol` specifies what protocol to use to speak to an upstream, `dns` (the default) is plain old DNS, and `https_google` uses `https://dns.google.com` and speaks a JSON DNS dialect. Note when using this **TO** will be ignored. The `grpc` option will talk to a server that has implemented - the [DnsService](https://github.com/coredns/coredns/middleware/proxy/pb/dns.proto). + the [DnsService](https://github.com/coredns/coredns/pb/dns.proto). An out-of-tree middleware that implements the server side of this can be found at [here](https://github.com/infobloxopen/coredns-grpc). diff --git a/middleware/proxy/upstream_test.go b/middleware/proxy/upstream_test.go index 88fba69c1..587d96994 100644 --- a/middleware/proxy/upstream_test.go +++ b/middleware/proxy/upstream_test.go @@ -2,6 +2,7 @@ package proxy import ( "io/ioutil" + "log" "os" "path/filepath" "strings" @@ -14,6 +15,8 @@ import ( ) func TestHealthCheck(t *testing.T) { + log.SetOutput(ioutil.Discard) + upstream := &staticUpstream{ from: ".", Hosts: testPool(), diff --git a/test/grpc_test.go b/test/grpc_test.go index f7c47b57c..4e01ea8f0 100644 --- a/test/grpc_test.go +++ b/test/grpc_test.go @@ -58,5 +58,4 @@ func TestGrpc(t *testing.T) { if len(d.Extra) != 2 { t.Errorf("Expected 2 RRs in additional section, but got %s", len(d.Extra)) } - t.Logf("Message %v\n", d) }