谷歌铬和Firefox缓存DNS记录多长时间 [英] How long google chrome and firefox cache DNS records

查看:205
本文介绍了谷歌铬和Firefox缓存DNS记录多长时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Firefox Chrome 缓存 DNS 在自己的(浏览器) DNS 缓存中记录多长时间?他们是否尊重TTL

我认为它是一个重复的



这里有两个配置值 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆