[How-To] Access Google Sites and Services via IPv6 avatar แœŒแœ“แœƒแœ’ (Yuki | ้›ชไบฎ) | 2009-12-03 21:31 PST | 3 minutes read | Update at 2010-09-20 17:53 PST

Google, the largest search engine today (and the “Microsoft” of the cyberworld), is slowly deploying IPv6 across their sites. But even if you are already connected to IPv6, you will still not get an IPv6 Google.

Why? Their current IPv6 implementation is currently in its testing phase. All IPv6 access must come from a reliable network that they have to pre-approve, this is the Google over IPv6 project.

How it works

Google over IPv6 uses the IPv4 address of your DNS resolver to determine whether a network is IPv6-capable. If you enable Google over IPv6 for your resolver, IPv6 users of that resolver will receive AAAA records for IPv6-enabled Google services โ€ฆ Normally, if a DNS resolver requests an IPv6 address for a Google web site, it will not receive oneโ€ฆ
โ€ฆ but a DNS resolver with Google over IPv6 will receive an IPv6 address, and its users will be able to connect to Google web sites using IPv6.
Google over IPv6

So unless you are using a DNS with Google over IPv6 enabled, the only IPv6 Google website you will be able to use is ipv6.google.com. That’s sad! Especially if most of the sites you visit are still hosted on non-IPv6 enabled servers.

Fortunately, there are many good-hearted people and corporations in the world today offering free access to their IPv6 DNS. We have Gogo6.com’s Freenet6 DNS and Hurricane Electric’s Tunnelbroker.net DNS.

But how do we use these IPv6 DNS? Let me show you how.

Ubuntu Linux way

  • Go to Synaptic (System -> Administration -> Synaptic Package Manager)
  • Search for “dnsmasq” and install it
  • Open a Terminal (Accessories -> Terminal)
  • Type:
    gksu gedit /etc/dnsmasq.conf
  • Look for:
  • Change it to:
  • Look for:
  • Add the following after/below it:
  • Save and close the file
  • Still in the Terminal, type:
    gksu gedit /etc/dhcp3/dhclient.conf
  • Look for:
    #prepend domain-name-servers;
  • Uncomment that line by removing the sharp ('#') sign
  • Save and close the file
  • Still in the Terminal, type:
    gksu gedit /etc/resolv.conf
  • Before any other nameserver entries, add this:
  • Save and close the file
  • Still in the Terminal, type:
    sudo /etc/init.d/dnsmasq restart

What happens is this: we are using dnsmasq to reroute all queries to google.com to HE’s IPv6 DNS which has been confirmed to be Google over IPv6 enabled. Any Google services that are not yet using IPv6 or not yet part of the project will simply use IPv4, like the YouTube entry we added (read: YouTube is the IPv6 team’s number one priority right now).

But if you are not using DHCP, then the DHCP edits you did previously will not work. Or if you are using NetworkManager to manage your connection settings, then it will only overwrite your resolv.conf file. Here’s what you should do to solve this:

  • Open your NetworkManager and go to your network/connection profile (example: eth0)

  • Open/edit it and go to the “IPv4 Settings” tab

  • In the “DNS servers:” field, simply add this before any other DNS entries you may have:

  • Click “Apply”, then close it.

    This way, every time the NetworkManager connects and overwrites the resolv.conf file, it will always add to the file. Just like in the DHCP edits you did above, it ensures that the listening IP being used by dnsmasq is the first DNS your system will check when you are browsing.

In your terminal type:

ping6 www.google.com

You should see something like this:

ping6 www.google.com
PING www.google.com(tx-in-x68.1e100.net) 56 data bytes
64 bytes from tx-in-x68.1e100.net: icmp_seq=1 ttl=59 time=231 ms

These are the Google sites and services tested to be accessible via IPv6 (as of this article):

Not yet accessible via IPv6:

As far as I know, it is not possible to host a “sub-folder” in another server, thus we can safely assume that all Google sites with this URL format: www.google.com/{sitename} are IPv6 enabled. However, Google sites and services that are using a subdomain.google.com URL or any other, can either be IPv6 already or not. Subdomains can easily be pointed to a totally different server somewhere in cyberspace.

How about Windows users?

For those who are still using Windows XP, you are out-of-luck. Even if you can add an IPv6 DNS, it will not work, I tried it myself and it was confirmed by Mikael Lind here.

Update for Windows XP users: I found a way to do it and I will be posting it here soon! The life of your too old OS just got a little bit longer.

For Windows 7 users, you will have to wait until I can get a Win7 OS or a machine that I can break. Or better ask the experts in IPv6 like the guys and gals of the gogo6 Community.

Update 2010-02-25: Sorry WinXP users you really have to upgrade to Windows 7. The method works but it is not consistent - sometimes it works, sometimes not. It is also very different per machine (it is weird!) even if you have everything duplicated perfectly.

It will only invite frustration and plenty of questions. Again, I recommend upgrading to Windows 7 if you want a consistent and stable IPv6 capability.

Update 2010-09-20: Google Sites, Google Translate, Google Earth, Google Moderator, and Google FeedBurner, are now all IPv6 enabled.

Did you like it? Do share this post, leave a comment below, and send me a gift! (opens in a new tab/window)

comments powered by Disqus

แœŒแœ“แœƒแœ’ (Yuki ใƒป ้›ชไบฎ)If this is not the end of oblivion, then I shall live everyday as if my life were to end this very day.

The YOOki (ๆŸณ็ด€ ใƒป ์œ  ๊ธฐ) Chronicles

The YOOki (ๆŸณ็ด€ ใƒป ์œ  ๊ธฐ) Chronicles is แœŒแœ“แœƒแœ’ (Yuki ใƒป ้›ชไบฎ)’s return into casual and personal blogging. The name “YOOki” is a mash-up of the acronym of YourOnly.One and my nickname แœŒแœ“แœƒแœ’ (Yuki ใƒป ้›ชไบฎ).

Interestingly, according to Chinese legend, ใ€ŒๆŸณใ€ (YOO) is an ancient Chinese surname. The ancestors of the surname were closely linked with the ancient sage-king named Yu Shun. In Korea, the ใ€Œ์œ ใ€ (YOO) lineage traces to the Xia, Han, and Joseon dynasties. Holders of the surname Yu or Yoo had a reputation for charity and diligence.1

It is also the word for “willow” or the “willow tree” which means graceful or slender; and a tree growing near a body of water which provide continuous nourishment and resources for everyone. It can also mean to exist, an oil (anointment(?)), and simply as “U” (you).

The hanzi ใ€Œ็ด€ใ€ (ki) character means to record, be disciplined, provide order. While the hangul equivalent, ใ€Œ๊ธฐใ€ (ki; gi), means energy, spirit, a banner, and a period of time; and is also a suffix used to make a gerund or an infinitive.

Can you guess what I mean by ใ€ŒๆŸณ็ด€ใ€ and ใ€Œ์œ  ๊ธฐใ€ as the Chinese and Korean for “YOOki”?

  1. ใ€Œ์œ ใ€ Yoo (Korean surname); CC-BY-SA 3.0 Unported License ↩︎

Now Playing
Social Links