couchbaselabs / sdk-doctor

Application-server-side cluster connection diagnostics.
https://couchbase.com/
Apache License 2.0
18 stars 12 forks source link

Improved handling of DNS SRV bootstrap #17

Closed brantburnett closed 6 years ago

brantburnett commented 6 years ago

Motivation

Currently returns DNS errors if bootstrapping using a DNS SRV record, even though the bootstrap is successful.

Modifications

When a DNS SRV record is detected, don't perform DNS host tests on the supplied host name. Instead, perform DNS host tests on each of the entries returned in the DNS SRV record.

Results

Clusters using DNS SRV bootstrap no longer return errors.