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 1lAXth-0003Av-HQ for pgsql-jdbc@arkaria.postgresql.org; Fri, 12 Feb 2021 12:50:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lAXtg-00030W-By for pgsql-jdbc@arkaria.postgresql.org; Fri, 12 Feb 2021 12:50:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAXtg-00030F-72 for pgsql-jdbc@lists.postgresql.org; Fri, 12 Feb 2021 12:50:08 +0000 Received: from www.pro-open.de ([46.4.51.10]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAXtd-0005AP-AE for pgsql-jdbc@lists.postgresql.org; Fri, 12 Feb 2021 12:50:07 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by www.pro-open.de (Postfix) with ESMTP id 3D1E345000AC for ; Fri, 12 Feb 2021 13:50:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at pro-open.de Received: from www.pro-open.de ([127.0.0.1]) by localhost (www.pro-open.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nnmYfh9JdLx1 for ; Fri, 12 Feb 2021 13:50:03 +0100 (CET) Received: from [192.168.0.123] (ip-88-153-140-225.hsi04.unitymediagroup.de [88.153.140.225]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by www.pro-open.de (Postfix) with ESMTPSA id D1F2845000A0 for ; Fri, 12 Feb 2021 13:50:03 +0100 (CET) To: pgsql-jdbc@lists.postgresql.org From: "Gunnar \"Nick\" Bluth" Subject: Support for SRV-DNS records? Message-ID: <8f8b6943-42fc-7b0c-8d77-fb351084cadf@pro-open.de> Date: Fri, 12 Feb 2021 13:50:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="V8ZXbFqOclLKsneWhWwzzipCMFnpCX3Et" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --V8ZXbFqOclLKsneWhWwzzipCMFnpCX3Et Content-Type: multipart/mixed; boundary="KUoPyBMOuPlH2fwWY0yBiudWAoOdtQG0E"; protected-headers="v1" From: "Gunnar \"Nick\" Bluth" To: pgsql-jdbc@lists.postgresql.org Message-ID: <8f8b6943-42fc-7b0c-8d77-fb351084cadf@pro-open.de> Subject: Support for SRV-DNS records? --KUoPyBMOuPlH2fwWY0yBiudWAoOdtQG0E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi! Are there any plans (or would it work already?!?) to support "SRV" type=20 DNS records (https://en.wikipedia.org/wiki/SRV_record) for the JDBC=20 connection string? It would be charming to just provide something like jdbc:postgresql://_mydbserver._tcp.mydomain.com/mydb?targetServerType=3Dp= rimary and the driver picks up the list of hosts and ports automatically. Best regards & stay safe, --=20 Gunnar "Nick" Bluth Gesch=C3=A4ftsf=C3=BChrer Pro Open GmbH Eimermacherweg 106 D-48159 M=C3=BCnster HRB 18122, AG MS Mobil +49 172 8853339 Email: gunnar.bluth@pro-open.de _________________________________________________________________________= _ "Ceterum censeo SystemD esse delendam" - Cato --KUoPyBMOuPlH2fwWY0yBiudWAoOdtQG0E-- --V8ZXbFqOclLKsneWhWwzzipCMFnpCX3Et Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEalk3A/SRAkpwy/bgEBCuazKJM4wFAmAmeXsFAwAAAAAACgkQEBCuazKJM4z+ UwgAvV3YGzVw7W3x4oRlvf87ZSpQkA+uzbEU5qd4kG2zy9QlFsUeg6H5S4Ces4zGSZo1Jt+qGfrB TeTnvqNE0uV+jUZIHMU2ulefSUECJq1nlyQHJhoFDPfrfEoOhADKOeK053KGFYqQScwzZg8fjBRT ym4YcMyu86q69A7+w/BnM3kmvGGxMaitv9F/thVir9CWzH4hO4owrbhQiAROjlKKvUUJpLMLuJ+O sFxcpRUb0cbyVTDsm9bUtm6QkKeU7jy67z6Tx60ZQZqgGKOooyZShQgY8DMhjnmTZwnjgLG6Fdkx bJTvq+QlxBm5vEOiPWWm3vz1ktWagvJ1o2wE++7mwQ== =wXci -----END PGP SIGNATURE----- --V8ZXbFqOclLKsneWhWwzzipCMFnpCX3Et--