purpleclay/dns53

[Feature]: allow EC2 to be exposed using an IPv6 address

purpleclay opened this issue · 0 comments

Describe your feature

AWS supports exposing an EC2 over either IPv4 or IPv6. Ensure dns53 supports both of these options natively.

Your potential solution

Using the IMDS service retrieve the IPv6 address of the EC2 instance, if supported. This should then be used to create an AAAA record within the Route53 Private Hosted Zone.

The IPv6 address is exposed through IMDS under the path: /latest/metadata/ipv6

Any additional information?

An EC2 can be launched to have an IPv4 or IPv6 address only, or both. If both exist, should the EC2 be exposed over both? Or should one of the two be favoured?

Code of Conduct

  • I agree to follow this project's Code of Conduct