[Openstack] EC2 API show DNS Name

Georgios Dimitrakakis giorgis at acmac.uoc.gr
Fri Jun 6 19:50:50 UTC 2014


 Hi!

 I was wondering if there is a configuration that allows the EC2 API to 
 produce as output the fully qualified dns name instead of just the IP.

 What I am getting is something like this:

 { instanceId: 'i-0000007b',
     privateDnsName: 'ubuntu',
     dnsName: 'a.b.c.d',
     ip: '10.0.0.3',
     publicIp: 'a.b.c.d' },


 where a.b.c.d is the public IP of the instance in both "dnsName" and 
 "publicIp" fields.

 I would like the "dnsName" field to have the fully qualified dns name.

 Regards,

 G.

-- 





More information about the Openstack mailing list