Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 72711 invoked from network); 29 Mar 2006 21:36:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 21:36:29 -0000 Received: (qmail 60208 invoked by uid 500); 29 Mar 2006 21:36:28 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 60159 invoked by uid 500); 29 Mar 2006 21:36:28 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 60148 invoked by uid 99); 29 Mar 2006 21:36:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 13:36:27 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rooneg@gmail.com designates 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nproxy.gmail.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 13:36:27 -0800 Received: by nproxy.gmail.com with SMTP id o63so226117nfa for ; Wed, 29 Mar 2006 13:36:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oYh+hqaBu1YPa26OTwIzL5GCHgGqFvmp2IElouskAI4d4zJsVfoXoDjJMWxGz/WJbBvTGWYQ7e29z4icgMQ28+rC/Qr0FCvvw3UhUuo6RWAFuEaRL/j6TRmhJiTQ5ExJxJVDH+oFl5qNMvMzRShLq5CQMnI08Ou94TGv/gg58aA= Received: by 10.49.27.16 with SMTP id e16mr117309nfj; Wed, 29 Mar 2006 13:36:05 -0800 (PST) Received: by 10.49.64.12 with HTTP; Wed, 29 Mar 2006 13:36:05 -0800 (PST) Message-ID: <7edfeeef0603291336j62ba9449t9d8a6b8a1b7fb541@mail.gmail.com> Date: Wed, 29 Mar 2006 13:36:05 -0800 From: "Garrett Rooney" Sender: rooneg@gmail.com To: "Nick Kew" Subject: Re: Fwd: APR resolver? Cc: dev@apr.apache.org In-Reply-To: <200603292233.07008.nick@webthing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060329123635.739o6kifgm34ccoc@webmail.mit.edu> <200603292233.07008.nick@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 3/29/06, Nick Kew wrote: > On Wednesday 29 March 2006 18:36, Rian A Hunter wrote: > > this was ignorantly sent to dev@httpd > > ISTR you had a good reply there, too:-) > > > I know there is apr_sockaddr_info_get but this doesn't handle getting m= x > > records (or other DNS record types). Should a "resolver" API be added t= o > > APR. Actually I think yes and I think I'm going to implement this. Any > > objections? > > Would you plan to do this by adding to the existing apr_network_io > or by introducing a new module? At first glance, the first looks best, > provided it doesn't break back-compatibility. My primary question is will it just be a wrapper around the system DNS resolution functions, which would result in blocking calls, or would it be an implementation of the occasionally-proposed APR async DNS library. An async DNS library would be more work, but it's also much more useful in the long run. -garrett