From owner-freebsd-stable Tue Mar 25 14:46:36 2003 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 BA46337B401 for ; Tue, 25 Mar 2003 14:46:32 -0800 (PST) Received: from marius.org (cdm-66-156-207-bcst.cox-internet.com [66.76.156.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9311C43F3F for ; Tue, 25 Mar 2003 14:46:31 -0800 (PST) (envelope-from marius@marius.org) Received: from marius.org (localhost [127.0.0.1]) by marius.org (8.12.8/8.12.6) with ESMTP id h2PMkRD5080073; Tue, 25 Mar 2003 16:46:27 -0600 (CST) (envelope-from marius@marius.org) Received: (from marius@localhost) by marius.org (8.12.8/8.12.6/Submit) id h2PMkRj5080072; Tue, 25 Mar 2003 16:46:27 -0600 (CST) Date: Tue, 25 Mar 2003 16:46:27 -0600 From: Marius Strom To: Kevin Oberman Cc: David J Duchscher , Terry Lambert , stable@FreeBSD.ORG Subject: Re: Resolver Issues (non valid hostname characters) Message-ID: <20030325224627.GO76682@marius.org> Mail-Followup-To: Kevin Oberman , David J Duchscher , Terry Lambert , stable@FreeBSD.ORG References: <64BD550E-5EFD-11D7-8571-0003930B3DA4@nostrum.com> <20030325204423.1EEAA5D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030325204423.1EEAA5D07@ptavv.es.net> User-Agent: Mutt/1.5.3i X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've submitted a PR for this: misc/50299 documenting the RFC mis-following (is that a word?) as well as a patch for res_comp.c. On Tue, 25 Mar 2003, Kevin Oberman wrote: > > Date: Tue, 25 Mar 2003 14:07:24 -0600 > > From: David J Duchscher > > Sender: owner-freebsd-stable@FreeBSD.ORG > > > > 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. > > It should be noted that this limitation was in RFC952 which is not a DNS > specification. See RFC2181. I think our implementation is simply > broken. > > The DNS itself places only one restriction on the particular labels > that can be used to identify resource records. That one restriction > relates to the length of the label and the full name. > [...] > Those restrictions > aside, any binary string whatever can be used as the label of any > resource record. Similarly, any binary string can serve as the value > of any record that includes a domain name as some or all of its value > (SOA, NS, MX, PTR, CNAME, and any others that may be added). > Implementations of the DNS protocols must not place any restrictions > on the labels that can be used. In particular, DNS servers must not > refuse to serve a zone because it contains labels that might not be > acceptable to some DNS client programs. A DNS server may be > configurable to issue warnings when loading, or even to refuse to > load, a primary zone containing labels that might be considered > questionable, however this should not happen by default. > > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > E-mail: oberman@es.net Phone: +1 510 486-8634 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > -- /-------------------------------------------------> Marius Strom | Always carry a short length of fibre-optic cable. Professional Geek | If you get lost, then you can drop it on the System/Network Admin | ground, wait 10 minutes, and ask the backhoe http://www.marius.org/ | operator how to get back to civilization. \-------------| Alan Frame |----------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message