Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.10.6
-
None
-
None
-
Debian 8x, MacOS 10.15.6
-
1
Description
When connecting via DNS, the ping() method returns "LCB_UNKNOWN_HOST (0x15): DNS/Hostname lookup failed" for the search and query services while k/v seems to be okay.
For further clarification, we are testing in EKS using ExternalDNS. For the k/v service we see the correct DNS entry being used: devday-il-0000.se-couchbasedemos.com. However, for the other nodes where k/v is not running, it appears to be using the internal Kubernetes DNS entry: devday-il-0003.devday-il.devday-il.svc.
Sample output (full output attached) is below.
{
|
"config_rev": 66, |
"id": "0x104707670", |
"sdk": "libcouchbase/2.10.6-njs couchnode/2.6.12 (node/12.18.2; v8/7.8.279.23-node.39; ssl/1.1.1g)", |
"services": { |
"fts": [ |
{
|
"details": "LCB_UNKNOWN_HOST (0x15): DNS/Hostname lookup failed", |
"latency_us": 510383, |
"remote": "devday-il-0003.devday-il.devday-il.svc:18094", |
"status": "error" |
},
|
...
|
],
|
"kv": [ |
{
|
"id": "0x10400a420", |
"latency_us": 660216, |
"local": "192.168.1.67:54854", |
"remote": "devday-il-0000.se-couchbasedemos.com:11207", |
"scope": "retailsample", |
"status": "ok" |
},
|
...
|
],
|
"n1ql": [ |
{
|
"details": "LCB_UNKNOWN_HOST (0x15): DNS/Hostname lookup failed", |
"latency_us": 932, |
"remote": "devday-il-0005.devday-il.devday-il.svc:18093", |
"status": "error" |
},
|
...
|
]
|
},
|
"version": 1 |
}
|
host information:
- https://devday-il-0000.se-couchbasedemos.com:18091
- https://devday-il-0001.se-couchbasedemos.com:18091
- https://devday-il-0002.se-couchbasedemos.com:18091
connection string: couchbases://devday-il-0000.se-couchbasedemos.com?ssl=no_verify