EC2 instance migration from IPV4 to IPV6 don't work.

0

I am a EC2 instance with IPV4 address. I am trying to change the IP from IPV4 to IPV6. I followed all the steps from following urls.

  1. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#assign-ipv6-address
  2. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html

Now, I can see the IPV6 address for my ec2 instance on the console. I changed the DNS entry as well. I tested the IP and domain address on online ipv6 ping tool and it is successful. But when I tries to open the website, I get following error.

This site can’t be reached Check if there is a typo in backend.staging.bzfi.io. DNS_PROBE_FINISHED_NXDOMAIN

1 Answer
1

It sounds like the DNS resolution might not be fully propagated or configured correctly. Here are a few steps you can take to troubleshoot and potentially resolve the issue:

  1. Verify DNS Configuration: Double-check the DNS configuration to ensure that the DNS record for your domain (backend.staging.bzfi.io) is correctly pointing to the IPv6 address of your EC2 instance.
2)Propagation Time: DNS changes can take some time to propagate fully across the internet. Even though online IPv6 ping tools may show successful results, it's possible that DNS resolution is not yet fully propagated everywhere. Wait for some time and try accessing the website again.
  1. Flush DNS Cache: Sometimes, your local DNS resolver or cache may still have the old DNS information cached. Try flushing your DNS cache on your local machine or using a different device/network to see if you can access the website.
Check Security Groups and Network ACLs: Ensure that the security groups associated with your EC2 instance allow inbound traffic on port 80 (HTTP) or port 443 (HTTPS) for IPv6 traffic. Also, verify that there are no restrictive rules in the network ACLs (if applicable) that may be blocking the traffic.
4)Instance Configuration: Confirm that your EC2 instance is configured to listen on the IPv6 address for incoming web traffic. This may involve configuring your web server software (e.g., Apache, Nginx) to listen on the IPv6 address.

5)Check Web Server Logs: Check the logs of your web server (e.g., Apache access/error logs, Nginx access/error logs) to see if there are any relevant error messages that may indicate why the website is not accessible.

6) Test Connectivity: Use tools like curl or telnet from a command line to test connectivity to your EC2 instance's IPv6 address and port 80/443. This can help diagnose if there are any network connectivity issues.

By following these steps, you should be able to identify and resolve the issue preventing your website from being accessed via its IPv6 address.

profile picture
answered 2 months ago
  • Thank you for your response I have one findings. It looks like, I configured the IPV6 properly. But my website if IPV6 only. Apart for adding support for both IPV4 and IPV6, any other option ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions