Resolve hosts to ipv4 addresses