{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2848","labels_url":"https://api.github.com/repos/nodejs/node/issues/2848/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2848/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2848/events","html_url":"https://github.com/nodejs/node/issues/2848","id":106240726,"number":2848,"title":"Add dns.resolve that returns all results","user":{"login":"skeggse","id":1348991,"avatar_url":"https://avatars.githubusercontent.com/u/1348991?v=3","gravatar_id":"","url":"https://api.github.com/users/skeggse","html_url":"https://github.com/skeggse","followers_url":"https://api.github.com/users/skeggse/followers","following_url":"https://api.github.com/users/skeggse/following{/other_user}","gists_url":"https://api.github.com/users/skeggse/gists{/gist_id}","starred_url":"https://api.github.com/users/skeggse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skeggse/subscriptions","organizations_url":"https://api.github.com/users/skeggse/orgs","repos_url":"https://api.github.com/users/skeggse/repos","events_url":"https://api.github.com/users/skeggse/events{/privacy}","received_events_url":"https://api.github.com/users/skeggse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/dns","name":"dns","color":"fbca04"},{"url":"https://api.github.com/repos/nodejs/node/labels/feature%20request","name":"feature request","color":"0D7BDE"},{"url":"https://api.github.com/repos/nodejs/node/labels/good%20first%20contribution","name":"good first contribution","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-09-13T21:27:01Z","updated_at":"2015-10-06T15:42:52Z","closed_at":null,"body":"Similar to #736, it'd be nice if we had a `dns.resolve` that queries for all results.\r\n\r\nWould the Node core maintainers be amenable to a pr that adds this functionality via c-ares, or should such an addition be delayed until after #1013 has been resolved?"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/145905144","html_url":"https://github.com/nodejs/node/issues/2848#issuecomment-145905144","issue_url":"https://api.github.com/repos/nodejs/node/issues/2848","id":145905144,"user":{"login":"silverwind","id":115237,"avatar_url":"https://avatars.githubusercontent.com/u/115237?v=3","gravatar_id":"","url":"https://api.github.com/users/silverwind","html_url":"https://github.com/silverwind","followers_url":"https://api.github.com/users/silverwind/followers","following_url":"https://api.github.com/users/silverwind/following{/other_user}","gists_url":"https://api.github.com/users/silverwind/gists{/gist_id}","starred_url":"https://api.github.com/users/silverwind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverwind/subscriptions","organizations_url":"https://api.github.com/users/silverwind/orgs","repos_url":"https://api.github.com/users/silverwind/repos","events_url":"https://api.github.com/users/silverwind/events{/privacy}","received_events_url":"https://api.github.com/users/silverwind/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T15:42:52Z","updated_at":"2015-10-06T15:42:52Z","body":"@kulkarniankita: for things like `SOA`,`SRV`, `MX` and other multi-value records, I suppose we could return them like `resolveSoa` and relatives do, but with the `type` field included:\r\n\r\n```\r\n{ type: 'SOA',\r\n  nsname: 'ns3.google.com',\r\n  hostmaster: 'dns-admin.google.com',\r\n  serial: 104759467,\r\n  refresh: 900,\r\n  retry: 900,\r\n  expire: 1800,\r\n  minttl: 60 }\r\n```"}}