Wrote lookupHost for proper host lookups