get hostname via hostlookup