find hostname type