bind & gogo6: how to enable IPv6 for Google

The droids we're googling for
Photo by Stéfan
Just a short help for people using the gw6c package to establish a tunnel to get their IPv6 connectivity, who want to use Googles services over IPv6 and finally, who run their own instance of Bind9 to resolve DNS queries.

Add this snippet to your Bind configuration to redirect all queries for google.com domains towards the gogo6 DNS resolvers which are actually white-listed in the Google-over-IPv6 program:

zone “google.com” {
type forward;
forwarders { 2001:5c0:1000:11::2; 2001:5c0:1001::194; };
};

This will only work if the Bind9 resolver has IPv6 connectivity and is part of the subnet (or on the same host) as the tunnel endpoint (the machine running gw6c).

A simple query for the AAAA record of www.google.com should now turn up the IPv6 addresses:

$ dig www.google.com aaaa
www.google.com.        176256    IN    CNAME    www.l.google.com.
www.l.google.com.    239    IN    AAAA    2001:4860:800e::63
www.l.google.com.    239    IN    AAAA    2001:4860:800e::67
www.l.google.com.    239    IN    AAAA    2001:4860:800e::68
www.l.google.com.    239    IN    AAAA    2001:4860:800e::69
www.l.google.com.    239    IN    AAAA    2001:4860:800e::6a
www.l.google.com.    239    IN    AAAA    2001:4860:800e::93

There is now also a very informative article about IPv6 services online at Debian Administration.

Posted: February 3rd, 2010
Categories: IT, Internet
Tags: , , , ,
Comments: No Comments.












You can add images to your comment by clicking here.

Security Code: