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 .