Collect a list of DNS names to resolve with a single call to client.net.resolve.resolve_hosts(hosts, family).