{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/994","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/994/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/994/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/994/events","html_url":"https://github.com/Mashape/kong/issues/994","id":133759009,"number":994,"title":"dnsmasq not resolving docker cloud links","user":{"login":"robbydooo","id":3592735,"avatar_url":"https://avatars.githubusercontent.com/u/3592735?v=3","gravatar_id":"","url":"https://api.github.com/users/robbydooo","html_url":"https://github.com/robbydooo","followers_url":"https://api.github.com/users/robbydooo/followers","following_url":"https://api.github.com/users/robbydooo/following{/other_user}","gists_url":"https://api.github.com/users/robbydooo/gists{/gist_id}","starred_url":"https://api.github.com/users/robbydooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbydooo/subscriptions","organizations_url":"https://api.github.com/users/robbydooo/orgs","repos_url":"https://api.github.com/users/robbydooo/repos","events_url":"https://api.github.com/users/robbydooo/events{/privacy}","received_events_url":"https://api.github.com/users/robbydooo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-15T16:35:00Z","updated_at":"2016-02-15T23:19:29Z","closed_at":"2016-02-15T23:19:29Z","body":"Hi All,\r\n\r\nI am trying to get Kong properly working on Tutum/Docker Cloud (as it is now called).\r\n\r\nhttps://cloud.docker.com\r\n\r\nThe issue is that kong always fails when using docker links on Tutum/DockerCloud.\r\n\r\nIt appears that DNSmasq is not using the search element of the resolve.conf to add the FQDN to the request and as such it just fails.\r\n\r\nSo if I set in kong.yml :\r\n```\r\ncontact_points:\r\n    - \"cassandra:9042\"\r\n```\r\n\r\nKong will fail to start unable to connect to cassandra. It should resolve to casasndra.a72c1fd7-97e3-423b-ac69-d02a5dee5d8e.local.dockerapp.io\r\n\r\nExample of resolve.conf on docker cloud:\r\n```\r\nsearch a72c1fd7-97e3-423b-ac69-d02a5dee5d8e.local.dockerapp.io\r\nnameserver 8.8.8.8\r\nnameserver 8.8.4.4\r\n```\r\n\r\nHow can I get kong/dnsmasq to properly use the search option in resolve.conf?\r\n\r\nIf we can solve this issue then I will no longer have to  host a custom version of Kong for Docker Cloud\r\n\r\nhttps://github.com/holidaywatchdog/docker-cloud-kong\r\n\r\nI should mention that cassandra resolves correctly from within the docker container just not via dnsmasq\r\n\r\n```\r\nroot@api-gateway-1 /]# ping cassandra\r\nPING cassandra.a72c1fd7-97e3-423b-ac69-d02a5dee5d8e.local.dockerapp.io (10.7.0.2\r\n2) 56(84) bytes of data.\r\n64 bytes from 10.7.0.22: icmp_seq=1 ttl=64 time=1.79 ms\r\n```"},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/184438092","html_url":"https://github.com/Mashape/kong/issues/994#issuecomment-184438092","issue_url":"https://api.github.com/repos/Mashape/kong/issues/994","id":184438092,"user":{"login":"robbydooo","id":3592735,"avatar_url":"https://avatars.githubusercontent.com/u/3592735?v=3","gravatar_id":"","url":"https://api.github.com/users/robbydooo","html_url":"https://github.com/robbydooo","followers_url":"https://api.github.com/users/robbydooo/followers","following_url":"https://api.github.com/users/robbydooo/following{/other_user}","gists_url":"https://api.github.com/users/robbydooo/gists{/gist_id}","starred_url":"https://api.github.com/users/robbydooo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbydooo/subscriptions","organizations_url":"https://api.github.com/users/robbydooo/orgs","repos_url":"https://api.github.com/users/robbydooo/repos","events_url":"https://api.github.com/users/robbydooo/events{/privacy}","received_events_url":"https://api.github.com/users/robbydooo/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T23:19:29Z","updated_at":"2016-02-15T23:19:29Z","body":"I have moved this to docker-kong issues"}}