qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java
public void loadServiceEndpointsByDNSService(final Callback<List<EndpointDefinition>> callback,
                                                 final String serviceURL) {
        final DnsClient dnsClient = dnsClientProvider.get();
        dnsClient.resolveSRV(serviceURL, event ->
                {
                    if (event.succeeded()) {
                        if (debug) logger.debug("loadServiceEndpointsByDNSService SUCCESS serviceURL={} ", serviceURL);
                        callback.resolve(convertEndpoints(event.result()));
                    } else {

                        Throwable error = event.cause();

                        logger.info("loadServiceEndpointsByDNSService FAILURE  " + serviceURL, error);


                        attemptRecover(callback, serviceURL, error);

                    }
                }
        );
    }
public void loadServiceEndpointsByDNSService(final Callback<List<EndpointDefinition>> callback,
                                                 final String serviceURL) {
        final DnsClient dnsClient = dnsClientProvider.get();
        dnsClient.resolveSRV(serviceURL, event ->
                {
                    if (event.succeeded()) {
                        if (debug) logger.debug("loadServiceEndpointsByDNSService SUCCESS serviceURL={} ", serviceURL);
                        callback.resolve(convertEndpoints(event.result()));
                    } else {

                        Throwable error = event.cause();

                        logger.info("loadServiceEndpointsByDNSService FAILURE  " + serviceURL, error);


                        attemptRecover(callback, serviceURL, error);

                    }
                }
        );
    }
Load the services nodes by its "${SRV.service}${SRV.name}".

@param callback   callback
@param serviceURL serviceURL