Name resolution of dot terminated hostnames
Jeffrey Walton
noloader@gmail.com
Fri May 24 20:47:00 GMT 2019
On Fri, May 24, 2019 at 2:53 PM Etienne Buira <etienne.buira@free.fr> wrote:
>
> On a Gentoo box (with Gentoo packaged glibc 2.29-r2), libc was unable to
> resolve 'localhost.' (with the trailing dot), although it can resolve
> 'localhost', and conf looks fine.
The trailing dot indicates your are at the top of the DNS tree. It is
a fully qualified domain name (FQDN). Domain suffix search paths
should not be used with a FQDN.
Jeff
More information about the Libc-help
mailing list