read hosts from local