From 2c46bc92fe6d493d48f704ad4779bcd8de23ebc6 Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Fri, 25 Apr 2025 21:33:36 +0300 Subject: [PATCH] Pull request 2399: AGDNS-2686-fix-custom-upstream-cache Merge in DNS/adguard-home from AGDNS-2686-fix-custom-upstream-cache to master Squashed commit of the following: commit 11ad20a225e0e21a59552dc885fbcb2d3acc1cef Author: Stanislav Chzhen Date: Thu Apr 24 18:51:35 2025 +0300 client: imp docs commit e6d73f2d7a9f2ea181b321dd0029cf6c42ddeba5 Author: Stanislav Chzhen Date: Thu Apr 24 17:36:05 2025 +0300 all: imp chlog commit b8fdd884b801db28f03efb00bd871df2332cf40a Author: Stanislav Chzhen Date: Thu Apr 24 17:05:11 2025 +0300 client: fix dhcp clients cache commit 1760699fcb8e61580a48e61037b805b8aa8ca8b4 Author: Stanislav Chzhen Date: Thu Apr 24 15:37:50 2025 +0300 all: upd chlog commit c6f049c200736032e2d78a2023db7d8cc6c32917 Author: Stanislav Chzhen Date: Thu Apr 24 15:33:53 2025 +0300 client: imp tests commit 7432de722292ef74bbdf5fbd875ea67d55b29040 Author: Stanislav Chzhen Date: Thu Apr 24 15:32:26 2025 +0300 client: fix custom upstream cache --- CHANGELOG.md | 2 + internal/client/persistent.go | 9 ++-- internal/client/storage.go | 2 +- internal/client/storage_test.go | 76 +++++++++++++++++++++++------- internal/client/upstreammanager.go | 1 + 5 files changed, 69 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 388ff3dc..99b793f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- DNS cache not working for custom upstream configurations. + - Validation process for the DNS-over-TLS, DNS-over-QUIC, and HTTPS ports on the *Encryption Settings* page.