code: public static List<Target> from(final String srvName, final Iterable<String> domains) {
      final ImmutableList.Builder<Target> builder = ImmutableList.builder();
      for (final String domain : domains) {
        builder.add(new SrvTarget(srvName, domain));
      }
      return builder.build();
    }
docs: Create targets for a list of domains.
  
  @param srvName The SRV name.
  @param domains A list of domains.
  
  @return A list of targets.