aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
[AWS::EC2::NetworkInterface] - [Coverage] - Public DNS Names
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
AWS::EC2::NetworkInterface
### Resource name
_No response_
### Description
EC2 now supports public DNS for IPv6 addresses assigned to EC2 instances:
https://aws.amazon.com/about-aws/whats-new/2025/05/ipv6-support-ec2-public-dns-names/
As described in the documentation [here](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hostname-types.html), the public hostnames are configured at the network interface and can be set by configuring the public hostname type to one of
- public-dual-stack-dns-name
- public-ipv4-dns-name
- public-ipv6-dns-name
via the modify-public-ip-dns-name-options command.
So that customers can use the DNS name in dependent resources (e.g. as origins in CloudFront distributions), GetAtt return values for the NetworkInterface resource should include either the Public DNS Name (as per the console) or the hostname type and DNS names (as returned by describe-network-interfaces)
```
[
{
"DnsHostnameType": "public-dual-stack-dns-name",
"PublicIpv4DnsName": "ec2-52-54-55-66.ap-southeast-2.compute.amazonaws.com",
"PublicIpv6DnsName": "f5lnz-0khrm-nt2u3-gyqqt-nbdl5.ap-southeast-2.ip.aws",
"PublicDualStackDnsName": "f5lnz-0khrm-nt2u3-gyqqt-nbdl5-q3cdpO.ap-southeast-2.ip.aws"
}
]
```
### Other Details
_No response_
Contributor guide
Research direction
Start with the AWS::EC2::NetworkInterface resource and its GetAtt return values, then compare the linked EC2 hostname documentation with the describe-network-interfaces output. Done means dependent resources can consume the relevant public IPv4, IPv6, or dual-stack DNS value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100