客户端自定义上游无法缓存
Prerequisites
-
[x] I have checked the Wiki and Discussions and found no answer
-
[x] I have searched other issues and found no duplicates
-
[x] I want to report a bug and not ask a question or ask for help
-
[x] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Darwin (aka macOS), AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.108.0-b.66
Action
客户端自定义上游,开启并配置缓存,经过一天后查询日志,没有从缓存中的,观察其余使用全局上游的客户端,发现有缓存
Expected result
客户端自定义上游能够正常缓存
Actual result
客户端自定义上游无法正常缓存
Additional information and/or screenshots
No response
This was fixed in v0.107.62. Commit 2c46bc92 corrected lookup of persistent clients using custom upstream configurations and added regression coverage; the v0.107.62 changelog explicitly lists “DNS cache not working for custom upstream configurations” under Fixed.\n\nI verified the v0.107.62 tagged source contains the correction and ran the current retained TestStorage_CustomUpstreamConfig regression 20 times under the race detector; all repetitions passed. The reported v0.108.0-b.66 predates the fix, while beta b.69 and current releases contain it.\n\nThis issue can be closed as fixed. If the cache still does not work on v0.107.62 or newer, please provide the exact version and the persistent client fields upstreams, upstreams_cache_enabled, and upstreams_cache_size with addresses/identifiers redacted.
Hello. Yes, there was indeed such an issue, but it has been fixed in v0.107.62 and beta versions ≥ v0.108.0-b.69.