summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/unbound/config/testdata/valid_include_toplevel3.conf
blob: d30778c014612bfabc8664821214d40479688fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Example configuration file.
#
# See unbound.conf(5) man page, version 1.9.4.
#
# this is a comment.

#Use this to include other text into the file.

# The server clause sets the main parameters.
server:
# whitespace is not necessary, but looks cleaner.

# verbosity number, 0 is least verbose. 1 is default.
# verbosity: 1

# print statistics to the log (for every thread) every N seconds.
# Set to "" or 0 to disable. Default is disabled.
# statistics-interval: 0

# enable shm for stats, default no.  if you enable also enable
# statistics-interval, every time it also writes stats to the
# shared memory segment keyed with shm-key.
# shm-enable: no

# shm for stats uses this key, and key+1 for the shared mem segment.
# shm-key: 11777

# enable cumulative statistics, without clearing them after printing.
# statistics-cumulative: no

# enable extended statistics (query types, answer codes, status)
# printed from unbound-control. default off, because of speed.
# extended-statistics: no

# number of threads to create. 1 disables threading.
# num-threads: 2

# Python config section. To enable:
# o use --with-pythonmodule to configure before compiling.
# o list python in the module-config string (above) to enable.
#   It can be at the start, it gets validated results, or just before
#   the iterator and process before DNSSEC validation.
# o and give a python-script to run.
python:
# Script file to load
# python-script: "/etc/unbound/ubmodule-tst.py"

# Remote control config section.
remote-control:
  # Enable remote control with unbound-control(8) here.
  # set up the keys and certificates with unbound-control-setup.
  # control-enable: no

  # what interfaces are listened to for remote control.
  # give 0.0.0.0 and ::0 to listen to all interfaces.
  # set to an absolute path to use a unix local name pipe, certificates
  # are not used for that, so key and cert files need not be present.
  # control-interface: 127.0.0.1
  control-interface: 10.0.0.3
  # control-interface: ::1
  # control-interface: /var/run/test.sock

  # port number for remote control operations.
  control-port: 8955

  # for localhost, you can disable use of TLS by setting this to "no"
  # For local sockets this option is ignored, and TLS is not used.
  # control-use-cert: "yes"

  # unbound server key file.
  # server-key-file: "/etc/unbound/unbound_server.key"

  # unbound server certificate file.
  # server-cert-file: "/etc/unbound/unbound_server.pem"

  # unbound-control key file.
  # control-key-file: "/etc/unbound/unbound_control.key"

  # unbound-control certificate file.
  # control-cert-file: "/etc/unbound/unbound_control.pem"