Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba - Mailing list pgsql-general

From Vijaykumar Jain
Subject Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
Date
Msg-id CAM+6J95NCg6WNDjYyx42zjeocKXoPf7emci1zHCTboXGaE+WeQ@mail.gmail.com
Whole thread Raw
In response to Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba  (Alan Hodgson <ahodgson@lists.simkin.ca>)
Responses Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
List pgsql-general


On Wed, 30 Oct 2024 at 00:04, Alan Hodgson <ahodgson@lists.simkin.ca> wrote:
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.


a connection received should mean resolution was done, right ? am i missing something?
I could try adding delay with traffic control, but then if a connection  established is logged in the log, then name resolution is ok ?

or the syscall to md5 is slow , does it work faster for trust ? just saying :) 

--
Thanks,
Vijay

Open to work
Resume - Vijaykumar Jain

pgsql-general by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
Next
From: Alan Hodgson
Date:
Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba