@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();
        }
    }
@ 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.
Get a DNS client .