diff --git a/etc/unbound/unbound.conf.d/cache.conf b/etc/unbound/unbound.conf.d/cache.conf new file mode 100644 index 00000000..6da912c0 --- /dev/null +++ b/etc/unbound/unbound.conf.d/cache.conf @@ -0,0 +1,11 @@ +# Increasing caching +# This has potential to increase memory usage to 100m under heavy usage, but +# I find that unlikely as almost everything is using so short TTLs and I am +# not enforcing higher minimum TTL (cache-min-ttl, defaults to 0). +# See also MEMORY CONTROL EXAMPLE in man unbound.conf + +server: + # bytes in message cache, defaults to 4m + msg-cache-size: 50m + # bytes in rrset cache, defaults to 4m + rrset-cache-size: 50m