X-Scanned-BY: MIMEDefang 2.68 on 10.5.11.22 CC: atkac@redhat.com MIME-Version: 1.0 In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 References: <4DE76CE2.3050600@redhat.com> <20110602142908.GA89544@isc.org> Message-ID: <4F703764.9080300@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-RT-Original-Encoding: utf-8 Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) by bugs.isc.org (Postfix) with ESMTP id 19D4D20EE2C6 for ; Mon, 26 Mar 2012 10:31:32 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.pao1.isc.org (Postfix) with ESMTP id 1FA1FC9424 for ; Mon, 26 Mar 2012 10:31:18 +0000 (UTC) (envelope-from pspacek@redhat.com) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2QAVIeF031702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Mar 2012 06:31:18 -0400 Received: from dhcp-31-49.brq.redhat.com (dhcp-31-49.brq.redhat.com [10.34.31.49]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2QAVEMS016634 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 26 Mar 2012 06:31:17 -0400 Delivered-To: bind-suggest@bugs.isc.org Subject: Re: [ISC-Bugs #24733] [PATCH] New dynamic_db database interface for BIND User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 Return-Path: X-Original-To: bind-suggest@bugs.isc.org Date: Mon, 26 Mar 2012 11:31:16 +0200 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.pao1.isc.org To: bind-suggest@isc.org Content-Transfer-Encoding: 8bit From: Petr Spacek RT-Message-ID: Content-Length: 2200 Greetings, after a bit longer break we are back with proposed API. We are still interested in contributing dynamic database API upstream. Please, can you provide more detailed requirements for contributing code? I would like to get information about: - requirements to API tests - requirements to documentation: Is enough to comment code in the same way as BIND? If API will be acceptable for you, I can write some BSD-licensed sample driver in spirit of bind9/bin/tests/system/dlzexternal/driver.c. Code will be polished according to http://bind10.isc.org/wiki/BIND9CodingGuidelines, of course. Regards, -- Petr Spacek Software Engineer Red Hat Czech s.r.o. Email: pspacek@redhat.com Phone: +420 532 294 185 Web: www.cz.redhat.com Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno, Czech Republic IC: 27690016 On 06/03/2011 04:36 AM, Evan Hunt via RT wrote: > Hi Adam, > > At a cursory glance this looks like quite good code, and we might indeed be > interested in accepting it into BIND 9, as it has at least one feature we had > hoped to support eventually (external database with the ability to serve > DNSSEC). > > We can't commit it in its current form for a few reasons: first, there are no > tests or documentation; second, there is no sample driver we can provide as > guidance to implementors. (The LDAP driver you pointed to is good, but it's > GPL, which means ISC is forbidden by corporate charter from shipping it.) > > We can probably help with tests and doc, but a sample driver with a BSD- > compatible license would be a huge help, even if it only served static zones > (such as the one in bind9/bin/tests/system/dlzexternal/driver.c). > > Out of curiosity, why did you decide to add a new API and new 'dynamic-db' > configuration syntax instead of extending or improving the existing DLZ API? > Would a merged approach be workable? Minimizing the number of different ways to > accomplish the same thing would be desirable, if feasible. > > I see a few trivial ISC code-style incompatibilities, but nothing to worry about > on that account. I'm planning to commit your patch to a CVS branch for further > work, and will review the code in more detail later.