github.com/netdata/go.d.plugin@v0.58.1/modules/unbound/config/testdata/valid_include_toplevel.conf (about)

     1  #
     2  # Example configuration file.
     3  #
     4  # See unbound.conf(5) man page, version 1.9.4.
     5  #
     6  # this is a comment.
     7  
     8  #Use this to include other text into the file.
     9  include-toplevel: "testdata/valid_include_toplevel2.conf"
    10  
    11  # The server clause sets the main parameters.
    12  server:
    13    # whitespace is not necessary, but looks cleaner.
    14  
    15    # verbosity number, 0 is least verbose. 1 is default.
    16    # verbosity: 1
    17  
    18    # print statistics to the log (for every thread) every N seconds.
    19    # Set to "" or 0 to disable. Default is disabled.
    20    # statistics-interval: 0
    21  
    22    # enable shm for stats, default no.  if you enable also enable
    23    # statistics-interval, every time it also writes stats to the
    24    # shared memory segment keyed with shm-key.
    25    # shm-enable: no
    26  
    27    # shm for stats uses this key, and key+1 for the shared mem segment.
    28    # shm-key: 11777
    29  
    30    # enable cumulative statistics, without clearing them after printing.
    31    statistics-cumulative: yes
    32  
    33    # enable extended statistics (query types, answer codes, status)
    34    # printed from unbound-control. default off, because of speed.
    35    # extended-statistics: no
    36  
    37    # number of threads to create. 1 disables threading.
    38    # num-threads: 2
    39  
    40  # Python config section. To enable:
    41  # o use --with-pythonmodule to configure before compiling.
    42  # o list python in the module-config string (above) to enable.
    43  #   It can be at the start, it gets validated results, or just before
    44  #   the iterator and process before DNSSEC validation.
    45  # o and give a python-script to run.
    46  python:
    47  # Script file to load
    48  # python-script: "/etc/unbound/ubmodule-tst.py"
    49  
    50  # Remote control config section.
    51  remote-control:
    52    # Enable remote control with unbound-control(8) here.
    53    # set up the keys and certificates with unbound-control-setup.
    54    control-enable: yes
    55  
    56    # what interfaces are listened to for remote control.
    57    # give 0.0.0.0 and ::0 to listen to all interfaces.
    58    # set to an absolute path to use a unix local name pipe, certificates
    59    # are not used for that, so key and cert files need not be present.
    60    # control-interface: 127.0.0.1
    61    control-interface: 10.0.0.1
    62    # control-interface: ::1
    63    # control-interface: /var/run/test.sock
    64  
    65    # port number for remote control operations.
    66    # control-port: 8955
    67  
    68    # for localhost, you can disable use of TLS by setting this to "no"
    69    # For local sockets this option is ignored, and TLS is not used.
    70    control-use-cert: "yes"
    71  
    72    # unbound server key file.
    73    # server-key-file: "/etc/unbound/unbound_server.key"
    74  
    75    # unbound server certificate file.
    76    # server-cert-file: "/etc/unbound/unbound_server.pem"
    77  
    78    # unbound-control key file.
    79    # control-key-file: "/etc/unbound/unbound_control_2.key"
    80  
    81    # unbound-control certificate file.
    82    # control-cert-file: "/etc/unbound/unbound_control_2.pem"