From owner-freebsd-arch@FreeBSD.ORG Sun Mar 30 09:49:20 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 DF77C37B401 for ; Sun, 30 Mar 2003 09:49:20 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2217843F3F for ; Sun, 30 Mar 2003 09:49:20 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h2UHnJA7020791; Sun, 30 Mar 2003 10:49:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 30 Mar 2003 10:47:54 -0700 (MST) Message-Id: <20030330.104754.78365345.imp@bsdimp.com> To: des@ofug.org From: "M. Warner Losh" In-Reply-To: References: <20030330.060534.18864762.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: arch@freebsd.org 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: Sun, 30 Mar 2003 17:49:24 -0000 In message: des@ofug.org (Dag-Erling Sm=F8rgrav) writes: : "M. Warner Losh" writes: : > True. However, they are still relevant today. '_' is illegal in D= NS : > 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). Bind 4 didn't enforce this until about 1998 or so. Like I explained in the other post, the reason it was changed was so that bind would only accept welll formed packets so that it could help reduce the liklihood that one could write an 'egg' for the payload for a buffer overflow. Bind 8 and bind 9 do enforce it for those RR that it is well defined. TXT records are well defined as allowing anything in them. Warner