public inbox for [email protected]  
help / color / mirror / Atom feed
From: Vijaykumar Jain <[email protected]>
To: Alan Hodgson <[email protected]>
Cc: [email protected]
Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
Date: Wed, 30 Oct 2024 00:47:37 +0530
Message-ID: <CAM+6J943vEYUvwM87yg6ZKG6Y_hrek3Cy5CP2F6B9TY2X3U4sQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <GV0P278MB0419EB5885DF99C5354804A9D24B2@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM>
	<[email protected]>
	<CAM+6J95NCg6WNDjYyx42zjeocKXoPf7emci1zHCTboXGaE+WeQ@mail.gmail.com>
	<[email protected]>

On Wed, 30 Oct 2024 at 00:40, Alan Hodgson <[email protected]> wrote:

> 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.
>

Yep. my mistake. i did not read it correctly. in order to discard the rule,
it first has to find out by expanding the hosts in the rule, so yep, dns
resolution might be the problem.

also, the 4-5s delay is eerie similar to issues in the past.

https://unix.stackexchange.com/questions/290987/resolving-hostname-takes-5-seconds
maybe disabling ipv6 completely resolves this  for the time being.



-- 
Thanks,
Vijay

Open to work
Resume - Vijaykumar Jain <https://github.com/cabecada;


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Delays between "connection received" and "connection authenticated" because of localhost entries in hba
  In-Reply-To: <CAM+6J943vEYUvwM87yg6ZKG6Y_hrek3Cy5CP2F6B9TY2X3U4sQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox