EC2 hostname ubuntu and ejabberd

Posted by aelbaz on Server Fault See other posts from Server Fault or by aelbaz
Published on 2012-09-11T21:20:14Z Indexed on 2012/09/11 21:40 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

I have questions related to the host name in Ubuntu EC2 instances. I have a IPS elastics for hosts that want to be seen from the internet and I have pointed out in the DNS entries with the computer name to those ips. For example, for elastic IP 11.11.11.11 DNS I added my computer name www.example.com.

But I also want to rename the machines which they have, because it is a parameter of the service running on them (ejabberd server). EC2 instances are restarted when changing the host name, and seen on the client requesting dhcp hostname to dhcp Amazon.

My question is ... What is the safest method to change the hostname: dhcp client modify, insert the command in rc.local, etc. ..? Could I have a problem with the internal resolution of traffic between EC2 instances?

thanks

© Server Fault or respective owner

Related posts about ubuntu

Related posts about amazon-ec2