-
Notifications
You must be signed in to change notification settings - Fork 712
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
Use TCP for weave dns. #1038
Use TCP for weave dns. #1038
Conversation
We really should use golang's resolver. Alas it does not allow you to specify a server. But if we have to do our own thing, we should at least do it correctly, i.e. try udp first and fall back to tcp if the answer is truncated. It's pretty simple to do and exactly what golang does |
Why? Whats the downside to just using TCP? |
Protocol compliance. Alas you are off the hook. From RFC 5966:
|
@errordeveloper Can you test this? I have pushed an image called |
@errordeveloper reports this worked on slack. Ilya can you merge when you're happy? |
I will run a few more tests today to double-check. On Thu, 25 Feb 2016 16:42 Tom Wilkie notifications@github.com wrote:
|
yes, which is why I said "you are off the hook". |
Fixes #1013