use hostname automaticly