Re: [DNSOP] draft-lewis-domain-names-00.txt

Robert Edmonds <edmonds@mycre.ws> Mon, 21 September 2015 16:11 UTC

Return-Path: <edmonds@mycre.ws>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8F281A90D3 for <dnsop@ietfa.amsl.com>; Mon, 21 Sep 2015 09:11:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 lb6mOCnt7wJ0 for <dnsop@ietfa.amsl.com>; Mon, 21 Sep 2015 09:11:03 -0700 (PDT)
Received: from chase.mycre.ws (chase.mycre.ws [70.89.251.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF6421A90D9 for <dnsop@ietf.org>; Mon, 21 Sep 2015 09:11:02 -0700 (PDT)
Received: by chase.mycre.ws (Postfix, from userid 1000) id 1E92C1C40454; Mon, 21 Sep 2015 12:11:02 -0400 (EDT)
Date: Mon, 21 Sep 2015 12:11:02 -0400
From: Robert Edmonds <edmonds@mycre.ws>
To: dnsop@ietf.org
Message-ID: <20150921161102.GA3925@mycre.ws>
References: <D2209363.F235%edward.lewis@icann.org> <20150921151146.GA24805@nic.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20150921151146.GA24805@nic.fr>
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/ZxG3akuZA4xcztZr--T0wdBq-Ow>
Subject: Re: [DNSOP] draft-lewis-domain-names-00.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Mon, 21 Sep 2015 16:11:05 -0000

Stephane Bortzmeyer wrote:
> If you want a nice example of a domain name which is not a DNS name,
> add in your /etc/hosts (or equivalent for your OS):
> 
> 104.20.1.85 veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylongname.example.com
> 
> It is not a DNS name (first label is too long) but it works fine for
> several applications which expect domain names:

Those applications probably use the getaddrinfo() function for name
lookup, and specifications for that function [0,1,2] don't specify a
length limit for the 'nodename' parameter.

[0] http://pubs.opengroup.org/onlinepubs/9699919799/functions/freeaddrinfo.html

[1] http://tools.ietf.org/html/rfc3493#section-6

[2] https://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx

-- 
Robert Edmonds