code: private List<ScoredHost> scoreMatches(final List<String> results) {
      final ImmutableList.Builder<ScoredHost> scored = ImmutableList.builder();
      for (final String name : results) {
        int score = Integer.MAX_VALUE;
        for (int i = 0; i < searchPath.length; i++) {
          if (name.endsWith(searchPath[i].toString())) {
            if (i < score) {
              score = i;
            }
          }
        }
        scored.add(new ScoredHost(name, score));
      }
      return scored.build();
    }
docs: Score matches based upon the position in the dns search domain that matches the result