Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-992

DNS SRV: allow workaround for IPv6 nameserver

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.3.2
    • 2.1.6, 2.3.1
    • None
    • None

    Description

      The Bootstrap class, used to bootstrap the SDK from a DNS SRV record, relies on the default host machine DNS resolution.

      In the case where the DNS server list configured in the host machine include IPv6 entries, the whole initialization breaks and there's no way of using a different resolution process.

      It should at least be possible to set an explicit dns://XXXX value for the java.naming.provider.url parameter used for the InitialDirContext construction, where XXXX is a name server's IP (IPv4, of course) provided by the user as a workaround, for cases where the machine's configuration itself cannot be easily modified.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            simonbasle Simon Baslé (Inactive)
            simonbasle Simon Baslé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty