Neutron subnet DNS

asked 2014-10-29 03:36:06 -0500

Ignacio Mulas gravatar image

I would like to resolve my hostnames between the VMs sitting on the same net and subnet and the external domains in my openstack infrastructure (using neutron).

Right now, the internal DNS resolver is simply not working. I have a puppet master and a VM running on the same network. I want to subscribe the VM as puppet slave, so I launch my VM and point to the puppet master. This is done through the IP address. Now but I need to find a suitable way to:

  • Resolve hostnames within the same subnet
  • Resolve hostnames outside my cloud infrastructure (I have already the external DNS servers so this is not a problem now)

This is required in order to properly setup a cluster of components which need the hostname resolution to work. Any ideas on how can I combine both name resolutions?

Thanks in advance!

edit retag flag offensive close merge delete


When creating private subnet :-

$ neutron subnet-update $INT_SUBNET_ID --dns_nameservers list=true \ DNS_LOCAL_IP,DNS_GLOBAL_IP

dbaxps gravatar imagedbaxps ( 2014-10-29 05:49:01 -0500 )edit

Yes, that is the approach we are taking, but is there any way to configure openstack to resolve the hostnames of the VMs created? Maybe configuring the dhcp and/or dnsmask agent ?

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-10-29 10:30:16 -0500 )edit

Do you want to resolve Nova instance name into IP address ?

dbaxps gravatar imagedbaxps ( 2014-10-29 11:11:01 -0500 )edit

yes, all the instances created in my infrastructure :)

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-10-29 11:21:13 -0500 )edit

Hi, did you manage to implement it? I would be interested in doing the same thing. Regards, Francesco

Francesco gravatar imageFrancesco ( 2015-07-22 10:12:06 -0500 )edit