Resolve hostnames to IP addresses for multihost jobs