This is pretty cool. I’ll give it a try soon, thanks for contributing, I forked your repo on github.
-ilya On Wednesday, April 16, 2014, Ihor Kravchuk <ingvar...@gmail.com> wrote: > Hi , > > I made a small python program that solves DNS integration issues between > CloudStack VR's DNS service and BIND DNS. > This program assumes that you are using one sub-domain per network(each > network has own sub-domain) (IMHO the best way fro naming instances in > CloudStack) > How it works: > This program runs on CloudStack management server and listen for the new vm > deployment using CloudStack catalina.out log. > On event (new host deployed) program calls CloudStack API and gets list of > Networks and list of VM. Using theses lists and preconfigured domain > settings it creates the zone file for BIND, push it to server and refresh > BIND > The source code for the event driven version on GitHub: > https://github.com/IhorKravchuk/cloudstack_ingvar/ > All parameters load from dns_builder.conf file and local and remote (from > CloudStack mgmt server prospective) BIND DNS servers supported. > Igor >