Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Slow DNS lookup in Firefox with Karmic - resolved

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU
 
pokerfan Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Nov-09-09 04:37 PM
Original message
Slow DNS lookup in Firefox with Karmic - resolved
This had been bugging me for the last couple of weeks. At first I thought it might have been my router as it has been known to behave like this at times. Anyway, I found this to be a large enough annoyance to list here just in case anyone else is having a similar issue.

The problem was that it was taking ages to open a web page. By ages, I mean anywhere from 20 seconds to over a minute or so. Once opened, everything would run pretty much at normal speeds but the initial delay was a major annoyance. Last night I decided to investigate further and found this:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/417757">all network apps / browsers suffer from multi-second delays by default due to IPv6 DNS lookups

In Karmic, DNS lookups take a very long time with some routers, because glibc's DNS resolver tries to do IPv6 (AAAA) lookups even if there are no (non-loopback) IPv6 interfaces configured. Routers which do not repond to this cause the lookup to take 20 seconds (until the IPv6 query times out).

The workaround for Firefox is to go into about:config and change the value for "network.dns.disableIPv6" from 'false' to 'true.'

Worked for me.
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
RoyGBiv Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Nov-09-09 05:06 PM
Response to Original message
1. SuSE 11.1 had that problem too ...

I understand, in theory, why the IPv6 lookups happening, but it seems to me some way should exist to have them not activate if no interfaces for them exist. I may be talking out my hind quarters since I understand very little about all this at the moment, but it just seems logical.

The fix in SuSE was the same as what you found. That seems to be the accepted workaround.

Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Nov-11-09 03:44 AM
Response to Original message
2. OS X made the same mistake a year and a half ago: Safari defaulted to the new standard
and would retry multiple times before reverting to the old standard
Printer Friendly | Permalink | Reply | Top
 
pokerfan Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Nov-11-09 05:14 PM
Response to Reply #2
3. One advantage to open source
Edited on Wed Nov-11-09 05:15 PM by pokerfan
is that there's no corporate incentive to hide bugs and pretend that problems don't exist.

As Neal Stephenson wrote in 'In the Beginning,' "Joint stock corporations are wonderful inventions that have given us many excellent goods and services. They are good at many things. Admitting failure is not one of them. Hell, they can't even admit minor shortcomings. <...> When something goes wrong with Linux, the error is noticed and loudly discussed right away. Anyone with the requisite technical knowledge can go straight to the source code and point out the source of the error, which is then rapidly fixed by whichever hacker has carved out responsibility for that particular program."

http://en.wikipedia.org/wiki/In_the_Beginning..._was_the_Command_Line
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Nov-11-09 07:15 PM
Response to Reply #3
4. I already convinced of the advantages of open source. I have vista, osx, and linux
installations
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Sun Dec 22nd 2024, 08:26 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC