Refine the hosts list