1 Answer
- Newest
- Most votes
- Most comments
2
Have you thought about using Route53 Resolver DNS Firewall to do this?
https://docs.aws.amazon.com/vpc/latest/userguide/resolver-dns-firewall.html
Either way, you still have to allow the EC2 talk to a DNS Server and that in turn will allow recursive DNS queries.
Relevant content
- asked a month ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
Thanks, I will go through it. After reading the first paragraph, it appears to be at the VPC level. But will go through it in detail.
"It can also block requests for public or private Amazon EC2 instance names." -> This seems promising, will have a more detail reading sometime later today.