AdGuardHome
AdGuardHome copied to clipboard
关于缓存配置
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
You can disable the AdguardHome cache (Set it to 0)
他要的是关闭指定域名的DNS缓存,目前在的版本是没看到有配置选项的;目前看到支持这种功能的只有smartdns有能够直接配置的,可以配置smartdns作为上游DNS来实现指定域名不缓存的功能。
其实就是需要一个根据不同域名自定义TTL的功能,放在dnsrewrite里面就好,不需要缓存的可以直接ttl设置为0或者比较小的值, 那种长期不怎么变IP的就调大