Fix browser slowness with ipv6 enabled computer

Categories: Uncategorized
Comments: Comments Off
Published on: October 30, 2012

When I received my ipv6 tunnel from Tunnelbroker I was very happy to finally try ipv6.
I am running an ipv6 tunnel over ipv4 to reach hurricane electric ipv6 network. My first reaction was like Felix Baumgartner when he was on the edge of his stratosphere capsule. Finally I am there. Then when I jumped into ipv6 I realize that google takes 10 seconds to load with firefox under windows. I continue to browse and some site were very snappy and some were very slow to load. I decided to try with a MAC and it was the same behaviour.

It seems that the SSL enabled websites were very slow to load.
After investigating I observed that the secure websites were freezing for several seconds. I did a packet capture and I saw this just to load hotmail.

20:01:47.950204 IP > 13981 AAAA? (42) 20:01:48.950146 IP > 13981 AAAA? (42) 20:01:49.950214 IP > 13981 AAAA? (42) 20:01:51.950204 IP > 13981 AAAA? (42) 20:01:51.950365 IP > 13981 AAAA? (42) 20:01:55.950181 IP > 13981 AAAA? (42) 20:01:55.950306 IP > 13981 AAAA? (42) 20:01:58.205604 IP > 12060 AAAA? (44) 20:01:59.204956 IP > 12060 AAAA? (44) 20:02:00.204928 IP > 12060 AAAA? (44) 20:02:02.205002 IP > 12060 AAAA? (44) 20:02:02.205167 IP > 12060 AAAA? (44) 20:02:02.952271 IP > 44023 A? (42) 20:02:02.968207 IP > 44023 2/6/12 CNAME, A (497) 20:02:06.205002 IP > 12060 AAAA? (44) 20:02:06.205134 IP > 12060 AAAA? (44) 20:02:08.455987 IP > 61681 AAAA? (43)

That’s about 20 seconds delay with a completely non reacting browser!
Firefox looks for ocsp to validate SSL certificates. The problem is those ocsp servers are not ipv6 enabled yet and it times out several time before it realises that it’s not there.

The solution for windows, Mac and linux is to:
– In firefox browse to the address about:config.
– Search for the key network.dns.ipv4OnlyDomains and double-click on it.
– Then you need to put some servers to force a dns query over ipv4. Put all the servers.
from this up to date list.
– Completely close all the browsers and reopen a new one.

Your internet surfing over ipv6 is now much faster!
If you experience slowness do a packet capture and identify the AAAA queries that are timing out but working over ipv4. Add it in the list and try. You can send us an email and we will update this list too.

I know it’s a ugly patch but, until ipv6 is fully migrated or somebody fix the dns queries in the OS or the ocsp list in firefox or… well until this day, the solution we propose is working. Share your toughts with us.
IPv6 Certification Badge for wedebugyou

Fix browser slowness with ipv6 enabled computer was last modified: February 16th, 2018 by Jean Debogue
The following two tabs change content below.
Jean Debogue

Jean Debogue

IT consultant at Wedebugyou
I am a Canadian that lived a couple of years in Austria. My several years of experience in IT permits me to deliver quality solutions that scale for my clients. I am an expert in ipv6, security, web hosting, cloud and any kind of IT solutions. I am able to solve problems of great complexity. I like challenges and I always enjoy the process of achieving a successful outcome.
Comments are closed.

Welcome , today is Monday, June 24, 2024