How long google chrome and firefox cache DNS records

前端 未结 2 1138
生来不讨喜
生来不讨喜 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: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.

提交回复
热议问题