aboutsummaryrefslogtreecommitdiff
path: root/environment.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-12-04 00:44:07 +0700
committerShulhan <ms@kilabit.info>2021-12-04 00:44:07 +0700
commit4070dc72fd494e81fabaaeee16f3804e575f3c62 (patch)
treef4bc5917e8d3a0be3b5fa6c3321d96d489f779ed /environment.go
parent33b6afc6e94eb01fac34be142b468b0d824b1273 (diff)
downloadrescached-4070dc72fd494e81fabaaeee16f3804e575f3c62.tar.xz
all: sync with latest share module
This changes update the code based on refactoring on lib/dns package on share module.
Diffstat (limited to 'environment.go')
-rw-r--r--environment.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.go b/environment.go
index bd316c6..fdf4bd4 100644
--- a/environment.go
+++ b/environment.go
@@ -61,7 +61,7 @@ type environment struct {
HostsBlocksRaw []string `ini:"rescached::hosts_block" json:"-"`
HostsBlocks []*hostsBlock
HostsFiles map[string]*dns.HostsFile
- ZoneFiles map[string]*dns.ZoneFile
+ Zones map[string]*dns.Zone
}
func loadEnvironment(file string) (env *environment) {