Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba

Alan Hodgson <ahodgson@lists.simkin.ca>

From: Alan Hodgson <ahodgson@lists.simkin.ca>
To: pgsql-general@lists.postgresql.org
Date: 2024-10-29T18:34:13Z
Lists: pgsql-general
On Tue, 2024-10-29 at 16:30 +0000, Daniel Westermann (DWE) wrote:
> Delays between "connection received" and "connection authenticated"
> because of localhost entries in hba

Maybe check that "files" is the first mechanism for hosts lookups in
nsswitch.conf.

afaik dig doesn't follow the same name resolution path as glibc.