From 371261b2c66a0b9b64c8c3e2262eb11b982b8572 Mon Sep 17 00:00:00 2001 From: Dimitry Kolyshev Date: Tue, 20 Jun 2023 10:36:20 +0300 Subject: [PATCH] Pull request: dnsforward: stat empty queries Merge in DNS/adguard-home from 5910-stats-malformed-entry to master Squashed commit of the following: commit ea6718daf0d65dc4b13cd08430da7fdeb6f7fd5b Author: Dimitry Kolyshev Date: Mon Jun 19 17:34:50 2023 +0400 all: imp docs commit 5341c5b351c87556b91a7f692960edc76f44b21a Author: Dimitry Kolyshev Date: Mon Jun 19 16:47:13 2023 +0400 all: docs commit 1703c421f501484a80ddcf4ca1ba24f71fa5d225 Merge: f56b62490 d26c480d0 Author: Dimitry Kolyshev Date: Mon Jun 19 16:46:13 2023 +0400 Merge remote-tracking branch 'origin/master' into 5910-stats-malformed-entry # Conflicts: # CHANGELOG.md commit f56b62490c7033e1d0b620a9cb4ba8de64862de0 Author: Dimitry Kolyshev Date: Mon Jun 19 14:49:43 2023 +0400 all: docs commit be954a8cab950d038c8cf08b95158069fa0747ba Author: Dimitry Kolyshev Date: Mon Jun 19 14:44:05 2023 +0400 querylog: empty queries commit 0cda309d402156e750c7387e471da6795aa43bd6 Author: Dimitry Kolyshev Date: Mon Jun 19 14:26:41 2023 +0400 dnsforward: stat empty queries --- CHANGELOG.md | 3 +++ internal/dnsforward/stats.go | 5 ++++- internal/dnsforward/stats_test.go | 32 +++++++++++++++++++++++++++++-- internal/querylog/qlog.go | 9 ++++++--- internal/querylog/qlog_test.go | 19 ++++++++++-------- 5 files changed, 54 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12ac29a6..941c3ed6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,10 +82,13 @@ In this release, the schema version has changed from 20 to 21. ### Fixed +- Queries with the question-section target `.`, for example `NS .`, are now + counted in the statistics and correctly shown in the query log ([#5910]). - Safe Search not working with `AAAA` queries for Yandex domains ([#5913]). [#951]: https://github.com/AdguardTeam/AdGuardHome/issues/951 [#1577]: https://github.com/AdguardTeam/AdGuardHome/issues/1577 +[#5910]: https://github.com/AdguardTeam/AdGuardHome/issues/5910 [#5913]: https://github.com/AdguardTeam/AdGuardHome/issues/5913