Add better error message when an inaccessible hostname is detected