added name resolution for vms