Getting ready for the World IPv6 launch

Frederic Cambus March 01, 2012 [Networking]

Anticipating for the World IPv6 launch taking place on June 6th, this site is now IPv6 ready, and I'm now proudly displaying a nice IPv6 banner in the sidebar.

In fact, you and everyone else should do the same, as it's a quite straightforward operation. After configuring IPv6 on your network and enabling AAAA records in your DNS server, you just need to make your http server (and eventually mail server as well) listen on IPv6.

Here is how to make nginx listen to all interfaces on port 80, for both IPv4 and IPv6:

server {
	listen 80;
	listen [::]:80;

    ...
}

Then restart nginx, and it will start listening on IPv6 as well:

/etc/init.d/nginx restart