Interview Prep/Networking/Containers, Kubernetes, IPv6 and packet captures

IPv6-only pods (or an IPv6-only subnet) can't reach `github.com`, which has no AAAA record.

AdvancedTroubleshootingContainers, Kubernetes, IPv6 and packet captures
Answer

Likely causes → An IPv6-only client can't talk to an IPv4-only server without translation. You need DNS64 (synthesises AAAA records in 64:ff9b::/96) plus NAT64 (translates those to IPv4). Without them, resolution returns only A records the client can't use.

Diagnose →

dig +short AAAA github.com              # empty = IPv4-only service
dig +short AAAA github.com @<resolver>  # 64:ff9b::... if DNS64 works
ip -6 route get 64:ff9b::8c52:7904

Fix → In AWS: enable DNS64 on the subnet (aws ec2 modify-subnet-attribute --subnet-id <id> --enable-dns64) and route 64:ff9b::/96 to a NAT gateway. On EKS IPv6 clusters, pods also get an IPv4 egress path via the node (egress-only SNAT by the VPC CNI).

Prevent → Inventory IPv4-only dependencies (registries, SaaS APIs) before going IPv6-only, and test them from an IPv6-only subnet first.

All Networking questions Roadmap: Networking for DevOps

More on Containers, Kubernetes, IPv6 and packet captures