diff options
Diffstat (limited to 'middleware/proxy')
-rw-r--r-- | middleware/proxy/README.md | 2 | ||||
-rw-r--r-- | middleware/proxy/upstream_test.go | 3 |
2 files changed, 4 insertions, 1 deletions
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(), |