mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
plugin/cache: fix TTL for negative DNS responses (#2197)
This commit is contained in:
committed by
Chris O'Haver
parent
54df160aa4
commit
dbc2efc49a
3
plugin/cache/README.md
vendored
3
plugin/cache/README.md
vendored
@@ -24,7 +24,6 @@ cache [TTL] [ZONES...]
|
||||
* **ZONES** zones it should cache for. If empty, the zones from the configuration block are used.
|
||||
|
||||
Each element in the cache is cached according to its TTL (with **TTL** as the max).
|
||||
For the negative cache, the SOA's MinTTL value is used. A TTL of zero is not allowed.
|
||||
A cache is divided into 256 shards, each holding up to 512 items by default - for a total size
|
||||
of 256 * 512 = 131,072 items.
|
||||
|
||||
@@ -101,4 +100,4 @@ Enable caching for all zones, keep a positive cache size of 5000 and a negative
|
||||
denial 2500
|
||||
}
|
||||
}
|
||||
~~~
|
||||
~~~
|
||||
|
||||
Reference in New Issue
Block a user