Using the more efficient code for comparing host names