{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/4529","labels_url":"https://api.github.com/repos/netty/netty/issues/4529/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/4529/comments","events_url":"https://api.github.com/repos/netty/netty/issues/4529/events","html_url":"https://github.com/netty/netty/issues/4529","id":119728002,"number":4529,"title":"DnsNameResolver design questions","user":{"login":"slandelle","id":849197,"avatar_url":"https://avatars.githubusercontent.com/u/849197?v=3","gravatar_id":"","url":"https://api.github.com/users/slandelle","html_url":"https://github.com/slandelle","followers_url":"https://api.github.com/users/slandelle/followers","following_url":"https://api.github.com/users/slandelle/following{/other_user}","gists_url":"https://api.github.com/users/slandelle/gists{/gist_id}","starred_url":"https://api.github.com/users/slandelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slandelle/subscriptions","organizations_url":"https://api.github.com/users/slandelle/orgs","repos_url":"https://api.github.com/users/slandelle/repos","events_url":"https://api.github.com/users/slandelle/events{/privacy}","received_events_url":"https://api.github.com/users/slandelle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/discussion","name":"discussion","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"trustin","id":173918,"avatar_url":"https://avatars.githubusercontent.com/u/173918?v=3","gravatar_id":"","url":"https://api.github.com/users/trustin","html_url":"https://github.com/trustin","followers_url":"https://api.github.com/users/trustin/followers","following_url":"https://api.github.com/users/trustin/following{/other_user}","gists_url":"https://api.github.com/users/trustin/gists{/gist_id}","starred_url":"https://api.github.com/users/trustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustin/subscriptions","organizations_url":"https://api.github.com/users/trustin/orgs","repos_url":"https://api.github.com/users/trustin/repos","events_url":"https://api.github.com/users/trustin/events{/privacy}","received_events_url":"https://api.github.com/users/trustin/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2015-12-01T14:29:37Z","updated_at":"2015-12-24T07:55:13Z","closed_at":null,"body":"Hi there,\r\n\r\nPlease advice if the bug tracker is not the right place to discuss this.\r\n\r\nI'm eager to use the new DnsNameResolver from 4.1, but I have a few questions and hit a few limitations.\r\n\r\nFirst, why does it resolves a `SocketAddress` instead of just a String? It looks to me that the sole purpose of passing a `SocketAddress` is to pass a port, so it can return a `InetAddress`. Isn't this the user's job? It looks like extra allocation to me.\r\n\r\nThen, the DnsNameResolver comes with a built-in cache that users have no control on. For example, it would be great if one could know if the response was a cache hit or a cache miss. But everything is either private or package private, so it's very hard to extend/override.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/167063967","html_url":"https://github.com/netty/netty/issues/4529#issuecomment-167063967","issue_url":"https://api.github.com/repos/netty/netty/issues/4529","id":167063967,"user":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T07:55:13Z","updated_at":"2015-12-24T07:55:13Z","body":"+1\n\n> Am 24.12.2015 um 03:01 schrieb Trustin Lee <notifications@github.com>:\n> \n> @slandelle Sounds good to me. Looking forward to your PR. :-)\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}