[ec2-beta] How to find public DNS

Dave Caughey caugheyd at gmail.com
Wed Mar 11 20:43:25 GMT 2009


Methinks there is probably an obvious answer that's staring right at me, but
how does one find out the public DNS of my Ubuntu instance?
I can retrieve the desired information via

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

but is this information not available without running a command to hit a
remote website?

Cheers,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/mailman/private/ec2/attachments/20090311/88b4f6f0/attachment-0002.htm 


More information about the Ec2-beta mailing list