From d8ef6e9f0115e04552acb74593f8e68659430f59 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mon, 15 Jun 2015 19:35:41 +0200 Subject: [PATCH] Use low maximum negative cache TTL (5 sec) (#1229596) Signed-off-by: Tomas Hozza --- unbound.conf | 4 +++- unbound.spec | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/unbound.conf b/unbound.conf index 653079e..de5aa32 100644 --- a/unbound.conf +++ b/unbound.conf @@ -150,7 +150,9 @@ server: # cache-max-ttl: 86400 # the time to live (TTL) value cap for negative responses in the cache - # cache-max-negative-ttl: 3600 + # we use really low negative cache TTL in Fedora due to the "Default DNS resolver" Change + # https://bugzilla.redhat.com/show_bug.cgi?id=1229596 + cache-max-negative-ttl: 5 # the time to live (TTL) value for cached roundtrip times, lameness and # EDNS version information for hosts. In seconds. diff --git a/unbound.spec b/unbound.spec index edb7ae0..47f37f9 100644 --- a/unbound.spec +++ b/unbound.spec @@ -444,6 +444,7 @@ popd %changelog * Mon Jun 15 2015 Tomas Hozza - 1.5.3-7 - Add option for maximum negative cache TTL (#1229599) +- Use low maximum negative cache TTL (5 sec) (#1229596) * Tue May 26 2015 Tomas Hozza - 1.5.3-6 - Removed usage of DLV from the default configuration (#1223363)