Commit abe113a
committed
subnets: only enable DNS64 for IPv6-only subnets
NAT64/DNS64 is meant to be enabled for IPv6-only subnets, in which
instances do not have IPv4 [0].
If we enable DNS64 for dualstack subnets, instances will receive both
A/AAAA records for IPv4-only services. In most cases, OS-level settings
will prefer IPv6, leading to traffic to flow via NAT gateway instead of
using IPv4 directly.
Reference
[0] https://aws.amazon.com/blogs/networking-and-content-delivery/dual-stack-architectures-for-aws-and-hybrid-networks-part-2/1 parent 57d87ba commit abe113a
File tree
3 files changed
+7
-37
lines changed- pkg/cloud/services/network
3 files changed
+7
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
645 | | - | |
| 644 | + | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1865 | 1865 | | |
1866 | 1866 | | |
1867 | 1867 | | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
1874 | | - | |
1875 | | - | |
1876 | 1868 | | |
1877 | 1869 | | |
1878 | 1870 | | |
| |||
3748 | 3740 | | |
3749 | 3741 | | |
3750 | 3742 | | |
3751 | | - | |
3752 | | - | |
3753 | | - | |
3754 | | - | |
3755 | | - | |
3756 | | - | |
3757 | | - | |
3758 | | - | |
3759 | 3743 | | |
3760 | 3744 | | |
3761 | 3745 | | |
| |||
4003 | 3987 | | |
4004 | 3988 | | |
4005 | 3989 | | |
4006 | | - | |
4007 | | - | |
4008 | | - | |
4009 | | - | |
4010 | | - | |
4011 | | - | |
4012 | | - | |
4013 | | - | |
4014 | | - | |
4015 | 3990 | | |
4016 | 3991 | | |
4017 | 3992 | | |
| |||
4185 | 4160 | | |
4186 | 4161 | | |
4187 | 4162 | | |
4188 | | - | |
4189 | | - | |
4190 | | - | |
4191 | | - | |
4192 | | - | |
4193 | | - | |
4194 | | - | |
4195 | | - | |
4196 | | - | |
4197 | 4163 | | |
4198 | 4164 | | |
4199 | 4165 | | |
| |||
0 commit comments