[Openstack-operators] Custom VM FQDNs and DNS integration

Jonathan Mills jonmills at gmail.com
Mon Oct 10 17:36:48 UTC 2016


What I would like to see in terms of the FQDNs of my VMs is something like this:

%{hostname}.%{tenant-name}.example.com

Does anyone know the easiest way to make this possible?  From my browsing, the tenant-name part doesn’t seem like a native capability.  I had been wondering if achieving this was going to require a post-boot setting.  For instance, using cloud-init to pull info from the metadata service to set the FQDN.  But I don’t even see where the tenant name is part of the metadata.  Then again, I’m not so familiar with these corners of OpenStack.

In terms of DNS integration, if I could make Nova create the FQDNs I want, then I assume I could get Designate to do the right thing.  But if I end up setting the VMs’ FQDNs as a post-boot function, then it seems like I would need a dynamic DNS update to happen….and probably not run Designate.  Am I on the right path?  What are others running?


More information about the OpenStack-operators mailing list