Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14DCF11E79 for ; Wed, 16 Apr 2014 18:25:57 +0000 (UTC) Received: (qmail 19203 invoked by uid 500); 16 Apr 2014 18:25:55 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 19125 invoked by uid 500); 16 Apr 2014 18:25:55 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 19117 invoked by uid 99); 16 Apr 2014 18:25:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 18:25:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ilya.mailing.lists@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2014 18:25:51 +0000 Received: by mail-wi0-f172.google.com with SMTP id hi2so1826716wib.11 for ; Wed, 16 Apr 2014 11:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=obpX2l7NQG+bRRG0DBQn8ehU6bBxYebJ8ZF8teknrYs=; b=TA56ErfBLNiD3nSy7YRzrvlIDGaKl5tluTMI/EkoXpsCFknzGwnf878MOQ6b1KYkyJ 75EzVph6afD+JZFobp2mPR3e980FOfpzUMAz0O99l46vW2C1VdHqWyUCN1TNS4X/bXLs 78vIRfxZN91zI5nVTlw/ayohk49E7/IgPUpDHR7BlxWFWDrncmeDFupjDeKY8zqUZCW1 qsHcG7Ts995gz2ut44SZO6b2rnlSZ7THiU4HUeYDm3PQA/d4gYvGksp1hlNwv7XjLS0F HnlOctgG1LsOTvdyPsWlUaRuio2nCiBnSp2ps/CCFSvqrE3aqIx9Yq9WsRy02y17nQc+ BInQ== MIME-Version: 1.0 X-Received: by 10.180.78.200 with SMTP id d8mr20669860wix.34.1397672729149; Wed, 16 Apr 2014 11:25:29 -0700 (PDT) Received: by 10.227.242.69 with HTTP; Wed, 16 Apr 2014 11:25:29 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Apr 2014 11:25:29 -0700 Message-ID: Subject: Re: CloudStack-BIND dns integration From: ilya musayev To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=f46d0435c0508887cc04f72d0a94 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0435c0508887cc04f72d0a94 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is pretty cool. I=E2=80=99ll give it a try soon, thanks for contributing, I forked your rep= o on github. -ilya On Wednesday, April 16, 2014, Ihor Kravchuk 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 o= f > 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 > --f46d0435c0508887cc04f72d0a94--