diff --git a/CHANGELOG.md b/CHANGELOG.md index 32c2ce9a..72f8f825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,8 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- Missing IP addresses in logs when querying for domain names from the ignore + lists. - Wrong algorithm for caching bootstrapped upstream addresses ([#6723]). - Incorrect tracking of the system hosts file's changes ([#6711]). diff --git a/internal/dnsforward/stats.go b/internal/dnsforward/stats.go index 6a6b9853..220f151c 100644 --- a/internal/dnsforward/stats.go +++ b/internal/dnsforward/stats.go @@ -46,7 +46,7 @@ func (s *Server) processQueryLogsAndStats(dctx *dnsContext) (rc resultCode) { dns.Class(cl), dns.Type(qt), host, - ip, + ipStr, ) } @@ -58,7 +58,7 @@ func (s *Server) processQueryLogsAndStats(dctx *dnsContext) (rc resultCode) { dns.Class(cl), dns.Type(qt), host, - ip, + ipStr, ) }