diff options
author | 2018-02-16 03:44:50 -0500 | |
---|---|---|
committer | 2018-02-16 09:44:50 +0100 | |
commit | ba573c0f407732527209b717866637e4b3093804 (patch) | |
tree | 5b5ab41891017b20e9db30a6b7957b1358f74588 /plugin/file/zone.go | |
parent | fc1d73ffa9ae193c4cfca4adc194ae43f9360dbb (diff) | |
download | coredns-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.go | 4 |
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. |