github.com/netdata/go.d.plugin@v0.58.1/modules/unbound/config/testdata/valid_include_toplevel2.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_toplevel3.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: no
    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: no
    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: ::1
    62    control-interface: /var/run/test.sock
    63  
    64    # port number for remote control operations.
    65    # control-port: 8955
    66  
    67    # for localhost, you can disable use of TLS by setting this to "no"
    68    # For local sockets this option is ignored, and TLS is not used.
    69    # control-use-cert: "yes"
    70  
    71    # unbound server key file.
    72    # server-key-file: "/etc/unbound/unbound_server.key"
    73  
    74    # unbound server certificate file.
    75    # server-cert-file: "/etc/unbound/unbound_server.pem"
    76  
    77    # unbound-control key file.
    78    control-key-file: "/etc/unbound/unbound_control_2.key"
    79  
    80    # unbound-control certificate file.
    81    control-cert-file: "/etc/unbound/unbound_control_2.pem"