diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-23 13:48:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-23 13:55:28 +0700 |
| commit | 1b10f5c1d9b0d91e9675963b8307180cbf222b4e (patch) | |
| tree | c77b196f4cf974f7e5cf753bb646de980a299dd4 /rescached.go | |
| parent | fb9c1047024a47497318b15dcc8d0d4ed782397a (diff) | |
| download | rescached-1b10f5c1d9b0d91e9675963b8307180cbf222b4e.tar.xz | |
go.mod: update all dependencies and set Go mod version to 1.20
The update on share module affect the following changes,
* lib/dns: removing dns.ZoneRecords, replacing it with
map[string][]*dns.ResourceRecord
* lib/dns: file Name in Zone renamed to Origin
* lib/dns: replace call to Caches.InternalPopulate with
InternalPopulateZone that accept zone as parameter
Diffstat (limited to 'rescached.go')
| -rw-r--r-- | rescached.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rescached.go b/rescached.go index 3f9ceed..635405c 100644 --- a/rescached.go +++ b/rescached.go @@ -136,7 +136,7 @@ func (srv *Server) Start() (err error) { } } for _, zone = range srv.env.zoned { - srv.dns.Caches.InternalPopulate(zone.Messages(), zone.Path) + srv.dns.Caches.InternalPopulateZone(zone) } if len(srv.env.FileResolvConf) > 0 { |
