How to setup dns in Cloud init for openstack instances

asked 2015-02-10 02:58:53 -0500

rajcoumar gravatar image

updated 2015-02-10 07:42:31 -0500

Right now I am working on Openstack Havana. For internal networks we are using nova-network not neutron. My setup details are Controller node ( Keystone, Cinder, Glance, rabbitmq server and Nova) and Compute node (nova Compute, nova api metadata and nova network)

Everything working fine. Now I want to dns setup for instances only internal networks. I dont want dns for floating ip. I want dns setup for internal networks

How can we setup dns for instances ?

edit retag flag offensive close merge delete


Hi, It would be best if you explain what you need so that the community can help you.

jtaguinerd gravatar imagejtaguinerd ( 2015-02-11 06:58:27 -0500 )edit

I can able to ssh using ip address of instance vm but unable to ssh the instance vm

rajcoumar gravatar imagerajcoumar ( 2015-02-11 07:16:34 -0500 )edit

@jtaguinerd ssh openstack@ubuntu-cloud-init001 ssh: Could not resolve hostname ubuntu-cloud-init001: Name or service not known

rajcoumar gravatar imagerajcoumar ( 2015-02-11 07:17:20 -0500 )edit

Edit the question instead of adding comments, that are complicated to read. Https://

smaffulli gravatar imagesmaffulli ( 2015-02-13 12:29:10 -0500 )edit

While launching an instance pass the user-data script(cloudinit) to edit resolv.conf file so that file contains the DNS For cloudinit these links will suffice:

Praveen N gravatar imagePraveen N ( 2015-02-17 14:41:20 -0500 )edit