From 9f93a21bf6b3aa4bc4015aa840095f9c4694ffe0 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Thu, 13 Jul 2023 18:18:49 +0300 Subject: [PATCH] all: imp client resolving --- CHANGELOG.md | 3 + internal/dnsforward/config.go | 5 +- internal/dnsforward/dnsforward.go | 16 +- internal/dnsforward/{dns.go => process.go} | 33 +++- .../{dns_test.go => process_internal_test.go} | 0 internal/home/clientaddr.go | 146 +++++++++++++++ internal/home/clients.go | 2 +- internal/home/dns.go | 168 +++--------------- internal/home/home.go | 12 +- 9 files changed, 221 insertions(+), 164 deletions(-) rename internal/dnsforward/{dns.go => process.go} (97%) rename internal/dnsforward/{dns_test.go => process_internal_test.go} (100%) create mode 100644 internal/home/clientaddr.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 851caebd..4f2360b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,8 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- Occasional client information lookup failures leading to DNS resolving getting + stuck ([#6006]). - `bufio.Scanner: token too long` errors when trying to add filtering-rule lists with lines over 1024 bytes long ([#6003]). @@ -34,6 +36,7 @@ NOTE: Add new changes BELOW THIS COMMENT. the `Dockerfile`. [#6003]: https://github.com/AdguardTeam/AdGuardHome/issues/6003 +[#6006]: https://github.com/AdguardTeam/AdGuardHome/issues/6006