Now that I had a new IPv6 allocation from tunnelbroker.net – it was time to get the server re-addressed & reachable from the outside world.
Apache was already configured to listen on all IPv4 & IPv6 addresses so all I needed to do was change the address, test connectivity & restart apache
sudo ip addr add 2001:470:489e::100/64 dev eth0
sudo route –inet6 add default gateway 2001:470:489e::1
ping6 2001:470:489e::1
Dont forget to update your nameserver
sudo vi /etc/resolv.conf
ping6 ipv6.google.com
Restart apache & postfix services
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/apache2 start
sudo /etc/init.d/postfix stop
sudo /etc/init.d/postfix start
Update your DNS record with the new address & test connection.
You can either test from another IPv6 connected host (like a VPS)
ash@vertex:~$ dig aaaa public.blackundertone.com +short
2001:470:489e::100
ash@vertex:~$ curl public.blackundertone.com
Or use one of the many publicly available test servers – like http://ipv6-test.com/validate.php
Its as simple as that. Now my server was once again reachable via IPv6 – all this effort to get back to where I was.
Next time – I cover the DNS forward & reverse fun as well as why I needed to transfer my domain from namecheap.com free DNS hosting to the free DNS hosting provided by Hurricane Electric @ dns.he.net