From 41cee2f9d9a5798463e06c66103b2f7ae1f7efb5 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sat, 30 Apr 2022 00:22:49 +0200
Subject: [PATCH] feat(dns): Switch minimum TTL to 20 minutes

This patch changes the minimum TTL for self-hosted DNS to 20 Minutes in
order to fight against traffic spikes that seems to accure roughly every
15-20 minutes. This might reduces the number of spikes and request
timeouts.

This is an experiment, there is no proper research done whether this
works as expected.
---
 apps/k8s01/dns/dns.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/k8s01/dns/dns.yaml b/apps/k8s01/dns/dns.yaml
index a2a7b54d5..e752f0cf8 100644
--- a/apps/k8s01/dns/dns.yaml
+++ b/apps/k8s01/dns/dns.yaml
@@ -34,7 +34,7 @@ spec:
           image: docker.io/secns/unbound:latest
           env:
             - name: CACHE_MIN_TTL
-              value: "300"
+              value: "1200"
             - name: PREFETCH
               value: "yes"
           ports:
-- 
GitLab