From: Gunnar \"Nick\" Bluth <gunnar.bluth@pro-open.de>
To: pgsql-jdbc@lists.postgresql.org
Subject: Support for SRV-DNS records?
Date: Fri, 12 Feb 2021 13:50:03 +0100
Message-ID: <8f8b6943-42fc-7b0c-8d77-fb351084cadf@pro-open.de> (raw)
Hi!
Are there any plans (or would it work already?!?) to support "SRV" type
DNS records (https://en.wikipedia.org/wiki/SRV_record) for the JDBC
connection string?
It would be charming to just provide something like
jdbc:postgresql://_mydbserver._tcp.mydomain.com/mydb?targetServerType=primary
and the driver picks up the list of hosts and ports automatically.
Best regards & stay safe,
--
Gunnar "Nick" Bluth
Geschäftsführer
Pro Open GmbH
Eimermacherweg 106
D-48159 Münster
HRB 18122, AG MS
Mobil +49 172 8853339
Email: gunnar.bluth@pro-open.de
__________________________________________________________________________
"Ceterum censeo SystemD esse delendam" - Cato
Attachments:
OpenPGP_signature (application/pgp-signature, 494B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: gunnar.bluth@pro-open.de
Subject: Re: Support for SRV-DNS records?
In-Reply-To: <8f8b6943-42fc-7b0c-8d77-fb351084cadf@pro-open.de>
References: <8f8b6943-42fc-7b0c-8d77-fb351084cadf@pro-open.de>
* 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