diff --git a/pkg/dns/common.go b/pkg/dns/common.go index d10f2bdb..4fa0f477 100644 --- a/pkg/dns/common.go +++ b/pkg/dns/common.go @@ -47,8 +47,6 @@ func EnsureIPv4(domainName string) (string, error) { }, } - logrus.Debugf("created DNS resolver via %s", freifunkDNS) - ctx := context.Background() ips, err := resolver.LookupIPAddr(ctx, domainName) if err != nil { @@ -60,7 +58,7 @@ func EnsureIPv4(domainName string) (string, error) { } ipv4 = ips[0].IP.To4().String() - logrus.Debugf("discovered the following ipv4 addr: %s", ipv4) + logrus.Debugf("%s points to %s (resolver: %s)", domainName, ipv4, freifunkDNS) return ipv4, nil }