314 generate hostname

and so on..