Closed Bug 168566 Opened 18 years ago Closed 17 years ago

DNS: find way of supporting network.dnsCacheExpiration


(Core :: Networking, defect)

Windows 2000
Not set





(Reporter: bert690, Assigned: gordon)



Mozilla 1.1 caches DNS entries for a VERY long time and there is no way to
override it. In Netscape (and I believe earlier versions of Mozilla) I could
always include the following line in my prefs:

pref("network.dnsCacheExpiration", 30)

... in order to set the DNS cache expieration to 30 seconds, as opposed to the
gross 15 or some-odd MINUTE default.  This seems to be completely ignored by
Mozilla 1.1. Worse, the cache time seems to now be much more than 15 minutes.

I've forced an IP address change, verified it has been recorded by my nameserver
(TTL was 1 minute and it was abided by), yet 25+ minutes later Mozilla is still
attempting to load the page from the old address (and failing since the old
address is now invalid).  IE on the other hand has picked up the IP change
(after ~15 minutes) and is now loading the page just FINE. 

This is a MAJOR problem for us dynamic DNS users. Please fix!!!!
Ever confirmed: true
Keywords: nsbeta1
Summary: overzealous DNS cache ignoring network.dnsCacheExpiration prefs setting and caching for WAY TOO LONG → DNS: find way of supporting network.dnsCacheExpiration
This summary is more readable and to the point...

We probably also need to change the cache so DNS caches entries for pinned
content differently than for session-based connections (IMAP, NNTP).
Keywords: helpwanted
to gordon.
Assignee: new-network-bugs → gordon
*** Bug 192127 has been marked as a duplicate of this bug. ***
My mozilla's been caching for hours. I'm considering uninstalling it altogether.
This very same problems appears in Mozilla-mach on Mac OS X also. 

I consider this a critical bug, since this could (in the worst case) lead to
compromising private data and identity theft, as forms and cookies may end up
sent to the wrong server. 

I would like to see this bug's SEVERITY set to CRITICAL. Also, please add
'PRIVACY' to the keywords section and set the OSs to 'All'. 

(I could also file a duplicate bug and set the fields accordingly, If this is
the preferred way)
Thomas: see bug 151929 (support for TTL) and bug 162871 (DNS 'pinning' forever)
adt: nsbeta1-
Keywords: nsbeta1nsbeta1-
*** Bug 208209 has been marked as a duplicate of this bug. ***
probably a duplicate of bug 162871.. should be solved by the DNS rewrite for
mozilla 1.6.
Depends on: 205726
per Darin's comments.
Once I get organized in my new office, I'll actually test and verify this.
Closed: 17 years ago
Keywords: verifyme
Resolution: --- → FIXED
Keywords: helpwanted, verifyme
You need to log in before you can comment on or make changes to this bug.