rescue gethostname