enhance hostname evaluation