github.com/netdata/go.d.plugin@v0.58.1/modules/unbound/config/testdata/valid_include_toplevel3.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  
    10  # The server clause sets the main parameters.
    11  server:
    12  # whitespace is not necessary, but looks cleaner.
    13  
    14  # verbosity number, 0 is least verbose. 1 is default.
    15  # verbosity: 1
    16  
    17  # print statistics to the log (for every thread) every N seconds.
    18  # Set to "" or 0 to disable. Default is disabled.
    19  # statistics-interval: 0
    20  
    21  # enable shm for stats, default no.  if you enable also enable
    22  # statistics-interval, every time it also writes stats to the
    23  # shared memory segment keyed with shm-key.
    24  # shm-enable: no
    25  
    26  # shm for stats uses this key, and key+1 for the shared mem segment.
    27  # shm-key: 11777
    28  
    29  # enable cumulative statistics, without clearing them after printing.
    30  # statistics-cumulative: no
    31  
    32  # enable extended statistics (query types, answer codes, status)
    33  # printed from unbound-control. default off, because of speed.
    34  # extended-statistics: no
    35  
    36  # number of threads to create. 1 disables threading.
    37  # num-threads: 2
    38  
    39  # Python config section. To enable:
    40  # o use --with-pythonmodule to configure before compiling.
    41  # o list python in the module-config string (above) to enable.
    42  #   It can be at the start, it gets validated results, or just before
    43  #   the iterator and process before DNSSEC validation.
    44  # o and give a python-script to run.
    45  python:
    46  # Script file to load
    47  # python-script: "/etc/unbound/ubmodule-tst.py"
    48  
    49  # Remote control config section.
    50  remote-control:
    51    # Enable remote control with unbound-control(8) here.
    52    # set up the keys and certificates with unbound-control-setup.
    53    # control-enable: no
    54  
    55    # what interfaces are listened to for remote control.
    56    # give 0.0.0.0 and ::0 to listen to all interfaces.
    57    # set to an absolute path to use a unix local name pipe, certificates
    58    # are not used for that, so key and cert files need not be present.
    59    # control-interface: 127.0.0.1
    60    control-interface: 10.0.0.3
    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.key"
    79  
    80    # unbound-control certificate file.
    81    # control-cert-file: "/etc/unbound/unbound_control.pem"