X
Tap here to go to the mobile version of the site.

Support Forum

Where does Firefox keep cached DNS responses?

Posted

I am running Firefox ESR 60.4.0. I have noticed that if I load a page, close the browser, reopen the browser and load the same page, duplicate DNS queries are sent, even at intervals less than the TTL or default cache expiration period. This behavior does not appear to be affected whether or not I change my privacy settings to clear the history when the browser closes. I am trying to understand if this repetition is normal, and where (if anywhere) in the file system the Firefox DNS cache is stored.

I am running Firefox ESR 60.4.0. I have noticed that if I load a page, close the browser, reopen the browser and load the same page, duplicate DNS queries are sent, even at intervals less than the TTL or default cache expiration period. This behavior does not appear to be affected whether or not I change my privacy settings to clear the history when the browser closes. I am trying to understand if this repetition is normal, and where (if anywhere) in the file system the Firefox DNS cache is stored.

Chosen solution

hi rlhouser, firefox is keeping resolved dns entries in memory only (you can access them by typing "about:networking#dns" into the address bar). there is no dns cache on disk - as a result it's expected that no recollection is kept after a browser restart.

Read this answer in context 1
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

More Information

philipp
  • Top 25 Contributor
  • Moderator
5281 solutions 23331 answers

Chosen Solution

hi rlhouser, firefox is keeping resolved dns entries in memory only (you can access them by typing "about:networking#dns" into the address bar). there is no dns cache on disk - as a result it's expected that no recollection is kept after a browser restart.

hi rlhouser, firefox is keeping resolved dns entries in memory only (you can access them by typing "about:networking#dns" into the address bar). there is no dns cache on disk - as a result it's expected that no recollection is kept after a browser restart.
Was this helpful to you? 1
Quote

Question owner

Thank you.

Thank you.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.