I have a few questions regarding a vhost setup using ipv6 and ipv4 together:
1. During vhost setup do I need to add the ipv6, the ipv4 and the domain name to the "Domain Aliases" box? if so does the ipv6 go inside brackets like a browser?
Right now I've only added my ipv4 (A Record) and ipv6 (AAAA Record) to my DNS and it seems to be working but performance seems a little on the slowish side when I test the domain in the browser.
2. For listeners I'm using the "[ANY] IPv6" option. Seems to work on both ipv6 and ipv4. Is this the best option for this setup?
I read about setting up one listener for ipv6 and another for ipv4, but would this work as both would use port 80? I'm sure when I tried setting one listener for each, I would get an error on the dash log about the port 80 already being used.
If I use the recommended format "[::FFFF:x.x.x.x]" it only seems to work with ipv4.
3. When using both ipv6 and ipv4 for a domain, would I be correct in assuming:
- That the ipv6 (AAAA Record) would be resolved first before the ipv4 (A Record), for a user with IPV6 enabled on their machine / network.
- If the user doesn't have ipv6, then the domain will automatically resolve with the ipv4.
- Having both ipv6 and ipv4 for a domain would be slower than just having ipv4.
Thanks in Advance
1. During vhost setup do I need to add the ipv6, the ipv4 and the domain name to the "Domain Aliases" box? if so does the ipv6 go inside brackets like a browser?
Right now I've only added my ipv4 (A Record) and ipv6 (AAAA Record) to my DNS and it seems to be working but performance seems a little on the slowish side when I test the domain in the browser.
2. For listeners I'm using the "[ANY] IPv6" option. Seems to work on both ipv6 and ipv4. Is this the best option for this setup?
I read about setting up one listener for ipv6 and another for ipv4, but would this work as both would use port 80? I'm sure when I tried setting one listener for each, I would get an error on the dash log about the port 80 already being used.
If I use the recommended format "[::FFFF:x.x.x.x]" it only seems to work with ipv4.
3. When using both ipv6 and ipv4 for a domain, would I be correct in assuming:
- That the ipv6 (AAAA Record) would be resolved first before the ipv4 (A Record), for a user with IPV6 enabled on their machine / network.
- If the user doesn't have ipv6, then the domain will automatically resolve with the ipv4.
- Having both ipv6 and ipv4 for a domain would be slower than just having ipv4.
Thanks in Advance