check for host name presence