{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/2731","labels_url":"https://api.github.com/repos/openshift/origin/issues/2731/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/2731/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/2731/events","html_url":"https://github.com/openshift/origin/issues/2731","id":84545105,"number":2731,"title":"DNS search suffixes wrong post v1 DNS schema change","user":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T12:46:20Z","updated_at":"2015-06-03T12:46:20Z","closed_at":null,"body":"As discussed in https://github.com/openshift/origin/pull/2208#issuecomment-108311231:\r\n\r\nThe container search suffixes don't seem to have been updated to work with the new DNS schema. With 0.5.3 the search suffixes include `<namespace>.cluster.local` & `cluster.local` but not `<namespace>.svc.cluster.local`. Need to be able to query services in the same namespace from a pod without knowing namespace.\r\n\r\nAs an example:\r\n\r\n```\r\n$ cat /etc/resolv.conf \r\nnameserver 192.168.0.5\r\nnameserver 8.8.8.8\r\nnameserver 4.4.4.4\r\nsearch default.cluster.local cluster.local localnet\r\n$ dig +short +search kubernetes\r\n$ dig +short +search kubernetes.default.svc.cluster.local\r\n172.30.0.2\r\n```"}}