aboutsummaryrefslogtreecommitdiff
path: root/rescached.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-23 13:48:54 +0700
committerShulhan <ms@kilabit.info>2023-09-23 13:55:28 +0700
commit1b10f5c1d9b0d91e9675963b8307180cbf222b4e (patch)
treec77b196f4cf974f7e5cf753bb646de980a299dd4 /rescached.go
parentfb9c1047024a47497318b15dcc8d0d4ed782397a (diff)
downloadrescached-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.go2
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 {