Skip to content

Commit

Permalink
all: missing ip in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Mar 5, 2024
1 parent 7f24fc7 commit 1d30c09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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]).

Expand Down
4 changes: 2 additions & 2 deletions internal/dnsforward/stats.go
Expand Up @@ -46,7 +46,7 @@ func (s *Server) processQueryLogsAndStats(dctx *dnsContext) (rc resultCode) {
dns.Class(cl),
dns.Type(qt),
host,
ip,
ipStr,
)
}

Expand All @@ -58,7 +58,7 @@ func (s *Server) processQueryLogsAndStats(dctx *dnsContext) (rc resultCode) {
dns.Class(cl),
dns.Type(qt),
host,
ip,
ipStr,
)
}

Expand Down

0 comments on commit 1d30c09

Please sign in to comment.