谷歌浏览器和火狐浏览器缓存 DNS 记录多长时间 [英] How long google chrome and firefox cache DNS records
问题描述
Firefox 和 Chrome 在自己的(浏览器)DNS 缓存中缓存 DNS 记录多长时间?他们尊重TTL吗?
我认为它是 Firefox 的重复使 dns 缓存无效
在 Firefox 中有两个配置值:network.dnsCacheExpiration
和 network.dnsCacheExpirationGracePeriod
,默认为 60 秒 (v45).
更多信息:http://kb.mozillazine.org/Network.dnsCacheExpiration>
在 Chrome 中:chrome://net-internals/#dns 似乎默认是 ~1 分钟(v66).
不要忘记您的系统 DNS 缓存.浏览器不直接与 DNS 服务器对话,而是与您的系统解析器对话,因此 TTL 在这里无关紧要.
For how long Firefox and Chrome cache DNS records in its own(browser) DNS cache ? Do they respect TTL ?
I think its a duplication of Firefox invalidate dns cache
There are two configuration values for it in Firefox:
network.dnsCacheExpiration
and network.dnsCacheExpirationGracePeriod
with a default of 60 seconds (v45).
More info: http://kb.mozillazine.org/Network.dnsCacheExpiration
In Chrome: chrome://net-internals/#dns It seems the default is ~1minute (v66).
Don't forget about your system DNS cache. The browser does not talk with the DNS server directly, but rather your system resolver, so TTL is irrelevant here.
这篇关于谷歌浏览器和火狐浏览器缓存 DNS 记录多长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!