From owner-freebsd-arch@FreeBSD.ORG Mon Mar 31 03:18:21 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03BB437B401 for ; Mon, 31 Mar 2003 03:18:21 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDABD43FA3 for ; Mon, 31 Mar 2003 03:18:19 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-a138.otenet.gr [212.205.215.138]) by mailsrv.otenet.gr (8.12.9/8.12.8) with ESMTP id h2VBIGTw019907 for ; Mon, 31 Mar 2003 14:18:17 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h2VBIFVG087648 for ; Mon, 31 Mar 2003 14:18:15 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h2VBIFfw087647; Mon, 31 Mar 2003 14:18:15 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Mon, 31 Mar 2003 14:18:15 +0300 (EEST) From: Giorgos Keramidas X-X-Sender: giorgos@gothmog To: arch@freebsd.org In-Reply-To: Message-ID: <20030331141452.F79544@gothmog> References: <20030329.164403.54601077.imp@bsdimp.com> <20030330.060534.18864762.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Allow underscores in DNS names X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 11:18:22 -0000 On 2003-03-30 16:16, Dag-Erling Sm?rgrav wrote: >"M. Warner Losh" writes: >> True. However, they are still relevant today. '_' is illegal in DNS >> names > > Says the RFC. IIRC, BIND traditionally did not enforce this, though > it does now for A records in master zones unless you change the > "check-names" setting (it seems to allow it for TXT records though). > >> is rejected by the majority of hosts on the internet > > Wrong. We (*BSD) are pretty much the only ones not to accept > underscores in host names. I've tested Windows XP, Solaris 8 and > Linux 2.4.18; feel free to try 'ping under_score.ofug.org' on other > systems and report your findings here. If everyone else supports underscores (I've only tested Solaris and Linux 2.4.20), then perhaps, just for the sake of interoperability with other systems, we should too. Even in Linux (where it's accepted as a valid hostname by the resolver) it's annoying when one sees the warning it causes: : igloo# host under_score.ofug.org : under_score.ofug.org A 127.0.0.1 : !!! under_score.ofug.org A record has illegal name Giorgos.