Browse Source

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

André 7 năm trước cách đây
mục cha
commit
51dd88abeb
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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: 169.254.0.0/16
   #private-address: fc00::/7
   #private-address: fc00::/7
   #private-address: fe80::/10
   #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"
   root-hints: "/etc/unbound/root.hints"
   hide-identity: yes
   hide-identity: yes
   hide-version: yes
   hide-version: yes