check hostname