good address will not resolve in freebsd (_ in host names)

Mike Tancsa mike at sentex.net
Tue Oct 7 11:26:10 PDT 2003


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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"



More information about the freebsd-stable mailing list