aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/zone.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/file/zone.go')
-rw-r--r--middleware/file/zone.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/middleware/file/zone.go b/middleware/file/zone.go
index 21571287d..0c0df1a1f 100644
--- a/middleware/file/zone.go
+++ b/middleware/file/zone.go
@@ -9,6 +9,7 @@ import (
"sync"
"github.com/miekg/coredns/middleware/file/tree"
+ "github.com/miekg/coredns/middleware/proxy"
"github.com/miekg/coredns/request"
"github.com/fsnotify/fsnotify"
@@ -31,6 +32,7 @@ type Zone struct {
NoReload bool
reloadMu sync.RWMutex
ReloadShutdown chan bool
+ Proxy proxy.Proxy // Proxy for looking up names during the resolution process
}
// Apex contains the apex records of a zone: SOA, NS and their potential signatures.