From owner-freebsd-stable@FreeBSD.ORG Tue Oct 7 11:26:10 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 80C6416A4B3 for ; Tue, 7 Oct 2003 11:26:10 -0700 (PDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E7D343F3F for ; Tue, 7 Oct 2003 11:26:09 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.9p1/8.12.9) with ESMTP id h97IQ77n017544; Tue, 7 Oct 2003 14:26:08 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.0.0.22.0.20031007142751.066bad28@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 07 Oct 2003 14:29:47 -0400 To: David Malone From: Mike Tancsa In-Reply-To: <200310071631.aa97061@salmon.maths.tcd.ie> References: <200310071631.aa97061@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new cc: freebsd-stable@freebsd.org Subject: Re: good address will not resolve in freebsd (_ in host names) 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: Tue, 07 Oct 2003 18:26:10 -0000 More and more zones are starting to use _ in their host names (for better or worse). Has their been any discussion about making this change in FreeBSD ? ---Mike At 11:31 AM 07/10/2003, David Malone wrote: > > It has to be in the resolver because windows pulls it from the same > > NS's. > >You could edit: > > /usr/src/lib/libc/net/res_comp.c > >and look for the line that says: > >#define hyphenchar(c) ((c) == 0x2d) > >and replace that with: > >#define hyphenchar(c) ((c) == 0x2d || (c) == 0x5f) > >Then recompile and install libc > > cd /usr/src/lib/libc && make depend && make && make install > >David. >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"