about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-06-01 17:24:02 +0200
committerGitHub <noreply@github.com>2020-06-01 17:24:02 +0200
commita2eccf3a30fcbc202f29195ef446b1ae00582e5c (patch)
tree2ea397d998a938084da8e14f8e0048648b6980bd /nixos
parent78ca0c506bc09ae59cde99a88fd2506695f0c033 (diff)
parent09244cbd98d119fdc9b8ead9dfe66b7f1b833ba4 (diff)
downloadnixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.tar
nixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.tar.gz
nixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.tar.bz2
nixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.tar.lz
nixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.tar.xz
nixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.tar.zst
nixlib-a2eccf3a30fcbc202f29195ef446b1ae00582e5c.zip
Merge pull request #89274 from flokli/nscd-disable-positive-hosts-caching
nixos/nscd: set positive hosts caching ttl to 0
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/system/nscd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/system/nscd.conf b/nixos/modules/services/system/nscd.conf
index 2b7523a7346d..722b883ba420 100644
--- a/nixos/modules/services/system/nscd.conf
+++ b/nixos/modules/services/system/nscd.conf
@@ -24,7 +24,7 @@ negative-time-to-live   netgroup        0
 shared                  netgroup        yes
 
 enable-cache            hosts           yes
-positive-time-to-live   hosts           600
+positive-time-to-live   hosts           0
 negative-time-to-live   hosts           0
 shared                  hosts           yes