diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-08-22 21:33:15 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-08-22 21:33:15 +0700 |
| commit | 219f6f1c1de617ef5d27fb4eb77f3012d5982ee3 (patch) | |
| tree | 90c79686614f6e528d17c1cf1b79d6019a42ac63 /environment.go | |
| parent | c1756dfca29aa717e85d3295d93aeeff490d914b (diff) | |
| download | rescached-219f6f1c1de617ef5d27fb4eb77f3012d5982ee3.tar.xz | |
all: change "Master" word to "Zone"
While at it,
* update code with latest dns library
* check for empty name servers when updating environment
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 69375f0..3b56b32 100644 --- a/environment.go +++ b/environment.go @@ -61,7 +61,7 @@ type environment struct { HostsBlocksRaw []string `ini:"rescached::hosts_block" json:"-"` HostsBlocks []*hostsBlock HostsFiles []*hostsFile - MasterFiles map[string]*dns.MasterFile + ZoneFiles map[string]*dns.ZoneFile } func loadEnvironment(file string) (env *environment) { |
