User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:184.108.40.206) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20090715 Firefox/3.5.1
Firefox's bult-in DNS cache doesn't respect the TTL (time to live) of the resource records (RRs) returned by the DNS server. I read (somewhere on the net) that Firefox instead caches DNS lookups for 1 minute.
In addition to not being standards compliant, this also breaks desired DNS behaviour in circumstances where someone would want to set up a DNS server to give out different responses based on various conditions (such as time, or user authentication status, etc).
Apologies if this is an old/know issue. I searched first, but couldn't find it.
Steps to Reproduce:
1. set up a DNS server that resolves a domain name to an initial IP address and specify a TTL of, say, 5 seconds.
2. browse to that domain name in FF
3. quickly (within, say, 30 seconds) change the DNS server to resolve that domain name to a different IP address
4. browser to that domain name again in FF.
Firefox visits the HTTP server at the initial IP address both steps 2) and 4).
Firefox should visit the HTTP server at the initial IP address in step 2) and at the different IP address in step 4).
Firefox should not cache the DNS lookup of the domain for longer than 5 seconds, as specified by the DNS server. Instead, FF keeps the DNS lookup for longer than the 5 seconds and, in step 4), fails to re-lookup the domain name.
If you read it somewhere it's very likely that this is already reported
*** This bug has been marked as a duplicate of bug 151929 ***