Photo by StéfanJust 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.