@Override
    public void onFailure(List<DnsRecord> oldRecords, Throwable cause, String logPrefix, long delayMillis,
                          int attemptsSoFar) {
        logger.warn("{} DNS query failed; retrying in {} ms (attempts so far: {}):",
                    logPrefix, delayMillis, attemptsSoFar, cause);
    }
A default implementation of {@link DnsQueryListener} interface.
core/src/main/java/com/linecorp/armeria/client/endpoint/dns/DefaultDnsQueryListener.java