set_hostname: add validations and descriptions