Firefox seems to be ignoring DNS TTL and DNS resolved cache indefinitely

Hello

Since we started to serve our js and css by CloudFront a few weeks ago, we started to see a problem with Firefox, where these goods would not sometimes be charged.

So far, the only way I could reproduce the problem has been to load our home page in the afternoon, without closing my browser and then refresh the page the next day morning. I know it's pretty extreme, but some customers reported this problem, which means that it happens in both real life scenarios. We have been able to reproduce it on Windows and OSX from our office in New York and Krakow, Poland.

I used Firebug to track down this problem and it seems that Firefox is ignoring the TTL of DNS queries when looking for URLS and caches them almost indefinitely. Due to the constant rotation of the CloudFront servers, after enough time the cached IP address server unresponsive and all applications are abandoned (applications abandoned on the screenshots). That sounds like a plausible explanation? Has anyone have the same problem and has a solution for this?

Screenshot taken: 2013 - 06-13 at 22:29:30 watch the page loaded with success, then one taken on 2013-06-14 at 09:33:30 watch tab firebug "Net" with all requests of the asset given up. Force-refresh the page several times allows, as shown in the screenshot of 09:34:03.

https://S3.amazonaws.com/fpfonts/screen+shot+2013-06-13+at+10.29.30+pm.PNG
https://S3.amazonaws.com/fpfonts/screen+shot+2013-06-13+at+11.31.23+am.PNG
https://S3.amazonaws.com/fpfonts/screen+shot+2013-06-14+at+9.33.30+am.PNG
https://S3.amazonaws.com/fpfonts/screen+shot+2013-06-14+at+9.34.03+am.PNG

The page that we are now it work debugging on is http://preprod.freshpair.com/ (awsforums:awsforums) but I saw this on other sites as well.

Dig the results at a time from the first view of the page:

dig dfndz4rv44deo.cloudfront.net

<> <> DiG 9.7.6 - P1 <> <> dfndz4rv44deo.cloudfront.net
global options: + cmd
The answer:
-> > Header < <-opcode: QUERY, status: NOERROR, id: 16168
flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0
QUESTION SECTION:
dfndz4rv44deo. CloudFront.net. has
SECTION OF THE ANSWER:

dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.137
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.56
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.166
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.49
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.116
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.223
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.164
dfndz4rv44deo. CloudFront.net. 48 IN a 54.240.162.245

Query time: 16 msec
SERVER: 192.168.0.69 #53 (192.168.0.69)
WHEN: Thursday, June 13, 22:29:11 2013
MSG SIZE rcvd: 174

And then the next:

dig dfndz4rv44deo.cloudfront.net

<> <> DiG 9.7.6 - P1 <> <> dfndz4rv44deo.cloudfront.net
global options: + cmd
The answer:
-> > Header < <-opcode: QUERY, status: NOERROR, id: 40362
flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0
QUESTION SECTION:
dfndz4rv44deo. CloudFront.net. has
SECTION OF THE ANSWER:

dfndz4rv44deo. CloudFront.net. 60 IN a 216.137.61.248
dfndz4rv44deo. CloudFront.net. 60 IN a 54.230.94.74
dfndz4rv44deo. CloudFront.net. 60 IN a 54.230.92.193
dfndz4rv44deo. CloudFront.net. 60 IN a 216.137.61.238
dfndz4rv44deo. CloudFront.net. 60 IN a 54.230.95.250
dfndz4rv44deo. CloudFront.net. 60 IN a 216.137.61.145
dfndz4rv44deo. CloudFront.net. 60 IN a 216.137.61.253
dfndz4rv44deo. CloudFront.net. 60 IN a 216.137.61.105

Query time: 183 msec
SERVER: 10.94.2.100 #53 (10.94.2.100)
DATE: Fri Jun 14 09:33:15 2013
MSG SIZE rcvd: 174

Thank you khozlov!

Tags: Firefox

Similar Questions

  • Why Firefox doesn't create so many temporary files in the cache? Once it filled all space (46GB)?

    Every now and then, Firefox will have created zillions of directories and the files cached in the directory for a Firefox profile. The directories are called 0 (zero) and F (using the hexagonal as numbers names, i.e.g), and within each of them will be more directories (with two names of hexadecimal digit). The last time this happened (2 weeks ago), these directories ate ALL my free space on the hard drive (about 46 GB of a value).

    Why does this happen? Can I stop it from happening? If so, how?

    Thank you.

    Yes, it should be easy reset.

    It can be put in

    • Options-> | Advanced | --> | Network | -> Web content caching
      Management of auto-cache to replace]
    • See #w cached web-contentweb-content-_cached

    Probably your auto adjustment has been replaced and the box should uncheck.

    I know that Firefox split cache up like this IIRC it allows faster cache and solves fragmentation issues.

    46GB which seems a surprising amount and cannot be good if he eats all the hard disk space. I also know that the file places.sqlite is a variable size, but it is based on the system in use.

    The regular HTTP cache is also defined without doubt intelligently, but can be replaced by the user
    This has some background info

    My own settings seen in everything: support are

    browser.cache.disk.capacity	358400
    browser.cache.disk.smart_size_cached_value	266240
    browser.cache.disk.smart_size.first_run	false
    

    My use of the cache is limited to about 350 MB

  • Since W10 is released, Firefox seems to have been sabotaged.

    Since W10 is released, Firefox seems to have been sabotaged "voluntarily."

    Repeatedly, I asks me to change my default on firefox browser, despite the fact that it is long established as such.
    It runs much more slowly, with a lot more mistakes.
    I now get apparently screen continuous updating, making almost impossible email screen freezes when it "thinks".
    I now get messages of error of pursuit "(firefox ne répond ne pas) '."

    Hope you can do some alternatives.
    D

    Firefox 40, scheduled to be released next week, will have many patches of compatibility for Windows 10. I hope that will address several issues that you are facing.

    Since you seem to be an "early adopter" type person, you want to try Firefox 40 in his last days of tests?

    Note: Some extensions is perhaps not compatible with Firefox 40, especially the toolbars now of security which tend to be updated simultaneously with or shortly after Firefox versions.

    The following procedure will not remove your settings; don't uninstall NOT Firefox, that does not need.

    (A) download a complete Installer for Firefox 40 'beta' of https://www.mozilla.org/firefox/beta/all/ in a convenient location. (Scroll down your preferred language).

    Note: to retain the use of your plugins installed, I suggest the 32-bit version.

    (B) the release of Firefox (if any).

    (C) to rename the program folder, either:

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\OldFirefox
    

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\OldFirefox
    

    (D) to run the installation program that you downloaded in the #1. It should automatically connect to your existing settings.

    No improvement after this installation?

    Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:

    • \OldFirefox\Plugins
    • \OldFirefox\browser\plugins

    When the final version of Firefox 40 becomes available (approximately 11 August), I propose to install this beta because will be auto-updated to Firefox 41 shortly after and unless you like software testing, maybe it's a little more adventure you are looking for.

  • There is a problem with Firefox 'remembering' my Verizon residential account password. Using Firefox, I have to enter my username and password each time.

    There is a problem with Firefox 'remembering' my Verizon residential account password. Using Firefox, I am obliged to enter my ID and password every time I closed my browser and then restart or close my e-mail for a while, even though I checked the option "keep me connected" significant given by Verizon. I spent a lot of time today working with the technical support of Verizon and they (and I) can verify that it's specific to Firefox and IE is not the case. So far, this seems to be limited to the connection from Verizon, but there may be other affected accounts protected online. If it helps, I run Firefox under Windows 7 with Norton Security and the active Norton toolbar. It is a real pain and needs to be repaired.

    With the modules form filling;

    Go to the web site. After you enter data in a form, tell you the
    fill in form to remember what has been entered, save him form fill
    information based on the address of the site and the name of the
    field of that information was concluded. If the same field shows
    upward on a different page for the same site, or when you return to
    This page, the stored information is entered automatically
    For you. So far, I have not found a web page that prevents them from working.

  • Firefox 32.0.1 ignores min size of the font for some sites

    Firefox 32.0.1 ignores the setting of font size minimum for some sites.
    For example, http://vk.com or http://javaprogrammingforums.com

    At the top of the dialog box fonts, you will notice a selector 'fonts for"who can tell currently in Cyrillic. To match multiple pages on the web, set the minimum font even for 'Western' and 'Other languages' (pages Unicode covers the latter). -What helps with problem sites?

  • I have a message at the bottom of the window saying Firefox seems slow to start with a few buttons to push. This reminds me of PHishing, is it? If so, how get rid of?

    The message is at the bottom of the window and said "Mozilla firefox seems to slow down... to start.
    Teh buttons are
    Find out how to speed it up

    and
    Don't tell me again

    I am always wary of these messages

    Please also update Firefox 28. Thank you!

  • Firefox seems to have recently developed seemingly random usually do not remember bookmarks, particularly when the pc does not stop correctly. Thank you

    Firefox seems to have recently developed seemingly random usually do not remember bookmarks, particularly when the pc does not stop correctly. Thank you

    If Firefox detects that the places.sqlite database is corrupted then Firefox can create a new database file and import bookmarks from a JSON backup that does not contain the most recent bookmarks (a new JSON backup is created when you run Firefox for the first time on a day), then you may lose the bookmarks in such a case.

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

  • Firefox seems to hang or take a break for about 10 seconds after selecting a file in a file upload field

    Windows 7.

    This happens on all websites that uses a file entry box to download images/files.

    I click on Browse.

    Select a file, and then click "Open" in the file browser window.

    Then, firefox seems to hang or take a break for what it is between 5 to 12 seconds, after this time, the name of the file appears in the file input field - you cannot interact with the browser at all during this time.

    Can be reproduced every time i run firefox - does not happen in IE or another browser on that machine.

    Can you check this problem on Firefox 9?

  • Mozilla Firefox Acrobat Reader Plugin ignores the security setting of the PDF document.

    Mozilla Firefox Acrobat Reader Plugin ignores the security setting of the PDF document.

    When, for example, the document is protected against printing (confirmed in Acrobat Reader DC 2015.007 20033) it is possible to print from Mozilla Firefox.

    Environment:

    Windows 7, Firefox 38.0, plugin for Adobe Acrobat Reader 15.7.20033.2203

    Are you sure that you are using the Adobe Reader plugin and not Firefox "own PDF Viewer?  See http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • Ignore the models and processes of color chart by pushing to table

    How can I go on ignoring process colors and color chart of model when you press shades in a table? So far, I've been able to exclude the swatches by name, but ColorType.CMYK does not seem to do... Here is the excerpt in question...

    //Get Document Swatches 
    
    
    var swatchList = docRef.swatches;
    
    
    var colorList = [];
    
    
    
    
    for(var k=0; k< swatchList.length; k++) {
        if (swatchList[k].name.toLowerCase() != "thru-cut" && swatchList[k].name.toLowerCase() != "[registration]"// 
        && swatchList[k].name.toLowerCase() != "[none]" && swatchList[k].name.toLowerCase() != "cut line" //
        && swatchList[k] != ColorType.CMYK){
           
           colorList.push(swatchList[k].name);
               }
           }
    

    I'm passing on the syntax for ColorType offshore? While I'm there at - it a way to clean this list to make things more easy Add/Remove in the future. Ideally, I think I'd have a table that contains just the color chart to ignore... something like this:

    var ignoredSwatches = ["thru-cut", "[registration]"]
    
    for (var k=0; k<swatchList.length; k++) {
         if swatchList[k].name.toLowerCase() != ignoredSwatches {
              colorList.push(swatchList[k].name);
              }
         }
    

    Thanks in advance, people.

    Ok. I figured out the syntax to ignore certain types of color which is the following:

    &&  swatchList[k].color.typename != "CMYKColor"
    

    the syntax is the same for pattern or RGB colors as well. If this problem is solved.

    does anyone have an idea on how to create a list of color via a table instead of include the variable [index].name.toLowerCase () each time?

    the way I have it works fine, but I can't imagine that this is the right way.

  • Firefox don't forget homepage, theme addons and some settings every time I start my laptop. I tried a lot of difficulties, but none work?

    This issue started happening just after the update to Firefox 42, I think. What happens is that whenever my laptop Windows 10 boots and I start Firefox (and sometimes after the signing and to my Windows profile), the browser acts as if she just updated, and it also checks the compatibility of the addon (see image 1). I get the "Firefox + Windows 10 = perfect set" page and my home page has been reset to "search.domaincentar.com" [see image 2], although it shows a Google logo. My theme and some various browser settings are gone too.

    I have change all these settings back to how they were, but this happens every time that I reboot without fail. Here are the things I've tried:
    Refresh/reset Firefox.
    Create a new Firefox profile.
    Erase a prefs.js and other possible guilty files in my current profile. (no present user.js)
    Completely reinstall Firefox.
    Upgrade to the beta version of Firefox 43.
    Delete the folder %AppData% Mozilla.

    .. .and different combinations of the foregoing. The simple fact is that even after a clean FULL of Firefox on my laptop, including the removal of all my info to a separate location profile, this continues to be. The homepage being reset to a weird search page looks like adware or malware, but I was not able to detect anything via scan or look in my addons. I'm really perplexed and at your mercy.

    Make a check of malware with several malware scanning of programs on the Windows computer.

    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • I get an error message that "a copy of Firefox is already open. Only one copy of Firefox can be open at a time"and I have no open copy.

    I get an error message that "a copy of Firefox is already open. Only one copy of Firefox can be open at a time"and I have no open copy. How can I fix this problem? I like firefox because it runs many technical programs on the web that do not work with safari. I have FireFox installed on my PowerBook MacPro OS X 10.7.5 32.0.1 version. My activity monitor shows all activity of FireFox, so don't know not what he sees

    Check out these links;
    http://www.bing.com/search?q=Firefox%20not%20Close%20mac

  • I uninstalled Firefox on my computer, then I reinstalled and tried to run, but this message appeared, "failed to load your Firefox profile,"

    I uninstalled Firefox on my computer, then I reinstalled and tried to run, but this message appeared, "failed to load your Firefox profile. It may be missing or inaccessible"and Firefox does not open.

    I tried press windows key + R on my computer and open %appdata%\Mozilla\ - and rename the folder labeled "Firefox", but he said that "the action cannot be complete because the folder or the file that is open in another program" I didn't open it and try to restart the pc, but still no help

    A likely cause is a problem with the file profiles.ini and the profile marked as the default value = 1 in this file is no longer present on the hard drive.

    • Windows: %AppData%\Mozilla\Firefox\
      C:\Users\ < user > < profile > \AppData\Roaming\Mozilla\Firefox\Profiles\.
    • Linux: ~/.mozilla/firefox/
    • Mac: ~/Library/Application Support/Firefox /.

    You can use one of them to make the Creation/use of a new default profile for Firefox:

    • Remove the profiles.ini file to force Firefox to create a new default profile
    • Use the Profile Manager to create a new profile
    • Use "Choose a folder" when you create a new profile to select the location of a lost profile and recover this profile
  • Is it possible for Firefox to remember multiple combinations of name and password of the user to a Web site?

    My husband and I use Yahoo! Mail, but each has our own account. We are constantly put in front and in back. Enter the full name of the user and the password by hand each time it's boring, but it's not fair for one of us to have Mozilla to remember the user name and password. It would be great if there was a way for Mozilla to memorize our usernames and passwords. No idea if there is a way to do something like that? Thank you!

    30 Firefox should be able to store more than one name and password to the Yahoo site.
    Firefox should offer to store the name and the password for the other institutions.

    Make sure that you are not Firefox running in permanent private browsing mode (don't remember history).

    • Tools > Options > privacy > Firefox will be: "use the custom settings for history".
    • : Uncheck the [] "always use the private browsing mode.

    You can control and manage permissions for the domain in the tab currently selected through these steps:

    • Click the address bar onthe Site identity button"(globe/lock)
    • Click on 'More information' to open ' tools > Page Info "with the Security tab is selected
    • Go to the permissions tab (Tools > Page Info > permissions) to check the permissions for the domain in the currently selected tab

    There are other things that need your attention.

    Note that your system details list shows several Flash plugins.

    • Shockwave Flash 13.0 r0
    • Shockwave Flash 12.0 r0

    You can find the installation path of the plugins on the topic: plugins page.

    You can view the installation folder of Flash player for multiple Flash player plugins and delete older versions of the plugin (NPSWF32) and possibly (re) install the latest Flash Player.

    • (32-bit Windows) C:\Windows\System32\Macromed\Flash\
    • (Windows 64 bit) C:\Windows\SysWOW64\Macromed\Flash\
  • I installed Firefox today but it does not open and the icon in the taskbar will not close and I can't uninstall it and the helper does not work either?

    I tried everything I know to uninstall the new version of Firefox. I also installed Aurora beta and it had the same behavior, and I managed to uninstall that. I can't open a browser ff to work on it with the help of a large part of your support information. I click the icon, but it does not start on the desktop but the clock running as Task Manager. I have to end task in Task Manager to close it. I can not uninstall and tried the system restore, but this also does not work due to another problem with my antivirus program.

    If this is on a Windows computer, see this link from Microsoft;
    The problems that the programs cannot be installed or uninstalled

Maybe you are looking for