This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Name resolution of dot terminated hostnames
- From: Jeffrey Walton <noloader at gmail dot com>
- To: Etienne Buira <etienne dot buira at free dot fr>
- Cc: libc-help at sourceware dot org
- Date: Fri, 24 May 2019 16:46:23 -0400
- Subject: Re: Name resolution of dot terminated hostnames
- References: <20190524185325.GB3662@Z926fQmE5jqhFMgp6>
- Reply-to: noloader at gmail dot com
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