good address will not resolve in freebsd

Aaron Sloan security at adtu.org
Tue Oct 7 08:35:08 PDT 2003


> 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.

Thanks David, 
I'll give it a try for fun. Something I haven't done before.

take care,
Aaron


More information about the freebsd-stable mailing list