Well, it got a little annoying. I did a few tests with two types of 
configurations in /etc/nsswitch.conf 
1) it is either 
hosts:    files mdns4_minimal [NOTFOUND=return] dns 
or 2)
hosts:  files dns 

I also have the following in the /etc/resolv.conf :

#long lookup
options single-request
# Generated by NetworkManager
nameserver 192.168.1.1
#long lookup
options timeout:1

Sometimes even a simple google search can hang up for a while. However, one of 
the slowest sites I noticed is cnews.ru . I am attaching tcpdumps below.
The command "tcpdump -n -i wlan0 port 53" is used here. First with 
1) hosts:    files mdns4_minimal [NOTFOUND=return] dns 


** Attachment added: "slowff.tcpdump"
   
https://bugs.launchpad.net/bugs/788274/+attachment/2472389/+files/slowff.tcpdump

** Attachment added: "w3m.tcpdump"
   https://bugs.launchpad.net/bugs/788274/+attachment/2472390/+files/w3m.tcpdump

** Attachment added: "elinks.tcpdump"
   
https://bugs.launchpad.net/bugs/788274/+attachment/2472391/+files/elinks.tcpdump

** Attachment added: "slowep.tcpdump"
   
https://bugs.launchpad.net/bugs/788274/+attachment/2472392/+files/slowep.tcpdump

** Attachment added: "slowchrome.tcpdump"
   
https://bugs.launchpad.net/bugs/788274/+attachment/2472393/+files/slowchrome.tcpdump

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/788274

Title:
  dns lookup issue:  firefox& chromium take very long to load  on Ubuntu
  Narwhal

Status in “chromium-browser” package in Ubuntu:
  New
Status in “firefox” package in Ubuntu:
  New
Status in “kdebase” package in Ubuntu:
  New

Bug description:
  I have 3 PCs with different Ubuntu versions 10.04, 10.10 and 11.04.
  In all of these firefox4, chromium, epiphany and konqueror are pretty fast, 
except on Narwhal when visiting web pages with javascript.
  I noticed that on 11.04:

  1) it happens on all js-capable browsers
  2) pages without js are rendered alright
  3) when js is disabled on firefox4 it seems to speed up some not all, though, 
e.g. it does for cnews.ru, but not for launchpad.net (which never loads)
  4) w3m-img,elinks,lynx are fast and load those pages in questions alright
  5)none of these problems exist on 10.04 or 10.10 with web browsers of the 
same versions
  6) it is an Ubuntu 11.04 only issue, does not happen on older version of 
Ubuntu
  7) does not seem to be an ipv4/ipv6 issue, since on firefox I set 
ipv6.disable to true
  On the affected machine (as well as on the others) I got a custom kernel 
installed.
  uname -a: Linux  2.6.38.5-mine #1 SMP Wed May 4 12:28:50 CDT 2011 i686 i686 
i386 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/788274/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to