qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java
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;
    }
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;
    }
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 ; }
Looks up a service name based on its dns service name. The service part of the SRV DNS Record.

@param dnsServiceName dnsServiceName
@return serviceName
Looks up a service name based on its dns service name . The service part of the SRV DNS Record .