Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1poTci-0001z6-Hs for pgsql-admin@arkaria.postgresql.org; Mon, 17 Apr 2023 18:30:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1poTch-0007eP-Bz for pgsql-admin@arkaria.postgresql.org; Mon, 17 Apr 2023 18:30:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1poTch-0007eG-0s for pgsql-admin@lists.postgresql.org; Mon, 17 Apr 2023 18:30:43 +0000 Received: from mout-u-107.mailbox.org ([2001:67c:2050:101:465::107]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1poTca-000McR-CQ for pgsql-admin@lists.postgresql.org; Mon, 17 Apr 2023 18:30:41 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4Q0bFw2kfZz9sTW; Mon, 17 Apr 2023 20:30:28 +0200 (CEST) Date: Mon, 17 Apr 2023 20:30:27 +0200 (CEST) From: Erik Wienhold To: John Scalia , Pgsql-admin Message-ID: <567877725.428539.1681756227883@office.mailbox.org> In-Reply-To: References: Subject: Re: PgAdmin cannot locate my server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4Q0bFw2kfZz9sTW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 17/04/2023 19:44 CEST John Scalia wrote: > > I=E2=80=99ve got something really weird going on. My laptop can easily fi= nd my PLE > production (production like environment) using a normal nslookup, but PgA= dmin > emits an error saying could not translate host name =E2=80=9Cple.mydomain= .com=E2=80=9D host to > address: Unknown host > > So where is PgAdmin looking regarding DNS entries? I can't find message "Unknown host" in the pgAdmin source. I'd have to che= ck but I assume pgAdmin delegates all connection management to psycopg. > I would think that if the laptop can find it, that any app running on it > should be able to do so. How do you run pgAdmin? From the top of my head there's the desktop versio= n, server version, and Docker container version. In case of the server versio= n it's plausible that the server uses different DNS settings than your laptop= . Docker containers should inherit the DNS settings of the host but that can = be changed as well. -- Erik