From 1d860415f2eaf4f26a31b2feb141b8972ef38f0c Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Thu, 20 Sep 2012 20:48:04 +0100 Subject: [PATCH] Add --max-cache-ttl option. --- CHANGELOG | 3 +++ man/dnsmasq.8 | 3 +++ src/cache.c | 3 +++ src/dnsmasq.h | 2 +- src/option.c | 5 +++++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 8d8805b..32ecb62 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -25,6 +25,9 @@ version 2.64 Fix build with later Lua libraries. Thansk to Cristian Rodriguez for the patch. + Add --max-cache-ttl option. Thanks to Dennis Kaarsemaker + for the patch. + version 2.63 Do duplicate dhcp-host address check in --test mode. diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index 89bc8a4..e891e19 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -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=