Re: [weirds] Lookups vs Searches (was Re: I-D Action: draft-hollenbeck-dnrd-ap-query-00.txt)

Hugo Salgado <hsalgado@nic.cl> Fri, 04 May 2012 17:12 UTC

Return-Path: <hsalgado@nic.cl>
X-Original-To: weirds@ietfa.amsl.com
Delivered-To: weirds@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AB6721F85C3 for <weirds@ietfa.amsl.com>; Fri, 4 May 2012 10:12:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PGKqgCrXYpdv for <weirds@ietfa.amsl.com>; Fri, 4 May 2012 10:12:04 -0700 (PDT)
Received: from mail.nic.cl (mail.nic.cl [200.1.123.8]) by ietfa.amsl.com (Postfix) with ESMTP id E833D21F85C0 for <weirds@ietf.org>; Fri, 4 May 2012 10:12:03 -0700 (PDT)
Received: from mail.nic.cl (localhost.localdomain [127.0.0.1]) by mail.nic.cl (Postfix) with ESMTP id B5C5BCC82AB for <weirds@ietf.org>; Fri, 4 May 2012 13:12:01 -0400 (CLT)
Received: from vulcano.intra.nic.cl (vulcano.intra.nic.cl [172.30.10.58]) by mail.nic.cl (Postfix) with ESMTP id 8199CCC8297 for <weirds@ietf.org>; Fri, 4 May 2012 13:12:01 -0400 (CLT)
Message-ID: <4FA40DE1.20607@nic.cl>
Date: Fri, 04 May 2012 13:12:01 -0400
From: Hugo Salgado <hsalgado@nic.cl>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: weirds@ietf.org
References: <CBC869AD.2C61D%francisco.arias@icann.org>
In-Reply-To: <CBC869AD.2C61D%francisco.arias@icann.org>
X-Enigmail-Version: 1.4.1
OpenPGP: id=B525FA6E
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP on Fri May 4 13:12:01 2012 -0400 (CLT)
Subject: Re: [weirds] Lookups vs Searches (was Re: I-D Action: draft-hollenbeck-dnrd-ap-query-00.txt)
X-BeenThere: weirds@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "WHOIS-based Extensible Internet Registration Data Service \(WEIRDS\)" <weirds.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/weirds>, <mailto:weirds-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/weirds>
List-Post: <mailto:weirds@ietf.org>
List-Help: <mailto:weirds-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/weirds>, <mailto:weirds-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 May 2012 17:12:05 -0000

In the .CL case, we as a registry allow approximate search queries in
the domain name, and were thinking in something like

 /dnrd-ap/search/domain/by?name=<query>;match=begining

as we have 3 types of matching: begining (^query*), ending (*query$)
and in-between (*query*).

We know this is something unusual, so it's something we can cope with
a protocol extension.

Hugo

On 05/03/2012 08:29 PM, Francisco Arias wrote:
> In the context of queries, the complexity starts when we talk about
> searches as opposed to lookups. Perhaps we should separate those in two
> different drafts.
> 
> The lookup specification (draft-hollenbeck-dnrd-ap-query) already
> specifies a simple lookup mechanism for each object. I think it should
> stay that way.
> 
> The search specification (no I-D yet) would specify how to do searches
> that involve multiple search parameters and returns multiple objects
> (perhaps it should return references to objects). For example we could
> have something like:
> 
> /dnrd-ap/search/host/by?ip=1.2.3.4
> /dnrd-ap/search/domain/by?registrant_id=ABC123&nameserver=ns.foo.bar
> 
> What search parameters a registry/registrar supports over each object, or
> whether it implements searches at all, will be a registry/registrar's
> policy-maker decision.
> 
> Thoughts?
> 
> 
> __
> 
> Francisco.
> 
> 
> 
> 
> 
> On 5/1/12 10:19 AM, "Andy Newton" <andy@hxr.us> wrote:
> 
>>
>> On May 1, 2012, at 12:22 PM, Dave Piscitello wrote:
>>
>>> So we're clear, this increases the likelihood that other
>>> implementations than registry/registrar might extend the protocol in
>>> non-uniform manners. Would be nice to avoid but I'm not going to fall on
>>> my sword on this issue in this working group.
>>
>> Nobody knows if it increases the likelihood, but the probability of
>> protocol extensions is there any way. If we attempt to throw every
>> feature into the protocol now in fear of not being able to add extensions
>> later, then it is gonna be really difficult to get the first revision out
>> the door and thus will validate the fears of some of the critics of this
>> work.
>>
>> Maybe we should keep a list of features desired but not for the first
>> pass. Often the more complex use cases are clarified after an initial go
>> round with the base features.
>>
>> -andy
>> _______________________________________________
>> weirds mailing list
>> weirds@ietf.org
>> https://www.ietf.org/mailman/listinfo/weirds
> 
> _______________________________________________
> weirds mailing list
> weirds@ietf.org
> https://www.ietf.org/mailman/listinfo/weirds
>