From: | Alan Hodgson <ahodgson(at)lists(dot)simkin(dot)ca> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba |
Date: | 2024-10-29 19:10:07 |
Message-ID: | 6e109baeabafa57970d7e8a9cdcb86abde8b14df.camel@lists.simkin.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 2024-10-30 at 00:15 +0530, Vijaykumar Jain wrote:
>
>
> On Wed, 30 Oct 2024 at 00:04, Alan Hodgson
> <ahodgson(at)lists(dot)simkin(dot)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?
Well, I'm just throwing out something to check, but I meant on the
server, not the client. It's trying to resolve "localhost" to check
the auth. If there's a delay, that's probably where it is.
I guess I just assumed that's where you were testing dig.
From | Date | Subject | |
---|---|---|---|
Next Message | Vijaykumar Jain | 2024-10-29 19:17:37 | Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba |
Previous Message | Vijaykumar Jain | 2024-10-29 18:45:47 | Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba |