AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

关于缓存配置

Open bzlzm opened this issue 11 months ago • 3 comments

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 request a feature or enhancement and not ask a question

The problem

本人管理了多台路由器,在路由器上都配置了adguardhome,通过ddns动态域名连接,这些路由器都是家庭宽带,每隔几天会自动拨号,我的adguardhome配置了比较大的缓存,所以每当路由重新拨号后ip变更导致ddns迟迟不能生效。

Proposed solution

希望作者考虑加入针对指定域名不缓存的功能,谢谢!

Alternatives considered and additional information

No response

bzlzm avatar May 01 '25 07:05 bzlzm

You can disable the AdguardHome cache (Set it to 0)

tjharman avatar May 09 '25 03:05 tjharman

他要的是关闭指定域名的DNS缓存,目前在的版本是没看到有配置选项的;目前看到支持这种功能的只有smartdns有能够直接配置的,可以配置smartdns作为上游DNS来实现指定域名不缓存的功能。

Image

e703 avatar May 21 '25 04:05 e703

其实就是需要一个根据不同域名自定义TTL的功能,放在dnsrewrite里面就好,不需要缓存的可以直接ttl设置为0或者比较小的值, 那种长期不怎么变IP的就调大

MDZZ-123 avatar May 25 '25 08:05 MDZZ-123