This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Name resolution of dot terminated hostnames


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]