<div dir="ltr">I think you're asking if it's possible for OpenStack to handle registering each public IP assigned to an instance with a DNS service so that each instance can be accessed by a hostname such as (instance name).<a href="http://mydomain.org" target="_blank">mydomain.org</a> ?<div>
<br></div><div>I don't think OpenStack handles this today. </div><div><br></div><div>If I were trying to assign host names to instances, I would look at a script installed into the instance either as part of the image or part of the first-boot setup. I used a program called 'ddclient' in the past to do this:</div>
<div><br></div><div><a href="http://sourceforge.net/p/ddclient/wiki/Home/">http://sourceforge.net/p/ddclient/wiki/Home/</a><br></div><div><br></div><div>It also appears to be included in at least Ubuntu distributions today, the other major distributions probably have something similar.</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 29, 2014 at 12:50 PM, Gonzalo Aguilar Delgado <span dir="ltr"><<a href="mailto:gaguilar@aguilardelgado.com" target="_blank">gaguilar@aguilardelgado.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi, <br>
<br>
I know this is asked several times. but I cannot find a solution.
The more I found is <br>
<a href="https://lists.launchpad.net/openstack/msg21048.html" target="_blank">https://lists.launchpad.net/openstack/msg21048.html</a><br>
<br>
And the dns as service plugin that I think is not ready.
<a href="https://wiki.openstack.org/wiki/DNSaaS" target="_blank">https://wiki.openstack.org/wiki/DNSaaS</a><br>
<br>
So here is the question. Is there any way to setup a dhcpserver
for the openstack lan so every instance that boots gets a dns?<br>
<br>
I mean. I configured my private dhcp and dns server to do the
following:<br>
<br>
1.- dhcp / bootp redirects any instances in my network to maas
server. This is not needed for openstack. But I explain for
completeness. <br>
2.- Machine boots and gets an ip from dhcpd server. <br>
3.- dhcpd server communicates the ip to the DNS and gets a name
for a machine. <br>
3.- dhcpd communicates network config to the server. <br>
4.- Machine is fully resolvable under lan. <br>
<br>
I use rndc to do this with dns (bind9) and dhcpd. <br>
<br>
Is there any way to do this in openstack? So when a machine boots
on lan gets a internal dns name, and when it gets a floating ip it
gets another from the dns server?<br>
<br>
<br>
Do I explain myself?<br>
<br>
Best regards,<br>
</font>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Andrew Mann<div>DivvyCloud Inc.</div><div><a href="http://www.divvycloud.com" target="_blank">www.divvycloud.com</a></div></div>
</div>