谷歌铬和Firefox缓存DNS记录多长时间 [英] How long google chrome and firefox cache DNS records
问题描述
这里有两个配置值 Firefox :
network.dnsCacheExpiration
和 network.dnsCacheExpirationGracePeriod
60秒(v45)。
更多信息: http://kb.mozillazine.org/Network.dnsCacheExpiration
在 Chrome中:
chrome:// net-internals /#dns看起来默认是30秒(v49)。
不要忘记你的系统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 30 seconds (v49).
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.
这篇关于谷歌铬和Firefox缓存DNS记录多长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!