qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsClientFromResolveConfSupplier.java
@Override
    public DnsClient get() {
        final URI uri = addressList.get(index);
        try {
            if (debug) logger.debug("DnsClient.get port {} host {}", uri.getPort(), uri.getHost());
            return vertx.createDnsClient(uri.getPort(), uri.getHost());
        } catch (Exception ex) {
            logger.error("DnsClient.get EXCEPTION ", ex);
            logger.error("DnsClient.get EXCEPTION port {} host {}", uri.getPort(), uri.getHost());
            return getIfErrors();
        }
    }
@Override
    public DnsClient get() {
        final URI uri = addressList.get(index);
        try {
            if (debug) logger.debug("DnsClient.get port {} host {}", uri.getPort(), uri.getHost());
            return vertx.createDnsClient(uri.getPort(), uri.getHost());
        } catch (Exception ex) {
            logger.error("DnsClient.get EXCEPTION ", ex);
            logger.error("DnsClient.get EXCEPTION port {} host {}", uri.getPort(), uri.getHost());
            return getIfErrors();
        }
    }
Get a DNS client.

@return dns client.