remove domain from hosts in datanode file