We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Where does Firefox keep cached DNS responses?

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by rlhouser

more options

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

All Replies (2)

more options

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.

more options

Thank you.