joyent/node — pull request #3132 by tjfontaine (2012-04-18 18:46:24+00:00)
Title: expose ares_get_servers in cares_wrap

This exposes ares_get_servers as cares_wrap.getServers which passes to a callback an array of IPs that ares is currently using for resolution.

It's callback based with an eye towards #3018 where ares would be initialized on the thread pool during platform initialization only to retrieve relevant platform information and then be immediately disposed.