-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dns64 now default without nat64 rule #923
Comments
Thank you for the very detailed report - I agree, we should add a route for this synthesized address destination to the route table. Do you want to take a stab at this or should I? |
I'm happy to, just wanted to confirm that you all agreed with the direction. I'll open a PR shortly. |
yes 💯 - looking forward to the PR, thank you! |
This issue has been automatically marked as stale because it has been open 30 days |
This issue has been resolved in version 4.0.2 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
We recently upgraded from v3.19.0 to v4.0.1 in our EKS clusters which is configured for dualstack (pod getting IPv6 addresses). We noticed some services in containers could not communicate with external routes. During the upgrade process, I noticed the following change to our subnets (here's 1 example):
Specifically, our services were unable to communicate with api.github.com within a container.
We disabled dns64 on the subnet and the communication worked again.
After reading the docs on DNS64 we found when enabling dns64, there should be an accompanying route setup on the route for
64:ff9b::/96
to a NAT gateway.After adding this route manually, this communication worked as planned.
Versions
Module version [Required]:
Terraform version:
v1.4.3-dev
Provider version(s):
registry.terraform.io/hashicorp/aws v4.61.0
Reproduction Code [Required]
Here is our code from v3.19.0 and a commented out change that was documented in the upgrade guide for v4.0.1
Steps to reproduce the behavior:
curl -6 api.github.com
-> should hang.Expected behavior
Actual behavior
I could be wrong but it looks like previously
enable_dns64
was not set via this module. Now that it is set by default to true for each type of subnet, IPv6 routing to non-ipv6 addresses are nat64'ed, without the correct route in place to route to the nat gateway.Terminal Output Screenshot(s)
Additional context
Seems to me like adding that route when dns64 is enabled would be a good course of action and I imagine this was just a bug was a bit of an edge case, so most people wouldn't notice it.
Thanks for all the hard work on these modules, I just figured filing this might help someone else running into this issue in the future.
The text was updated successfully, but these errors were encountered: