diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2022-08-29 21:44:05 +0100 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2022-09-06 22:43:33 +0100 |
commit | d334e7c34fcb6955a9c4fd856c54fa815ca0452d (patch) | |
tree | 1a31718060111a790c87721168946cb543ea200e /man | |
parent | d21438a7df78f64810fa1ebec1fe64478444fa80 (diff) | |
download | dnsmasq-d334e7c34fcb6955a9c4fd856c54fa815ca0452d.tar.gz |
Add --use-stale-cache option.
Diffstat (limited to 'man')
-rw-r--r-- | man/dnsmasq.8 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index e4b2e56..11640a7 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -812,6 +812,12 @@ Disable negative caching. Negative caching allows dnsmasq to remember "no such domain" answers from upstream nameservers and answer identical queries without forwarding them again. .TP +.B --use-stale-cache +When set, if a DNS name exists in the cache, but its time-to-live has expired, dnsmasq will return the data anyway. (It attempts to refresh the +data with an upstream query after returning the stale data.) This can improve speed and reliability. It comes at the expense +of sometimes returning out-of-date data and less efficient cache utilisation, since old data cannot be flushed when its TTL expires, so the cache becomes +strictly least-recently-used. +.TP .B \-0, --dns-forward-max=<queries> Set the maximum number of concurrent DNS queries. The default value is 150, which should be fine for most setups. The only known situation |