add support hostname auto resolving