From 3c050be0b0f627fef38e9c59c7a3417d138fa1fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kr=C3=BCger?= <ak@patientsky.com>
Date: Thu, 4 Apr 2019 09:38:51 +0200
Subject: [PATCH] Update nodelocaldns cache settings (#4423)

---
 .../ansible/templates/nodelocaldns-config.yml.j2             | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/roles/kubernetes-apps/ansible/templates/nodelocaldns-config.yml.j2 b/roles/kubernetes-apps/ansible/templates/nodelocaldns-config.yml.j2
index ed0c837ef..bcec572dc 100644
--- a/roles/kubernetes-apps/ansible/templates/nodelocaldns-config.yml.j2
+++ b/roles/kubernetes-apps/ansible/templates/nodelocaldns-config.yml.j2
@@ -10,7 +10,10 @@ data:
   Corefile: |
     {{ dns_domain }}:53 {
         errors
-        cache 30
+        cache {
+            success 9984 30
+            denial 9984 5
+        }
         reload
         loop
         bind {{ nodelocaldns_ip }}
-- 
GitLab