3 # An example Name Service Cache config file. This file is needed by nscd.
8 enable-cache passwd yes
9 positive-time-to-live passwd 600
10 negative-time-to-live passwd 20
11 suggested-size passwd 1001
12 check-files passwd yes
14 enable-cache group yes
15 positive-time-to-live group 3600
16 negative-time-to-live group 60
17 suggested-size group 1001
20 # hosts caching is broken with gethostby* calls, hence is now disabled
21 # by default. Specifically, the caching does not obey DNS TTLs, and
22 # thus could lead to problems if the positive-time-to-live is
23 # significantly larger than the actual TTL.
25 # You should really use a caching nameserver instead of nscd for this
26 # sort of request. However, you can easily re-enable this by default.
28 positive-time-to-live hosts 3600
29 negative-time-to-live hosts 20
30 suggested-size hosts 1001
33 # unscd does not support services caching