diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-08-23 22:13:10 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-08-23 22:13:10 +0700 |
| commit | 4faec4fad593537463427b0e174f2963fff74e0d (patch) | |
| tree | 3af4b647d66e0c0de75cb29ae25f2b992d705453 /environment.go | |
| parent | 504f3bb2656618685646c3223c2819044bbf24bb (diff) | |
| download | rescached-4faec4fad593537463427b0e174f2963fff74e0d.tar.xz | |
all: replace the internal hosts file with dns.HostsFile
Diffstat (limited to 'environment.go')
| -rw-r--r-- | environment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.go b/environment.go index 3b56b32..f8b574e 100644 --- a/environment.go +++ b/environment.go @@ -60,7 +60,7 @@ type environment struct { Debug int `ini:"rescached::debug"` HostsBlocksRaw []string `ini:"rescached::hosts_block" json:"-"` HostsBlocks []*hostsBlock - HostsFiles []*hostsFile + HostsFiles map[string]*dns.HostsFile ZoneFiles map[string]*dns.ZoneFile } |
