[unbound] multi-threading

certbot_on_virtu
Arnaud DABY-SEESARAM 2022-03-24 11:25:58 +01:00
parent f76cc022ce
commit 833c8ef905
1 changed files with 20 additions and 18 deletions

View File

@ -1,5 +1,5 @@
server: server:
verbosity: {{ unbound['verbosity'] | default(1) }} verbosity: {{ unbound['verbosity'] | default(1) }}
{% for adr in unbound['interfaces'] %} {% for adr in unbound['interfaces'] %}
interface: {{ adr }} interface: {{ adr }}
@ -12,27 +12,29 @@ server:
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
# chroot: "/etc/unbound" # chroot: "/etc/unbound"
# username: "unbound" # username: "unbound"
# directory: "/etc/unbound" # directory: "/etc/unbound"
num-threads: 8
# the log file, "" means log to stderr. # the log file, "" means log to stderr.
# Use of this option sets use-syslog to "no". # Use of this option sets use-syslog to "no".
# logfile: "" # logfile: ""
use-syslog: yes use-syslog: yes
# Log identity to report. if empty, defaults to the name of argv[0] # Log identity to report. if empty, defaults to the name of argv[0]
# (usually "unbound"). # (usually "unbound").
# log-identity: "" # log-identity: ""
# print UTC timestamp in ascii to logfile, default is epoch in seconds. # print UTC timestamp in ascii to logfile, default is epoch in seconds.
# log-time-ascii: no # log-time-ascii: no
#log-queries: yes #log-queries: yes
#log-replies: yes #log-replies: yes
root-hints: "root.hints" root-hints: "root.hints"
module-config: "validator iterator" module-config: "validator iterator"
auto-trust-anchor-file: "/etc/unbound/root.key" auto-trust-anchor-file: "/etc/unbound/root.key"
@ -42,10 +44,10 @@ server:
python: python:
# ... # ...
dynlib: dynlib:
# ... # ...
# Remote control config section. # Remote control config section.
remote-control: remote-control: