try to fetch the hostname