{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24604","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24604/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24604/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24604/events","html_url":"https://github.com/docker/docker/issues/24604","id":165432395,"number":24604,"title":"DNS resolution only with delay or timeout after a few hours","user":{"login":"lennartjuette","id":1701636,"avatar_url":"https://avatars.githubusercontent.com/u/1701636?v=3","gravatar_id":"","url":"https://api.github.com/users/lennartjuette","html_url":"https://github.com/lennartjuette","followers_url":"https://api.github.com/users/lennartjuette/followers","following_url":"https://api.github.com/users/lennartjuette/following{/other_user}","gists_url":"https://api.github.com/users/lennartjuette/gists{/gist_id}","starred_url":"https://api.github.com/users/lennartjuette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennartjuette/subscriptions","organizations_url":"https://api.github.com/users/lennartjuette/orgs","repos_url":"https://api.github.com/users/lennartjuette/repos","events_url":"https://api.github.com/users/lennartjuette/events{/privacy}","received_events_url":"https://api.github.com/users/lennartjuette/received_events","type":"User","site_admin":false},"labels":[{"id":237472034,"url":"https://api.github.com/repos/docker/docker/labels/area/networking","name":"area/networking","color":"fbca04","default":false},{"id":375217742,"url":"https://api.github.com/repos/docker/docker/labels/version/1.11","name":"version/1.11","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-07-13T22:04:48Z","updated_at":"2016-12-14T17:32:50Z","closed_at":"2016-12-14T15:08:28Z","body":"<!--\nIf you are reporting a new issue, make sure that we do not have any duplicates\nalready open. You can ensure this by searching the issue list for this\nrepository. If there is a duplicate, please close your issue and add a comment\nto the existing issue instead.\n\nIf you suspect your issue is a bug, please edit your issue description to\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\ninformation within 7 days, we cannot debug your issue and will close it. We\nwill, however, reopen it if you later provide the information.\n\nFor more information about reporting issues, see\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\n\n---------------------------------------------------\nBUG REPORT INFORMATION\n---------------------------------------------------\nUse the commands below to provide key information from your environment:\nYou do NOT have to include this information if this is a FEATURE REQUEST\n-->\n\n**Output of `docker version`:**\n\n```\nClient:\n Version:      1.11.2\n API version:  1.23\n Go version:   go1.5.4\n Git commit:   b9f10c9\n Built:        Wed Jun  1 21:36:47 2016\n OS/Arch:      linux/amd64\n\nServer:\n Version:      1.11.2\n API version:  1.23\n Go version:   go1.5.4\n Git commit:   b9f10c9\n Built:        Wed Jun  1 21:36:47 2016\n OS/Arch:      linux/amd64\n```\n\n**Output of `docker info`:**\n\n```\nContainers: 26\n Running: 24\n Paused: 0\n Stopped: 2\nImages: 230\nServer Version: 1.11.2\nStorage Driver: aufs\n Root Dir: /var/lib/docker/aufs\n Backing Filesystem: extfs\n Dirs: 657\n Dirperm1 Supported: true\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins:\n Volume: local\n Network: host bridge null\nKernel Version: 3.16.0-4-amd64\nOperating System: Debian GNU/Linux 8 (jessie)\nOSType: linux\nArchitecture: x86_64\nCPUs: 2\nTotal Memory: 5.844 GiB\nName: wopr\nID: FWZC:TPJX:T7XV:FPR2:GUBY:WM3D:ZX5L:FSG5:KGDV:SCGC:ASXW:G4ZG\nDocker Root Dir: /var/lib/docker\nDebug mode (client): false\nDebug mode (server): false\nRegistry: https://index.docker.io/v1/\nWARNING: No kernel memory limit support\nWARNING: No cpu cfs quota support\nWARNING: No cpu cfs period support\n```\n\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\n\nThe host is running on a Virtual Server (VKM). Different containers are affected. The host itself has no problems\n\n**Steps to reproduce the issue:**\n1. start a container\n2. wait a few hours\n3. dig google.com\n\n**Describe the results you received:**\nCalling `dig google.com` takes multiple seconds or times out.\n\n**Describe the results you expected:**\nCalling `dig google.com` should return a result after a few ms.\n\n**Additional information you deem important (e.g. issue happens only occasionally):**\nThe issue occurs a few hours after starting the container.\n\n/etc/resolv.conf of host:\n\n```\ndomain yourvserver.net\nsearch yourvserver.net\nnameserver 46.38.225.230\nnameserver 46.38.252.230\n```\n\n/etc/resolv.conf of conainer:\n\n```\nsearch yourvserver.net\nnameserver 127.0.0.11\noptions ndots:0\n```\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/267099451","html_url":"https://github.com/docker/docker/issues/24604#issuecomment-267099451","issue_url":"https://api.github.com/repos/docker/docker/issues/24604","id":267099451,"user":{"login":"sanimej","id":10071849,"avatar_url":"https://avatars.githubusercontent.com/u/10071849?v=3","gravatar_id":"","url":"https://api.github.com/users/sanimej","html_url":"https://github.com/sanimej","followers_url":"https://api.github.com/users/sanimej/followers","following_url":"https://api.github.com/users/sanimej/following{/other_user}","gists_url":"https://api.github.com/users/sanimej/gists{/gist_id}","starred_url":"https://api.github.com/users/sanimej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanimej/subscriptions","organizations_url":"https://api.github.com/users/sanimej/orgs","repos_url":"https://api.github.com/users/sanimej/repos","events_url":"https://api.github.com/users/sanimej/events{/privacy}","received_events_url":"https://api.github.com/users/sanimej/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T17:32:50Z","updated_at":"2016-12-14T17:32:50Z","body":"Just to clarify, embedded DNS doesn't cache the responses. But in 1.11 the UDP socket to the external servers were getting reused across multiple queries which somehow led to this issue and it has been removed in 1.12"}}
{"actor":{"display_login":"sanimej"}}