Ask Your Question

Access instances by hostname instead of IP

asked 2016-07-12 03:00:01 -0600

laurentiusoica gravatar image


If I have 2 or more instances created inside the openstack deployment, on the same network, is it possible to make the instances accessible between them by hostname , and not only by IP ?

instance_2 IP is and local hostname is instance_2 .

[cloud-user@instance_1 ~]$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=0.074 ms

[cloud-user@instance_1 ~]$ ping instance_2
ping: unknown host instance_2

I don't want to locally modify the /etc/hosts.

Is there an internal DNS service on the controller node ?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-12 05:23:50 -0600

have a look to openstack designate service:

Regards, Amedeo

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-07-12 03:00:01 -0600

Seen: 484 times

Last updated: Jul 12 '16