debug output in set_hostname_details