Setting Up IPv6 For a Website

Hello, I've been trying to figure out how to enable IPv6 for my website (http://joshvickerson.com), but I'm unsure how to do so. I've enabled IPv6 for my Linode and it's been assigned an address, but what other things need to be configured? I attempted to add a AAAA record with my domain provider but when I test for IPv6 (a la this website: http://ipv6-test.com/validate.php ), it fails.

So, my question is, do I need to configure Apache to support IPv6? Or do I simply need to make my DNS records correctly (and what should they look like)?

8 Replies

You need to configure apache as well: http://www.fix6.net/archives/2011/02/04 … n-apache2/">http://www.fix6.net/archives/2011/02/04/how-to-enable-ipv6-on-apache2/

````
$ ping6 joshvickerson.com
unknown host

Check your DNS.

You said you attempted to add a AAAA record with your domain provider, but your DNS is being handled by linode:

;; QUESTION SECTION:
;joshvickerson.com. IN NS

;; ANSWER SECTION:
joshvickerson.com. 12685 IN NS ns2.linode.com.
joshvickerson.com. 12685 IN NS ns1.linode.com.
joshvickerson.com. 12685 IN NS ns5.linode.com.
joshvickerson.com. 12685 IN NS ns4.linode.com.
joshvickerson.com. 12685 IN NS ns3.linode.com.
````

@Nuvini:

You need to configure apache as well: http://www.fix6.net/archives/2011/02/04 … n-apache2/">http://www.fix6.net/archives/2011/02/04/how-to-enable-ipv6-on-apache2/

Ok, I will take a look at that.

@astralcloak:

You said you attempted to add a AAAA record with your domain provider, but your DNS is being handled by linode

I just changed my name servers to use Hover (domain provider) because I'm using their DNS management for everything else. But my real question there is what type of entry do I need?

Alright, Apache and virtual hosts are configured for both. AAAA record now works, but the web server is apparently unreachable, according to the aforementioned text website. Unsure if it just needs some time or if there's another configuration problem but I'll give it a bit and see.

I am unable to reach http://[2600:3c03::f03c:91ff:fe70:b369] directly, so while the DNS works now, there's still something wrong on the server side with Apache.

run netstat as root on the server to check the ports apache is using.

netstat -tlapn 
tcp6       0      0 :::80                   :::*                    LISTEN      2627/apache2

If it looks like it's listening try this on the server to see if it works locally:

wget -6 joshvickerson.com

Weird, using nmap I can only see port 22 open on your IPv6 IP.

Did you set up the firewall properly to allow port 80 over your IPv6 IP?

Otherwise post your apache2.conf / vhost config :)

Also in regard to firewall rules, a lot of howtos out there suggest blocking a lot of ICMP messages for some reason. While generally not a problem with IPv4, this often causes problems with IPv6 which needs ICMP to find local neighbors and routers.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct