Both the Glibc upstream (http://sourceware.org/bugzilla/show_bug.cgi?id=4671) and Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575209) seem to not want to fix this.
The patch in the Debian bugreport will allow hyphens; my patch is a little bit more liberal and allows underscores as well (it also cleans up the logic to make res_hnok more like res_dnok). Tested on my system, and it seems to be working. ** Bug watch added: Debian Bug tracker #575209 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575209 ** Patch added: "2011-09-02-ubuntu-bug-144431.patch" https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/144431/+attachment/2345870/+files/2011-09-02-ubuntu-bug-144431.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/144431 Title: gethostbyname() cant resolve names starting/ending with "-" To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/144431/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
