Add --max-cache-ttl option.

This commit is contained in:
Simon Kelley
2012-09-20 20:48:04 +01:00
parent 289a253569
commit 1d860415f2
5 changed files with 15 additions and 1 deletions

View File

@@ -71,6 +71,9 @@ maximum TTL will be given to clients instead of the true TTL value if it is
lower. The true TTL value is however kept in the cache to avoid flooding
the upstream DNS servers.
.TP
.B --max-cache-ttl=<time>
Set a maximum TTL value for entries in the cache.
.TP
.B \-k, --keep-in-foreground
Do not go into the background at startup but otherwise run as
normal. This is intended for use when dnsmasq is run under daemontools