How long google chrome and firefox cache DNS records

前端 未结 2 1012
生来不讨喜
生来不讨喜 2021-01-13 07:49

For how long Firefox and Chrome cache DNS records in its own(browser) DNS cache ? Do they respect

相关标签:
2条回答
  • 2021-01-13 08:11

    Try also this solution, it uses the "hidden" top right black arrow in the chrome net-internals page. It works immediately.

    Prevent Chrome from caching a site's DNS records

    0 讨论(0)
  • 2021-01-13 08:24

    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.

    0 讨论(0)
提交回复
热议问题