Date: Tue, 07 Oct 2003 14:29:47 -0400 From: Mike Tancsa <mike@sentex.net> To: David Malone <dwmalone@maths.tcd.ie> Cc: freebsd-stable@freebsd.org Subject: Re: good address will not resolve in freebsd (_ in host names) Message-ID: <6.0.0.22.0.20031007142751.066bad28@209.112.4.2> In-Reply-To: <200310071631.aa97061@salmon.maths.tcd.ie> References: <Your message of "Tue, 07 Oct 2003 10:15:10 CDT." <00f201c38ce5$cd4ed180$d3a8a8c0@barney> <200310071631.aa97061@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20031007142751.066bad28>
