code: public final List<SRVRecord> lookupSRVRecords(DnsName name, List<HostAddress> failedAddresses, DnssecMode dnssecMode) {
          checkIfDnssecRequestedAndSupported(dnssecMode);
          return lookupSRVRecords0(name, failedAddresses, dnssecMode);
      }
docs: Gets a list of service records for the specified service.
  @param name The symbolic name of the service.
  @param failedAddresses list of failed addresses.
  @param dnssecMode security mode.
  @return The list of SRV records mapped to the service name.