aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/zone.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2018-02-16 03:44:50 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2018-02-16 09:44:50 +0100
commitba573c0f407732527209b717866637e4b3093804 (patch)
tree5b5ab41891017b20e9db30a6b7957b1358f74588 /plugin/file/zone.go
parentfc1d73ffa9ae193c4cfca4adc194ae43f9360dbb (diff)
downloadcoredns-ba573c0f407732527209b717866637e4b3093804.tar.gz
coredns-ba573c0f407732527209b717866637e4b3093804.tar.zst
coredns-ba573c0f407732527209b717866637e4b3093804.zip
plugin/auto/file/secondary: Use new upstream resolver (#1534)
* move file, auto, secondary to new upstream * include context in request
Diffstat (limited to 'plugin/file/zone.go')
-rw-r--r--plugin/file/zone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/zone.go b/plugin/file/zone.go
index 540c65f0b..3447a942c 100644
--- a/plugin/file/zone.go
+++ b/plugin/file/zone.go
@@ -8,7 +8,7 @@ import (
"sync"
"github.com/coredns/coredns/plugin/file/tree"
- "github.com/coredns/coredns/plugin/proxy"
+ "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/coredns/coredns/request"
"github.com/miekg/dns"
@@ -30,7 +30,7 @@ type Zone struct {
NoReload bool
reloadMu sync.RWMutex
ReloadShutdown chan bool
- Proxy proxy.Proxy // Proxy for looking up names during the resolution process
+ Upstream upstream.Upstream // Upstream for looking up names during the resolution process
}
// Apex contains the apex records of a zone: SOA, NS and their potential signatures.