{"action":"created","issue":{"url":"https://api.github.com/repos/redisson/redisson/issues/1693","repository_url":"https://api.github.com/repos/redisson/redisson","labels_url":"https://api.github.com/repos/redisson/redisson/issues/1693/labels{/name}","comments_url":"https://api.github.com/repos/redisson/redisson/issues/1693/comments","events_url":"https://api.github.com/repos/redisson/redisson/issues/1693/events","html_url":"https://github.com/redisson/redisson/issues/1693","id":373597010,"node_id":"MDU6SXNzdWUzNzM1OTcwMTA=","number":1693,"title":"Redisson can't resolve short DNS name","user":{"login":"yevgenb","id":3640281,"node_id":"MDQ6VXNlcjM2NDAyODE=","avatar_url":"https://avatars1.githubusercontent.com/u/3640281?v=4","gravatar_id":"","url":"https://api.github.com/users/yevgenb","html_url":"https://github.com/yevgenb","followers_url":"https://api.github.com/users/yevgenb/followers","following_url":"https://api.github.com/users/yevgenb/following{/other_user}","gists_url":"https://api.github.com/users/yevgenb/gists{/gist_id}","starred_url":"https://api.github.com/users/yevgenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevgenb/subscriptions","organizations_url":"https://api.github.com/users/yevgenb/orgs","repos_url":"https://api.github.com/users/yevgenb/repos","events_url":"https://api.github.com/users/yevgenb/events{/privacy}","received_events_url":"https://api.github.com/users/yevgenb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T17:37:31Z","updated_at":"2018-10-24T17:50:46Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPlease consider to take commercial 24x7 support included in PRO version https://redisson.pro\r\n-->\r\n\r\n### Expected behavior\r\n\r\n### Actual behavior\r\n\r\nSince version 3.8.2 Redisson failed to resolve short DNS name.\r\n\r\n### Steps to reproduce or test case\r\n\r\n1) Configure redis full host name (in our case\r\n redis-test.domain.com)\r\n2) Add search domain \"domain.com\" to  /etc/resolv.conf\r\n3) Verify that short name can be resolved with nslookup:\r\nnslookup redis-test\r\nServer:\t\t192.168.20.167\r\nAddress:\t192.168.20.167#53\r\n\r\nNon-authoritative answer:\r\nName:\tredis-test.domain.com\r\nAddress: 135.17.72.111\r\n3) Configure redisson client to connect to \"redis-test\"\r\n4) Client can't connect to server:\r\n{\"time\":\"2018-10-24T10:36:45.969-07:00\",\"@version\":1,\"msg\":\"failed to resolve 'redis-test' after 3 queries \",\"logger_name\":\"org.redisson.cluster.ClusterConnectionManager\",\"thread_name\":\"main\",\"level\":\"WARN\",\"level_value\":30000,\"name\":\"gws-core-auth\",\"pid\":66459}\r\n\r\n### Redisson version\r\n3.8.2\r\n### Redisson configuration\r\nDefault config used"},"comment":{"url":"https://api.github.com/repos/redisson/redisson/issues/comments/432761937","html_url":"https://github.com/redisson/redisson/issues/1693#issuecomment-432761937","issue_url":"https://api.github.com/repos/redisson/redisson/issues/1693","id":432761937,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjc2MTkzNw==","user":{"login":"yevgenb","id":3640281,"node_id":"MDQ6VXNlcjM2NDAyODE=","avatar_url":"https://avatars1.githubusercontent.com/u/3640281?v=4","gravatar_id":"","url":"https://api.github.com/users/yevgenb","html_url":"https://github.com/yevgenb","followers_url":"https://api.github.com/users/yevgenb/followers","following_url":"https://api.github.com/users/yevgenb/following{/other_user}","gists_url":"https://api.github.com/users/yevgenb/gists{/gist_id}","starred_url":"https://api.github.com/users/yevgenb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevgenb/subscriptions","organizations_url":"https://api.github.com/users/yevgenb/orgs","repos_url":"https://api.github.com/users/yevgenb/repos","events_url":"https://api.github.com/users/yevgenb/events{/privacy}","received_events_url":"https://api.github.com/users/yevgenb/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T17:50:46Z","updated_at":"2018-10-24T17:50:46Z","author_association":"NONE","body":"Works fine with 3.8.1:\r\n{\"time\":\"2018-10-24T10:50:18.751-07:00\",\"@version\":1,\"msg\":\"Redisson 3.8.1\",\"logger_name\":\"org.redisson.Version\",\"thread_name\":\"main\",\"level\":\"INFO\",\"level_value\":20000,\"name\":\"gws-core-auth\",\"pid\":67160}\r\n{\"time\":\"2018-10-24T10:50:19.788-07:00\",\"@version\":1,\"msg\":\"Redis cluster nodes configuration got from redis-test/135.17.72.178:7000:\\n8c4fbb12ca5805c34ec6a06d8f7ad032168e5c5c 127.0.0.1:7005 slave 30b5d840d46caed4c4bc749846bf842e07e68416 0 1540403430113 6 connected\\n204c7186bc5dfb7bf0fbed9719230bab7e26ef5e 127.0.0.1:7001 master - 0 1540403429087 2 connected 5461-10922\\nfaf63dfda8682b0ce6701e670bfdc3a4b4b2040c 127.0.0.1:7000 myself,master - 0 0 1 connected 0-5460\\n9640eae4292a97d2761545c75bcf5b43f5ae6118 127.0.0.1:7004 slave 204c7186bc5dfb7bf0fbed9719230bab7e26ef5e 0 1540403428579 5 connected\\n30b5d840d46caed4c4bc749846bf842e07e68416 127.0.0.1:7002 master - 0 1540403430113 3 connected 10923-16383\\n7696040b2cadf1d7d279af5c67ca707e86747e1e 127.0.0.1:7003 slave faf63dfda8682b0ce6701e670bfdc3a4b4b2040c 0 1540403429087 4 connected\\n\",\"logger_name\":\"org.redisson.cluster.ClusterConnectionManager\",\"thread_name\":\"main\",\"level\":\"INFO\",\"level_value\":20000,\"name\":\"gws-core-auth\",\"pid\":67160}\r\n"}}
{"actor":{"display_login":"yevgenb"}}