Re: [regext] Antwort: RDAP lookup queries for reserved or unassignable domains

Andrew Newton <andy@hxr.us> Wed, 07 December 2016 14:32 UTC

Return-Path: <andy@hxr.us>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5392129EDC for <regext@ietfa.amsl.com>; Wed, 7 Dec 2016 06:32:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hxr-us.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4boYVxZsczFJ for <regext@ietfa.amsl.com>; Wed, 7 Dec 2016 06:32:20 -0800 (PST)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4150A1294FC for <regext@ietf.org>; Wed, 7 Dec 2016 06:27:31 -0800 (PST)
Received: by mail-wm0-x22e.google.com with SMTP id a197so170239032wmd.0 for <regext@ietf.org>; Wed, 07 Dec 2016 06:27:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hxr-us.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=u864/az/Odzvk+13xCwf5TB4/XUrKRkXwwZrqCYDvZ4=; b=KH+NLkkcE+/eQ1DgWRkVX7/LsAfULLcruSn5OiasBmSxgcwQuUbSTqdT9zzVyTHZNC UCPtBhsWAWGITRnA+2yJKY2gLiCfjcmUbPSckejEbQ2WUAql/q/okxVSAo/wFqY1j6qh l+cNewBh6XcqeKEu6Nw02JpHUgmDF9Qg3UA6sqjyKBGiL6wj/vmCakwawTAfgv6gS/gP OdNctIS3J47jv0/SVbeiTqCT+vrsAclcXSVq4bXml2t1kG4GBZVcY9RFVs6+ItdkQ4rn bYZoa1TeIMrjG3f7WQmG8UDGNAiF8bOkFuLbvV0zdw1jLvPl1cj75kFzuk5DmIyXIQDm Cu1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=u864/az/Odzvk+13xCwf5TB4/XUrKRkXwwZrqCYDvZ4=; b=O0DMzRdNmm+HQz8rXAE/9A8srFxYawNZM4XF7ns4eeMy2L1vVla6bbLNZJ1iJlXDoD TZtNLX4MiRhld+MByhQYakN61T0ZWKrNySWHR6gQujcpz5Nw1rdEX+GmvtNhYclXt6hM Y68Kzzj/4A1klx71nPIvU1deY2X+ij0LCBUK6TCFuhrAcxETpsGUkXrxSbhm7mjtqUQM t2FuAjhLpuQ9tqnZRg4QOU904sG4Zr+sdUl4T7Db4ymZ1LNCxm+rAMyLQQ+jMYW++NY9 wqiHy2SkYa4q1lHKDvA/Rr7VklcpslFylzCHWpZ1BED61BgMxiYPN+mIyFrp32r8XKqY acWg==
X-Gm-Message-State: AKaTC009M/7uURtkqVFsEuWqJmzJbDzd1asTQ+in6/R3Q6Z9HvJxY6AIVQQ4/5ENKkKjLau8s28tN+T+N4njzw==
X-Received: by 10.28.57.193 with SMTP id g184mr2851800wma.122.1481120849597; Wed, 07 Dec 2016 06:27:29 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.171.9 with HTTP; Wed, 7 Dec 2016 06:27:29 -0800 (PST)
X-Originating-IP: [192.136.136.238]
In-Reply-To: <OFE03DADEF.F7DD54A4-ONC1258082.004C14CA-C1258082.004C1A03@notes.denic.de>
References: <06acca7f-b6ab-fc71-7cc3-b3c8f13b20ad@iit.cnr.it> <OFE03DADEF.F7DD54A4-ONC1258082.004C14CA-C1258082.004C1A03@notes.denic.de>
From: Andrew Newton <andy@hxr.us>
Date: Wed, 07 Dec 2016 09:27:29 -0500
Message-ID: <CAAQiQReDnyqNiTvuZQiWMxG05ELhXTprTNA5QZbdhAFppCdK5g@mail.gmail.com>
To: Marcos Sanz <sanz@denic.de>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/3-39lf0StlLswrXFKv_ACsEg71o>
Cc: Mario Loffredo <mario.loffredo@iit.cnr.it>, "regext@ietf.org" <regext@ietf.org>
Subject: Re: [regext] Antwort: RDAP lookup queries for reserved or unassignable domains
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Dec 2016 14:32:28 -0000

If the goals of a domain availability check are:

1) use a simple technology such as HTTP (and RDAP)
2) keep the payload small

One solution may be to simply put a query parameter on the GET such as
?availability=true.
Then the server would know to send back the minimum payload necessary,
thus avoiding excessive bandwidth and allowing the server to execute a
tighter code path for that specific purpose (i.e. no database fetches
of entities, etc...).

-andy

On Wed, Dec 7, 2016 at 8:51 AM, Marcos Sanz <sanz@denic.de> wrote:
> Hello Mario,
>
>>I have a question about how to deal with RDAP lookup queries for
>>reserved or unassignable domains.
>>
>>If a client submits a query about a reserved or unassignable domain,
>>which response code should the server return?
>>
>>In my opinion, if the server returns a 404 response, it could be
>>misunderstood. The client could undestand the domain is available.
>
> a very valid question. Even if you are able to signalize that the domain is
> not available, you would like to further communicate the clients that they
> don't need to query over and over again to find out if it's expired or
> become free.
>
> RFC 7483 offers status  "renew prohibited"
>
>       Description: Renewal or reregistration of the object instance is
>          forbidden.
>
>
> draft-ietf-regext-epp-rdap-status-mapping refines that and introduces
> "server renew prohibited", which in my opinion is probably what you want to
> communicate (server policy).
>
>>In the GET method, the server may include additional information
>>regarding the negative answer
>
> See above.
>
>>, but it can't in the HEAD method.
>> Maybe the 410 response code could be used in this case ?
>
> If we agree on the above, then the HEAD answer must be a 200.
>
> Best,
> Marcos
>
> _______________________________________________
> regext mailing list
> regext@ietf.org
> https://www.ietf.org/mailman/listinfo/regext
>