work with hostname for ipaserver