www.google.com over IPv6
by seeder • 30th March 2009 • post
As some of the people know Google has an IPv6 only site but it’s kinda limited. They also claim that their www.google.com can be supported over IPv6 , it’s just that they have a scheme for ISPs to enroll to get AAAA records released to their DNS servers.
Now when you are using your own DNS server you are in disadvantage.
So to have *.google.com and *.google.co.uk I have created zones on my server using IPv6 address from ipv6.google.com . I have not included IPv4 address as well … I don’t need it, I’m full IPv6 here.
You may also consider adding zone for your language/national google domain like google.pl for polish.
Full article has configuration snippets used by me with my BIND server . Click More…
First we need to create zone file, mine is pri/db.google.com and pri/db.google.co.uk
this is what is inside :
$TTL   86400 @      IN     SOA    ns1.yllq.net. seeder.mobygeek.net. ( 2009032901     ; Serial 604800        ; Refresh 86400        ; Retry 2419200        ; Expire 86400 )      ; Negative Cache TTL ; @      IN     NS     ns1.yllq.net. @              10800  IN     MX     10 smtp1.google.com. @              10800  IN     MX     10 smtp2.google.com. @              10800  IN     MX     10 smtp3.google.com. @              10800  IN     MX     10 smtp4.google.com. *      IN AAAA 2001:4860:a003::68 smtp1.google.com.      3600   IN     A      209.85.237.25 smtp2.google.com.      3600   IN     A      64.233.165.25 smtp3.google.com.      3600   IN     A      64.233.183.25 smtp4.google.com.      3600   IN     A      72.14.221.25 ns1.google.com.        9600   IN     A      216.239.32.10 ns2.google.com.        9600   IN     A      216.239.34.10 ns3.google.com.        9600   IN     A      216.239.36.10 ns4.google.com.        9600   IN     A      216.239.38.10
now we have to configure bind to include them , in my case I have my zones split into internal and external views so this lands in view accessible by internal systems only :
zone "google.com" IN { type master; file "pri/db.google.com"; notify no; }; zone "google.co.uk" IN { type master; file "pri/db.google.co.uk"; notify no; };
Now simple restart of the named ( or rndc reload ) should bring IPv6 *.google.com to you. It did for me.
You may want to add A record for IPv4 only clients, put that after the AAAA record :
*Â Â Â Â Â Â 300Â Â Â INÂ Â Â AÂ Â Â 74.125.45.100 *Â Â Â Â Â Â 300Â Â Â INÂ Â Â AÂ Â Â 209.85.171.100 *Â Â Â Â Â Â 300Â Â Â INÂ Â Â AÂ Â Â 74.125.67.100
Enjoy google on IPv6, comments welcome.