code: public String findServiceName(final String dnsServiceName) {
          String serviceName = dnsServiceNameToServiceName.get(dnsServiceName);
          serviceName = serviceName == null ? dnsServiceName : serviceName;
  
          if (debug) logger.debug("FindServiceName dnsServiceName={} serviceName={}", dnsServiceName, serviceName);
  
          return serviceName;
      }
docs: Looks up a service name based on its dns service name. The service part of the SRV DNS Record.
  
  @param dnsServiceName dnsServiceName
  @return serviceName