Community
 
 
 

CloudPlatform 3.x

343 seguidores
 
Avatar
Administrator

DNS integration

Avatar

DNS integration

Hello,

we already have bind server and we want to use it for our cloudstack environnement, do you Know if it's possible to make that?

I mean can the cloudstack DHCP can send indormation to an existing DNS? Or do you have some kind of plugin/script who use nsupdate?

Thanks


Anthony Glidic MEMBERS 14 January 2013 - 08:46 AM
5 comentários
0

Por favor, entrar para comentar.

 
 

Previous 5 comentários

Avatar
Administrator
Avatar

DNS integration

Glidic, I am not sure if I understand your question but while you create zone, the wizard ask you to provide DNS servers (in basic and advance zone):

*1. DNS1 and DNS2.* These are DNS servers for use by guest VMs in the zone. These DNS servers
will be accessed via the public network you will add later. The public IP addresses for the zone
must have a route to the DNS server named here.

*2. Internal DNS 1 and Internal DNS 2.* These are DNS servers for use by system VMs in the
zone (these are VMs used by CloudPlatform itself, such as virtual routers, console proxies,
and Secondary Storage VMs.) These DNS servers will be accessed via the management traffic
network interface of the System VMs. The private IP address you provide for the pods must
have a route to the internal DNS server named here.

I hope above answers your question.

Radek.


Radoslaw Smigielski CITRIX EMPLOYEES 14 January 2013 - 12:32 PM
Ações de comentário Permalink
Avatar
Administrator
Avatar

Thanks for the answer, actually i was thinking about a Dynamic dns with an external DNS.

So it means you have to modify the dhcp or tu use a script with nsupdate.

We have physical server on our infra too so we don't want to use the DomR of cloudstack


Anthony Glidic MEMBERS 14 January 2013 - 12:42 PM
Ações de comentário Permalink
Avatar
Administrator
Avatar

I am afraid CS doesn't have such functionality yet but it may be good enhancementA request.
Although if we ignore CS DNS and add nsaupdate to the VM template, so when it starts update DDNS record, maybe this will work for you?

Radek.


Radoslaw Smigielski CITRIX EMPLOYEES 15 January 2013 - 06:53 AM
Ações de comentário Permalink
Avatar
Administrator
Avatar

Yeah i already think about this solution but it's the last one i would use.
I mean in that case you have to accept update from all your network so for security it's not really good, plus you automatically add entry on your dns but you don't delete it.

I was more thinking about using the dhcp of cloudstack and modify it to make ddns with my dns but i think than every time i will made a chang eon cloudstack it will erase my ddns.

And the last idea is to have a listener (cloudstack API) and every time you have a creation event you take the hostname the zone and the IP and the network card name. You made a map i mean if you are in zone X with network card Y so you are in the domaine name X.Y for example and you use nsupdate to push that on the dns.

So the idea is pretty simple and the nsupdate script part too but i don't know the cloudstack api to built the listener that's why i ask if someone already do that.

Thanks


Anthony Glidic MEMBERS 15 January 2013 - 07:42 AM
Ações de comentário Permalink
Avatar
Administrator
Avatar

> I mean in that case you have to accept update from all your network
> so for security it's not really good, plus you automatically add entry on your dns but you don't delete it.
Yes this is not ideal solution.

>I was more thinking about using the dhcp of cloudstack and modify it to make ddns with my dns
Currently the only way to do is to get VR template, modify it and replace original. but this is slightly out of our supported envelope, I am afraid.

Radek.


Radoslaw Smigielski CITRIX EMPLOYEES 16 January 2013 - 11:58 AM
Ações de comentário Permalink

Top Contributors