I couldn't find the answer to this with my searches, so posting the question here.
As I understand it, for configuring Unbound, the config file lives here:
/opt/var/lib/unbound/unbound.config
But I find similar config files at other locations:
/opt/etc/unbound/unbound.config
/opt/share/unbound/configs/user.config
1.) What's the difference in the files? They all appear to have similar settings?
2.) To configure settings like "num-threads", "msg-cache-size", "rrset-cache-size" should these be changed in all the locations or only in /opt/var/lib/unbound/unbound.config?
3.) In /opt/var/lib/unbound/unbound.config, setting like "outgoing-range" and "num-queries-per-thread" don't exist. Can these just be added to this file under the # tiny memory cache section? I do see these settings under /opt/etc/unbound/unbound.config, hence the confusion as to which files should be modified. Do these also need to be updated in all locations?
Thanks.
As I understand it, for configuring Unbound, the config file lives here:
/opt/var/lib/unbound/unbound.config
But I find similar config files at other locations:
/opt/etc/unbound/unbound.config
/opt/share/unbound/configs/user.config
1.) What's the difference in the files? They all appear to have similar settings?
2.) To configure settings like "num-threads", "msg-cache-size", "rrset-cache-size" should these be changed in all the locations or only in /opt/var/lib/unbound/unbound.config?
3.) In /opt/var/lib/unbound/unbound.config, setting like "outgoing-range" and "num-queries-per-thread" don't exist. Can these just be added to this file under the # tiny memory cache section? I do see these settings under /opt/etc/unbound/unbound.config, hence the confusion as to which files should be modified. Do these also need to be updated in all locations?
Thanks.