Curl IPv6 Test

Since IPv6 is deployed to customers from providers like Unitymedia and Kabeldeutschland, I have checked if my website is reachable via IPv6 or not. Normally curl uses IPv4, you can force curl to use IPv6 by defining the IPv6 address or adding the param “-6″.

user@laladin# curl -g -k -I -H "Host: www.hellmi.de" http://[2600:3c02::f03c:91ff:fe96:b43f]/
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 05 Jan 2013 16:00:52 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Pingback: http://www.hellmi.de/xmlrpc.php

user@laladin# curl -g -k -I -6 http://www.hellmi.de/
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 05 Jan 2013 16:06:44 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Pingback: http://www.hellmi.de/xmlrpc.php

user@laladin# curl -g -k -I -6 http://www6.hellmi.de/
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sat, 05 Jan 2013 16:05:22 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: http://www.hellmi.de/

There is still some way to go before we are getting used to this ip format: 2600:3c02::f03c:91ff:fe96:b43f

IPv6 Test