@UnstableApi
    public DnsResolverGroupBuilder autoRefreshTimeoutMillis(long timeoutMillis) {
        checkArgument(timeoutMillis >= 0, "timeoutMillis: %s (expected: >= 0)", timeoutMillis);
        final long adjustedTimeoutMillis;
        if (timeoutMillis == 0) {
            adjustedTimeoutMillis = Long.MAX_VALUE;
        } else {
            adjustedTimeoutMillis = timeoutMillis;
        }
        return autoRefreshTimeout(hostname -> adjustedTimeoutMillis);
    }
Sets the timeout in milliseconds after which a refreshing {@link DnsRecord} should expire.
If this option is unspecified and {@link #enableAutoRefresh(boolean)} is set to
{@code true}, a cached {@link DnsRecord} is automatically refreshed until the {@link ClientFactory}
is closed. {@code 0} disables the timeout.
core/src/main/java/com/linecorp/armeria/client/DnsResolverGroupBuilder.java