Re: [DNSOP] draft-liman-tld-names-04

Mark Andrews <marka@isc.org> Wed, 17 November 2010 23:50 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsop@core3.amsl.com
Delivered-To: dnsop@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 181DE3A69A9 for <dnsop@core3.amsl.com>; Wed, 17 Nov 2010 15:50:50 -0800 (PST)
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 ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LWIsPXYWJiy3 for <dnsop@core3.amsl.com>; Wed, 17 Nov 2010 15:50:49 -0800 (PST)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) by core3.amsl.com (Postfix) with ESMTP id CAA993A69AC for <dnsop@ietf.org>; Wed, 17 Nov 2010 15:50:48 -0800 (PST)
Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "farside.isc.org", Issuer "ISC CA" (verified OK)) by mx.pao1.isc.org (Postfix) with ESMTPS id 8170FC9427; Wed, 17 Nov 2010 23:51:23 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:ea06:88ff:fef3:4f9c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by farside.isc.org (Postfix) with ESMTP id C96FDE6056; Wed, 17 Nov 2010 23:51:22 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id A87B26D9757; Thu, 18 Nov 2010 10:51:20 +1100 (EST)
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
From: Mark Andrews <marka@isc.org>
References: <4CE1A110.1060403@necom830.hpcl.titech.ac.jp> <20101115213532.GD322@shinkuro.com> <04856F66-598D-43CC-8164-90178A6F2952@virtualized.org> <4CE283DA.5080606@abenaki.wabanaki.net> <20101116145308.GG1389@shinkuro.com> <alpine.LSU.2.00.1011161601450.14239@hermes-2.csi.cam.ac.uk> <20101116164818.GN1389@shinkuro.com> <alpine.LSU.2.00.1011171101250.14239@hermes-2.csi.cam.ac.uk> <20101117113217.GA14577@nic.fr> <20101117121504.8CE496D6C67@drugs.dv.isc.org> <20101117211558.GA744@sources.org>
In-reply-to: Your message of "Wed, 17 Nov 2010 22:15:58 BST." <20101117211558.GA744@sources.org>
Date: Thu, 18 Nov 2010 10:51:20 +1100
Message-Id: <20101117235120.A87B26D9757@drugs.dv.isc.org>
Cc: Tony Finch <dot@dotat.at>, Andrew Sullivan <ajs@shinkuro.com>, dnsop@ietf.org
Subject: Re: [DNSOP] draft-liman-tld-names-04
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Nov 2010 23:50:50 -0000

In message <20101117211558.GA744@sources.org>, Stephane Bortzmeyer writes:
> On Wed, Nov 17, 2010 at 11:15:04PM +1100,
>  Mark Andrews <marka@isc.org> wrote 
>  a message of 41 lines which said:
> 
> > > So, there is no ambiguity: 192.0.2.4 is always an IP address, even if
> > > ICANN delegates ".4".
> > 
> > Except there are plenty of applications that don't do this so it is 
> > a real problem.
> 
> I do not really see what conclusion you draw from that fact. Yes,
> there are broken applications, I do not doubt it.

Actually they are not broken.  Only if you want to support IPv4
literals do you need to check.  The rules in RFC 1123 are designed
to prevent accidental matches when you only want to accept domain
names.

dig is a example of a application that does not check for IPv4
addresses as it is only expecting domain names.  If you want it to
treat the input as a address you have to explicitly tell so.

RFC 952 label rules prevented IPv4 address from ever being matched
even when searching because no label could match a address component.
The two were in different namespaces.  IPv4 address components all
start with a digit in all the forms of IPv4 address that I'm aware
of.  No hostname label could start with a digit.  Two disjoint sets.

RFC 1123 relaxed RFC 952 label rules but attempted to prevent
accidental matches in the multiple label case by assuming that
searches would not occur with multiple labels and by ensuring that
at least one of the labels, the last, would not be a valid address
component.

I would be quite happy to relax TLD labels so that they matched the
unmodified RFC 952 label and to explictly state that TLD labels
starting with a digit are prohibited to prevent accidental matches
against IPv4 address components.

> There are probably
> apps that try to resolve a domain name without checking before that it
> is not an IP address, hereby violating RFC 1123. These apps will have
> problems if ICANN delegates .NNN where NNN is a number.
> 
> But it does not imply that we should hardwire the no-digits rule in
> a RFC. For two reasons:
> 
> 1) There are applications that violate RFC 5322 (typically email
> syntax checkers on Web pages, which reject many valid RFC 5322
> addresses). Yet, we do not modify RFC 5322 to align it on these apps. 
> 
> 2) It may be a wise policy for ICANN to refuse the delegation of
> all-digits TLDs. But it is a policy issue, similar to registries (most
> TLD do so) which delegates only LDH domains (when the DNS would accept
> other names). There is zero technical reason to write down this limit
> in a RFC about the syntax. 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org