Ver Fonte

[Unbound] Reduce negative max ttl to 60s and min-ttl for all other keys to 5

André há 6 anos atrás
pai
commit
51dd88abeb
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      data/conf/unbound/unbound.conf

+ 3 - 0
data/conf/unbound/unbound.conf

@@ -24,6 +24,9 @@ server:
   #private-address: 169.254.0.0/16
   #private-address: fc00::/7
   #private-address: fe80::/10
+  # cache-min-ttl needs to be less or equal to cache-max-negative-ttl
+  cache-min-ttl: 5
+  cache-max-negative-ttl: 60
   root-hints: "/etc/unbound/root.hints"
   hide-identity: yes
   hide-version: yes