aboutsummaryrefslogtreecommitdiff
path: root/plugin/proxy/lookup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/proxy/lookup.go')
-rw-r--r--plugin/proxy/lookup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/proxy/lookup.go b/plugin/proxy/lookup.go
index 51b8c4690..01dd4b94a 100644
--- a/plugin/proxy/lookup.go
+++ b/plugin/proxy/lookup.go
@@ -3,7 +3,6 @@ package proxy
// functions other plugin might want to use to do lookup in the same style as the proxy.
import (
- "context"
"fmt"
"net"
"sync/atomic"
@@ -13,6 +12,7 @@ import (
"github.com/coredns/coredns/request"
"github.com/miekg/dns"
+ "golang.org/x/net/context"
)
// NewLookup create a new proxy with the hosts in host and a Random policy.