Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom client upstream DNS cache configuration not working properly #7250

Closed
4 tasks done
MiKing233 opened this issue Sep 7, 2024 · 2 comments
Closed
4 tasks done
Assignees
Milestone

Comments

@MiKing233
Copy link

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.52

Action

在ADGH的web管理界面頂部的"Settings-Client settings"中, 點擊"Add Client", 設定名稱, 並使用IP地址Identifier辨識該客戶端, 在"Upstream DNS servers"標籤頁, 設定一個與全局上游DNS不一樣的DNS伺服器, 並在底部勾選"Enable DNS caching for this client's custom upstream configuration", 并設定"DNS cache size", 例如134217728bytes

Expected result

此時, 該客戶端的DNS請求應使用單獨設定的DNS上游伺服器, 并且存在DNS緩存

Actual result

但實際結果是, 自定義客戶端的DNS緩存并不生效, 通過檢查log發現, 每一次請求都會從上游DNS伺服器請求, 即使一直請求相同的域名, DNS緩存也不會正常工作, 檢查請求詳情, 其中也并未出現"Served from cache:✅"

Additional information and/or screenshots

No response

@bluenight91
Copy link

Indeed, it's the same for v0.107.53.

@schzhn schzhn self-assigned this Oct 9, 2024
adguard pushed a commit that referenced this issue Oct 10, 2024
Updates #7250.

Squashed commit of the following:

commit 062660f
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Wed Oct 9 17:42:17 2024 +0300

    all: upd chlog

commit 66fa039
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Wed Oct 9 17:30:58 2024 +0300

    home: custom client cache
@schzhn
Copy link
Member

schzhn commented Oct 11, 2024

We've pushed the edge release that contains the fix.

@ainar-g ainar-g added this to the v0.107.54 milestone Nov 6, 2024
@ainar-g ainar-g closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants