Closed akuzminsky closed 7 years ago
@akuzminsky can I see the code snippet of your client initialization? I've used srv domains multiple times and never happened to stumble upon such an issue.
I just ran into this too - looks like python-etcd is querying _etcd
instead of _etcd-client
when using srv records.
yup, I did that in order to be in sync with what confd is doing.
Why not to be in sync with the official docs?
To help clients discover the etcd cluster, the following DNS SRV records are looked up in the listed order:
_etcd-client._tcp.example.com _etcd-client-ssl._tcp.example.com
I created Client with srv_domain:
However
client.machines
requestshttp://127.0.0.1:4001/v2/machines
.DNS is configured correctly: