detectHostNames is only being called once now