{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/10863","labels_url":"https://api.github.com/repos/docker/docker/issues/10863/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/10863/comments","events_url":"https://api.github.com/repos/docker/docker/issues/10863/events","html_url":"https://github.com/docker/docker/issues/10863","id":57995877,"number":10863,"title":"IPV6 regression","user":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/Distribution","name":"Distribution","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/36","labels_url":"https://api.github.com/repos/docker/docker/milestones/36/labels","id":952156,"number":36,"title":"1.5.1","description":"","creator":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":9,"state":"open","created_at":"2015-01-26T21:40:16Z","updated_at":"2015-02-17T23:01:55Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-02-17T22:57:14Z","updated_at":"2015-02-17T23:33:17Z","closed_at":null,"body":"This is following-up investigation from #10802\r\n\r\nIn the following scenario:\r\n\r\n\r\n```\r\n# /etc/resolv.conf\r\nnameserver mydns\r\nsearch mydomain\r\n```\r\nwhere \"mydns\" would return an *ipv6 address* for any subdomain of mydomain\r\n\r\nWhat happens is that when docker 1.5 resolve `index.docker.io` it will favor the ipv6 returned for `index.docker.io.mydomain.` rather than the A record for `index.docker.io.`\r\n\r\nThis does NOT happen (apparently) if `index.docker.io.mydomain.` returns an *ipv4* record.\r\n\r\nObviously, this does not happen either with docker 1.4.\r\n\r\nFinally, curl (for comparison) does NOT use the ipv6 address, but does correctly use the A record for `index.docker.io.`.\r\n\r\nTo me, this sounds like a DNS resolution order preference bug - not sure if this is a docker bug, or lower.\r\n\r\ncc @chmanie @icecrime @stevvoe @dmcgowan  "},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/74779052","html_url":"https://github.com/docker/docker/issues/10863#issuecomment-74779052","issue_url":"https://api.github.com/repos/docker/docker/issues/10863","id":74779052,"user":{"login":"MalteJ","id":646688,"avatar_url":"https://avatars.githubusercontent.com/u/646688?v=3","gravatar_id":"","url":"https://api.github.com/users/MalteJ","html_url":"https://github.com/MalteJ","followers_url":"https://api.github.com/users/MalteJ/followers","following_url":"https://api.github.com/users/MalteJ/following{/other_user}","gists_url":"https://api.github.com/users/MalteJ/gists{/gist_id}","starred_url":"https://api.github.com/users/MalteJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MalteJ/subscriptions","organizations_url":"https://api.github.com/users/MalteJ/orgs","repos_url":"https://api.github.com/users/MalteJ/repos","events_url":"https://api.github.com/users/MalteJ/events{/privacy}","received_events_url":"https://api.github.com/users/MalteJ/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T23:33:17Z","updated_at":"2015-02-17T23:33:17Z","body":"hmm, it looks like the DNS will be queried for an AAAA record for `index.docker.io.` which cannot be found. Then the DNS is queried for AAAA `index.docker.io.mydomain.`"}}