dnscache: up caching
This commit is contained in:
parent
c9585041f6
commit
0449688a76
|
@ -12,9 +12,16 @@ lib.mkIf config.site.hosts.${hostName}.services.dnscache.enable {
|
|||
num-threads = 4;
|
||||
verbosity = 1;
|
||||
prefetch = true;
|
||||
prefetch-keys = true;
|
||||
serve-expired = true;
|
||||
cache-min-ttl = 60;
|
||||
cache-max-ttl = 3600;
|
||||
infra-cache-slabs = "8";
|
||||
key-cache-slabs = "8";
|
||||
msg-cache-slabs = "8";
|
||||
rrset-cache-slabs = "8";
|
||||
msg-cache-size = "256m"; # half again 128m?
|
||||
rrset-cache-size = "512m"; # half again 256m?
|
||||
|
||||
interface = [ "0.0.0.0" "'::0'" ];
|
||||
# TODO: generate
|
||||
|
|
Loading…
Reference in New Issue