Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 85458 invoked from network); 4 Sep 2006 02:15:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 02:15:05 -0000 Received: (qmail 62318 invoked by uid 500); 4 Sep 2006 02:15:04 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 62244 invoked by uid 500); 4 Sep 2006 02:15:04 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 62233 invoked by uid 99); 4 Sep 2006 02:15:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Sep 2006 19:15:03 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of upas102@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Sep 2006 19:15:02 -0700 Received: by nf-out-0910.google.com with SMTP id o25so958842nfa for ; Sun, 03 Sep 2006 19:14:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GJUdEzqD4hNN5ATRI0iLy+6WgmwhPQcaBhJ50ap8EJ/9LPLvWKNBnaXBq/dlPItzenUCdbp3JMOPq3M3qHAccxn6RY6nf9VRrxER1b4McC0p/F9AJ5HLp224TOkZUlAVHb3u7Ayv480jssRd7L1gwrlfkbVvNnrzVs02J6AFdLk= Received: by 10.49.26.18 with SMTP id d18mr6090084nfj; Sun, 03 Sep 2006 19:14:41 -0700 (PDT) Received: by 10.49.80.9 with HTTP; Sun, 3 Sep 2006 19:14:41 -0700 (PDT) Message-ID: Date: Mon, 4 Sep 2006 12:14:41 +1000 From: "upasana immidi" To: "Apache Directory Developers List" Subject: Re: ApacheDS as DNS server In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_211401_20622937.1157336081124" References: <768dcb2e0609010253tb767346pb2fbdf72776e750@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_211401_20622937.1157336081124 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, since I last sent my post with all the questions, I downloaded apacheds-protocol-dns-1.0.RC3.jar and integrated it with my project via Maven's POM I could download source from the following location https://svn.apache.org/repos/asf/directory/trunks/apacheds Now I need to figureout the parameters that need to be sent to instantiate DnsServer class, DnsServer(DnsConfiguration config, IoAcceptor acceptor, RecordStore store) is there any documentation available? Anna On 9/4/06, upasana immidi wrote: > > Hi, > > Thanks for the response. > > Firstly, how can I download the sorce code , the link that you specified > just lets you view the files. I have Subversion and Maven2 evironment, > probably you cna point me to the subversion repository > > Do I need to download code for MINA too. > > Do I need to configure the JNDI settings somewhere and > > Do I need to set some simple schema for DNS. > > I would like to use DNS server for failover, if main server is responding > then forwad the traffic to that other wise forward it to DR site. > > Cheers, > Anna > > > > On 9/1/06, Trustin Lee wrote: > > > > On 9/1/06, upasana immidi wrote: > > > > > Hi, > > > I would like to use ApacheDS as a DNS server (to start with). How > > > should I go about doing it? > > > > > > I have ApacheDS running and have csuccessfully onfigured JXplorer to > > > view the ApacheDS directory structure. > > > > > > Can I configure ApacheDS as a DNS server or do I have to donwload the > > > code and embed it within my program? > > > > > > I will appreciate if some one can give me some pointers. > > > > > > I am new to this list and if this is not an appropriate list tell me > > > which one is? > > > > > > > For now, DNS protocol is not integrated into ApacheDS out-of-the-box > > IIRC, but you can integrate it easily because our DNS implementation uses > > JNDI API to access the underlying storage (ApacheDS in this case). So.. > > what you have to do is to: > > > > * Start ApacheDS > > * Start DNS server within the same VM by instantiating DnsServer class > > > > The DNS server source code is located here: > > > > http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-dns/ > > > > You will have to learn how to use MINA a little bit and look into the > > source code. > > > > Once we adopt OSGi technology, we could launch the DNS server just > > installing DNS OSGi bundle dynamically, but not right now. > > > > HTH, > > Trustin > > -- > > what we call human nature is actually human habit > > -- > > http://gleamynode.net/ > > -- > > PGP key fingerprints: > > * E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E > > * B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6 > > > > ------=_Part_211401_20622937.1157336081124 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

since I last sent my post with all the questions,
I downloaded apacheds-protocol-dns-1.0.RC3.jar and integrated it with my project via Maven's POM


I could download source from the following location
https://svn.apache.org/repos/asf/directory/trunks/apacheds


Now I need to figureout the parameters that need to be sent to instantiate DnsServer class,

DnsServer(DnsConfiguration config, IoAcceptor acceptor, RecordStore store)


is there any documentation available?
Anna

On 9/4/06, upasana immidi <upas102@gmail.com> wrote:
Hi,

Thanks for the response.

Firstly, how can I download the sorce code , the link that you specified just lets you view the files. I have Subversion and Maven2 evironment, probably you cna point me to the subversion repository

Do I need to download code for MINA too.

Do I need to configure the JNDI settings somewhere and

Do I need to set some simple schema for DNS.

I would like to use DNS server for failover, if main server is responding then forwad the traffic to that other wise forward it to DR site.

Cheers,
Anna



On 9/1/06, Trustin Lee < trustin@gmail.com> wrote:
On 9/1/06, upasana immidi <upas102@gmail.com > wrote:
Hi,
I would like to use ApacheDS as a DNS server (to start with). How should I go about doing it?

I have  ApacheDS running and have csuccessfully onfigured JXplorer to view the ApacheDS directory structure.

Can I configure ApacheDS as a DNS server or do I have to donwload the code and embed it within my program?

I will appreciate if some one can give me some pointers.

I am new to this list and if this is not an appropriate list tell me which one is?

For now, DNS protocol is not integrated into ApacheDS out-of-the-box IIRC, but you can integrate it easily because our DNS implementation uses JNDI API to access the underlying storage (ApacheDS in this case).  So.. what you have to do is to:

* Start ApacheDS
* Start DNS server within the same VM by instantiating DnsServer class

The DNS server source code is located here:

http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-dns/

You will have to learn how to use MINA a little bit and look into the source code.

Once we adopt OSGi technology, we could launch the DNS server just installing DNS OSGi bundle dynamically, but not right now.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6


------=_Part_211401_20622937.1157336081124--