Support for SRV-DNS records?

From: "Gunnar \"Nick\" Bluth" <gunnar(dot)bluth(at)pro-open(dot)de>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: Support for SRV-DNS records?
Date: 2021-02-12 12:50:03
Message-ID: 8f8b6943-42fc-7b0c-8d77-fb351084cadf@pro-open.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(dot)bluth(at)pro-open(dot)de
__________________________________________________________________________
"Ceterum censeo SystemD esse delendam" - Cato

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeremy Mailen 2021-02-13 14:42:26 [pgjdbc/pgjdbc] c19fab: fix: return metadata privileges for views and fore...
Previous Message Vladimir Sitnikov 2021-02-12 07:36:52 [pgjdbc/pgjdbc] 1bd679: doc: update README link from travis-ci.org to trav...