From f5753c6a8cac5a57a042b0388f38abeff5d1f37d Mon Sep 17 00:00:00 2001 From: radhitya Date: Thu, 18 Jun 2026 12:42:29 +0700 Subject: migration to new dns library --- internal/resolver/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/resolver/root.go') diff --git a/internal/resolver/root.go b/internal/resolver/root.go index 9dac31c..0557dac 100644 --- a/internal/resolver/root.go +++ b/internal/resolver/root.go @@ -2,7 +2,7 @@ package resolver import ( _ "embed" - "github.com/miekg/dns" + "codeberg.org/miekg/dns" "strings" ) @@ -23,7 +23,7 @@ func loadRootServers() []string { if !ok { continue } - ip := a.A.String() + ip := a.A.Addr.String() if !seen[ip] { seen[ip] = true addrs = append(addrs, ip) -- cgit v1.2.3