separate out host lookup from cache method