Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
Description
Suggested Release Note
DNS SRV lookups now honor the DNS search path. This enables DNS SRV resolution in Kubernetes environments where the `*-srv` hostname advertised by the Couchbase Operator is a partial name that must be resolved using a suffix from the DNS search path.
The SDK uses JNDI for DNS SRV lookups. Due to a bug in the JNDI DNS implementation, the DNS search path is ignored. This causes problems in some Kubernetes environments, where the *-srv hostname advertised by the Couchbase Operator is a partial name that must be resolved using a suffix from the DNS search path.
The `dnsjava` library honors the search path, so we could use it for all out DNS SRV lookups.
Task: Add dnsjava to core-io-deps, and use it for DNS SRV lookups.
Attachments
Issue Links
- depends on
-
JVMCBC-1319 Embrace SLF4J
- Closed
- links to
For Gerrit Dashboard: JVMCBC-1264 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
189437,6 | JVMCBC-1264 DNS SRV lookups ignore search path | master | couchbase-jvm-clients | Status: ABANDONED | 0 | +1 |
199594,4 | JVMCBC-1264 DNS SRV lookups ignore search path | master | couchbase-jvm-clients | Status: MERGED | +2 | +1 |