AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

客户端自定义上游无法缓存

Open jiuyue52 opened this issue 1 year ago • 2 comments

Prerequisites

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

jiuyue52 avatar Apr 14 '25 09:04 jiuyue52

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.

Sil3ntVip3r avatar Aug 03 '26 15:08 Sil3ntVip3r

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.

sofvaskina avatar Aug 28 '26 13:08 sofvaskina