Hi,
the uclibc-ng DNS resolver fails to lookup unqualified host names if a
top-level domain with the same name exists. In that case gethostbyname
returns HOST_NOT_FOUND without trying to append the search domains
specified in resolv.conf. This used to be no real problem when only two-
and three-letter TLDs existed, but with the introduction of generic TLDs
(such as .directory, .email or .storage) clashes are becoming much more
likely.
The glibc seems to solve the problem by changing the search order when
looking for names without domain parts. For unqualified names it will
first try appending the configured search domains before looking for the
unmodified name.
Regards,
Ingo