From owner-freebsd-stable@FreeBSD.ORG Wed Mar 26 02:19:44 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 177D137B404 for ; Wed, 26 Mar 2003 02:19:44 -0800 (PST) Received: from raven.ravenbrook.com (raven.ravenbrook.com [193.82.131.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC16043FAF for ; Wed, 26 Mar 2003 02:19:42 -0800 (PST) (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (thrush.ravenbrook.com [193.112.141.249]) by raven.ravenbrook.com (8.12.6/8.12.6) with ESMTP id h2QAJdPw029122 for ; Wed, 26 Mar 2003 10:19:39 GMT (envelope-from nb@ravenbrook.com) Received: from thrush.ravenbrook.com (localhost [127.0.0.1]) by thrush.ravenbrook.com (8.12.6/8.12.6) with ESMTP id h2QAIfiL003027 for ; Wed, 26 Mar 2003 10:18:41 GMT (envelope-from nb@thrush.ravenbrook.com) From: Nick Barnes To: stable@freebsd.org In-Reply-To: Message from Terry Lambert of "Tue, 25 Mar 2003 17:49:51 PST." <3E81073F.459270AE@mindspring.com> Date: Wed, 26 Mar 2003 10:18:41 +0000 Message-ID: <3026.1048673921@thrush.ravenbrook.com> Sender: nb@ravenbrook.com X-Spam-Status: No, hits=-19.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: Resolver Issues (non valid hostname characters) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 10:19:45 -0000 At 2003-03-26 01:49:51+0000, Terry Lambert writes: > David J Duchscher wrote: > > On Tuesday, March 25, 2003, at 05:03 AM, Terry Lambert wrote: > > > > > It's probably not very useful to talk about doing this until > > > local caching-only name servers on border servers are capable > > > of handling the 8-bit, as well. For the RFC's that FreeBSD > > > currently complies with, it's right to be strict about this. > > > > I think this is the wrong approach to take with this problem. > > Linux, Windows, and Solaris do not enforce this restriction. If > > RFC 952 is being thrown out the window, then why should FreeBSD > > continue to enforce this restriction? At the moment, the > > problems I am seeing have little to do with 8-bit data but > > characters outside of the what RFC 952 allows. > > RFC 952 is in effect until a subsequent standards track RFC is > in effect. Just because Linux allows you to specif host names > that break other machines, doesn't mean FreeBSD should. The relevant standard is STD13 (RFC1034 and RFC1035), which does indeed require LDH for hostnames. The labels must follow the rules for ARPANET host names. They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen. There are also some restrictions on the length. Labels must be 63 characters or less. STD3 (RFC1123) modifies this slightly, but still LDH: The syntax of a legal Internet host name was specified in RFC-952 [DNS:4]. One aspect of host name syntax is hereby changed: the restriction on the first character is relaxed to allow either a letter or a digit. Host software MUST support this more liberal syntax. In short, underscores in hostnames in the DNS are not permitted by the internet protocol standards. That does not necessarily mean that FreeBSD should enforce this restriction. I'm indifferent to that point. Nick B