From: Erik Wienhold <ewie@ewie.name>
To: John Scalia <jayknowsunix@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: PgAdmin cannot locate my server
Date: Mon, 17 Apr 2023 20:30:27 +0200 (CEST)
Message-ID: <567877725.428539.1681756227883@office.mailbox.org> (raw)
In-Reply-To: <F6EF11E9-8E70-44BC-9691-793D74EC2233@gmail.com>
References: <F6EF11E9-8E70-44BC-9691-793D74EC2233@gmail.com>
> On 17/04/2023 19:44 CEST John Scalia <jayknowsunix@gmail.com> wrote:
>
> I’ve got something really weird going on. My laptop can easily find my PLE
> production (production like environment) using a normal nslookup, but PgAdmin
> emits an error saying could not translate host name “ple.mydomain.com” 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 check
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 version,
server version, and Docker container version. In case of the server version
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
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: pgsql-admin@postgresql.org
Cc: ewie@ewie.name, jayknowsunix@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: PgAdmin cannot locate my server
In-Reply-To: <567877725.428539.1681756227883@office.mailbox.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox