AdGuard Home 支持 prefetch-domain 么
之前用的 smartDNS,我最满意的几个功能之一就是 prefetch-domain 。不知道是否相关功能,或者去提 request ?
如果暂时没有这个功能,只能修改端口把 AdGuard Home 做成 5353 之类的,然后 smartDNS 做前端。坏处是,把 AdGuard Home 监控的功能废了
之前用的 smartDNS,我最满意的几个功能之一就是 prefetch-domain 。不知道是否相关功能,或者去提 request ?
如果暂时没有这个功能,只能修改端口把 AdGuard Home 做成 5353 之类的,然后 smartDNS 做前端。坏处是,把 AdGuard Home 监控的功能废了
如果是 TTL 到期,缓存变成 invalid 后,如果缺少 prefetch 机制,下次的客户端请求会比较慢,反应的是 DNS 请求时间,会出去若干个峰值
smartdns 的解释
Domain name pre-fetch, more faster to access popular websites.
解析时间不是问题,关键是返回的 IP 。
1. 基本上的应用,都是选第一个 IP,如果能工作就工作,并没有选最优的
2. 我试过,alidns,dnspod 各自对自家域支持的最好,运营商属于准第一梯队。(不提 移动宽带 or 非知名域名的一些小手段了)
另外还有几个内部的 ip 需要做解析。
我试试 smart 做上游,去验证下,AdGuard Home 的 Blocked DNS list 工作的如何
看到的解决思路如下,理解是 lazy load
When the local DNS cache expires, Adguard Home can continue answer with the IP in the local cache results with 1 TTL, while a new DNS query is made to update the cache. If client can still connect to the server by using the old results, then that’s great and reduces the time waiting for DNS query. And if not, after a short TTL, the new DNS result can be sent to client and reconnect again.
https://github.com/AdguardTeam/AdGuardHome/issues/2145
#6,可以理解为一个生产系统,响应时间尽量拉平,不要经常出尖峰值的点,个人追求。
相对来说,我看重的。共同的东西有很多,有几个亮点
adghome, web interface (修改不用 ssh 上) + monitor
smartdns, Domain name pre-fetch
ttl 还是默认好了。。 没想法
dcompass 默认 lazy_load,请求一次后在过期后仍会使用最近一次 cache,并且再次发起请求在后台更新