-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
confd fails to find etcd using SRV records if there are more than 3 SRV records #285
Comments
Truncated?! With only 3 SRV records in the message? What's the initial size used to get the answer, 512 B? And yes, it's the clients responsibility to retry with TCP when the TC bit is set on a message. |
Although I'm not sure if the DNS stub (i.e. libc) on the local machine actually does this... and SkyDNS should try harder to make the answer fit... |
I gave a shot a reproducing this, didn't have much luck. I tried to reproduce with golang 1.6, with both cgo and pure go resolvers. EnvironmentGolang
DNS SRV Records
All etcd nodes resolve to localhost (127.0.0.1)
etcd clusterThe following Procfile was used to provision a 5 node etcd cluster on my local machine: With netdnsThe following confd run uses the native Go DNS resolver (netgo)
With cgoThe following confd run used the C resolver on OS X.
Any chance you can try again using the latest golang, and confd? This might not be an issue any more. |
@elsonrodriguez Thanks for jumping in on this one. I've verified your results and it all looks good to me. I'm closing this one out, feel free to reopen if you are still having issues. |
Notice the
;; Truncated, retrying in TCP mode.
in dig output.As we debugged it, the error comes from golang net package.
https://golang.org/src/net/dnsclient_unix.go (line 49)
The text was updated successfully, but these errors were encountered: