add hosts to conf