unbound: add .sample to threads.conf, comment to question it's necessity and usage

This commit is contained in:
Aminda Suomalainen 2024-05-05 11:08:52 +03:00
parent b18df5462c
commit f5b76c1341
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +0,0 @@
server:
# Use two threads, I think more than 1 threads will help with Firefox
# at times telling name resolution failed
num-threads: 2
# vim: filetype=unbound.conf

View File

@ -0,0 +1,9 @@
server:
# Use two threads, I think more than 1 threads will help with Firefox
# at times telling name resolution failed. Common advice is either one
# to disable threading or the amount of CPU cores.
# However I am unsure if more than one thread is actually needed if web
# browser is using encrypted DNS by itself (for ECH).
num-threads: 2
# vim: filetype=unbound.conf