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

Open
4 tasks done
MiKing233 opened this issue Sep 7, 2024 · 0 comments
Open
4 tasks done

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant