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

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

I don't know. Is there a way to test the glibc way easily?

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

Yes

Regards
Daniel





view thread (3+ messages)

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: <GV0P278MB04192D0C51E525B5D6443691D24B2@GV0P278MB0419.CHEP278.PROD.OUTLOOK.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