Pull request 2160: AG-30904-fix-ip-in-logs

Squashed commit of the following:

commit 0a54ca2746dac7a21d05265f26c161df763af7d8
Merge: 1d30c0995 5565b9e1c
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Wed Mar 6 16:19:36 2024 +0300

    Merge branch 'master' into AG-30904-fix-ip-in-logs

commit 1d30c099577bda192609049bab4510cf6f69a972
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Tue Mar 5 17:14:02 2024 +0300

    all: missing ip in logs
This commit is contained in:
Stanislav Chzhen 2024-03-06 17:09:06 +03:00
parent 5565b9e1c1
commit 98bcadd00c
2 changed files with 4 additions and 2 deletions

View File

@ -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]).

View File

@ -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,
)
}