8

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

user3448600
  • 3,648
  • 5
  • 17
  • 23

2 Answers2

14

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.

Anu
  • 1,079
  • 8
  • 12
Zedorg
  • 170
  • 1
  • 5
0

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

Community
  • 1
  • 1
Matteo Conta
  • 1,423
  • 13
  • 17