{"action":"closed","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1333","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1333/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1333/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1333/events","html_url":"https://github.com/weaveworks/weave/issues/1333","id":101919815,"number":1333,"title":"cannot make DNS queries over TCP","user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weaveworks/weave/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/weaveworks/weave/labels/[component/dns]","name":"[component/dns]","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/weaveworks/weave/milestones/13","html_url":"https://github.com/weaveworks/weave/milestones/1.0.3","labels_url":"https://api.github.com/repos/weaveworks/weave/milestones/13/labels","id":1260249,"number":13,"title":"1.0.3","description":"","creator":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-08-18T08:40:54Z","updated_at":"2015-08-19T15:39:06Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-19T15:27:36Z","updated_at":"2015-08-19T15:39:06Z","closed_at":"2015-08-19T15:39:06Z","body":"```\r\n$ weave launch && weave launch-dns\r\n7c0ecf8ebdfcdda7c22e5c205972ae80630ec26d2c4f2ac1599f799d4bcafd51\r\n42d678241462a9250afd9a4a51a2ac97fc7c07655df73b0adffe7b9fb1acde60\r\n$ weave run --name=foo -ti ubuntu\r\ne7485d63911eaa15cc6a74c0320f56cafce29df957fc9b58217483311ab94cdc\r\n$ weave run --name=bar -ti aanand/docker-dnsutils /bin/sh\r\n987d250b500d3af84f83689bf848ada706ef77b881ca5a3b11fb5e321ba5f5a7\r\n$ docker exec bar dig +short foo.weave.local\r\n10.128.0.2\r\n$ docker exec bar dig +tcp +short foo.weave.local\r\n;; Connection to 172.17.42.1#53(172.17.42.1) for foo.weave.local failed: connection refused.\r\n```\r\n\r\nThis is unlikely to affect typical apps making queries in the weavedns domain, since weavedns returns short answers. But for queries in external domains we might get large responses which won't fit into a UDP packet and thus get truncated. Most resolvers will automatically fall back to TCP when that happens. Mitigated somewhat by EDNS."}}