After doing some research, I finally found out that IPv6 is causing the
huge delay in resolving url's.

IPv6 is enabled by default and apparently is the first IP protocol used
for which to resolv url's.

Most people aren't using IPv6 yet, so attempting to resolv over IPv6
will result in a huge delay untill the system stops trying and falling
back to IPv4.

This is the reason why the connections after waiting long enough will
succeed.

Also, ping uses ipv4, that's why it works (ping6 being the ipv6
counterpart).


Now,     

**************** WORKAROUND ****************
Disable IPv6 entirely

In a terminal, do this:    cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0 means IPv6 is enabled, we want it to become 1 (disabled) and make the change 
permanent.

Open up the following file like this:     sudo gedit /etc/sysctl.conf
And add the following lines:

#Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Now reboot the system, and connectivity should be snappy as expected.
*******************************************************

Although these settings have to do with the kernel configuration, I
think that it's up to Network Manager to figure out if resolving through
IPv6 is appropriate. So flaging this as a Network Manager Bug because
IPv6 is being used even if it's flagged as "Ignore" under the connection
settings.

-- 
Abnormally slow network connections
https://bugs.launchpad.net/bugs/663395
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to