DNS privé EC2 bash

curl http://169.254.169.254/latest/meta-data/public-hostname
Energetic Eagle