public SELF negativeTtl(int negativeTtl) {
        checkArgument(negativeTtl >= 0, "negativeTtl: %s (expected: >= 0)", negativeTtl);
        needsToCreateDnsCache = true;
        this.negativeTtl = negativeTtl;
        return self();
    }
Sets the TTL of the cache for the failed DNS queries in seconds. The default value is {@code 0} which
means that the DNS resolver does not cache when DNS queries are failed.

<p>Note that {@link #negativeTtl(int)} and {@link #dnsCache(DnsCache)} are mutually exclusive.
core/src/main/java/com/linecorp/armeria/client/AbstractDnsResolverBuilder.java