Allow underscores in DNS names

Dag-ErlingSmørgrav des at ofug.org
Sat Mar 29 08:50:54 PST 2003


The attached patch, inspired by a discussion on -STABLE, modifies our
resolver library to allow underscores in host names, by classifying
the underscore as a hyphen character.  Even though RFC952 forbids
them, underscores are becoming increasingly common in DNS, and they
are sometimes used for mechanisms (such as Microsoft's automatic proxy
configuration scheme) which we might want to support in FreeBSD.

DES
-- 
Dag-Erling Smørgrav - des at ofug.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hnok.diff
Type: text/x-patch
Size: 642 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20030329/4bcdf1fd/hnok.bin


More information about the freebsd-arch mailing list