Bug#65041: glibc does not allow numeric hostnames

2022-02-10 Thread Jérémy Lal
Package: libc6 Version: 2.33-5 Followup-For: Bug #65041 Hi, just a testimony that i spent several hours trying to figure out what was happening with the all-digits hostname, and the email server complaining about not having a fully qualified domain name. So yes, it still applies to latest

Bug#65041: glibc does not allow numeric hostnames

2005-02-16 Thread Lars Wirzenius
It seems to me that gotom's analysis is correct: gethostbyname interprets an all-numeric-no-dots argument string as an IP address; see (libc.info.gz)Abstract Host Addresses for details. What this ultimately means is that gethostbyname cannot resolve an all-numeric hostname into a fully qualified