github.com/netdata/go.d.plugin@v0.58.1/modules/unbound/testdata/unbound_empty.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: "otherfile.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 # statistics-cumulative: yes 33 34 # enable extended statistics (query types, answer codes, status) 35 # printed from unbound-control. default off, because of speed. 36 # extended-statistics: no 37 # extended-statistics: yes 38 39 # number of threads to create. 1 disables threading. 40 # num-threads: 2 41 42 # Python config section. To enable: 43 # o use --with-pythonmodule to configure before compiling. 44 # o list python in the module-config string (above) to enable. 45 # It can be at the start, it gets validated results, or just before 46 # the iterator and process before DNSSEC validation. 47 # o and give a python-script to run. 48 python: 49 # Script file to load 50 # python-script: "/etc/unbound/ubmodule-tst.py" 51 52 # Remote control config section. 53 remote-control: 54 # Enable remote control with unbound-control(8) here. 55 # set up the keys and certificates with unbound-control-setup. 56 # control-enable: no 57 58 # what interfaces are listened to for remote control. 59 # give 0.0.0.0 and ::0 to listen to all interfaces. 60 # set to an absolute path to use a unix local name pipe, certificates 61 # are not used for that, so key and cert files need not be present. 62 # control-interface: 127.0.0.1 63 # control-interface: 0.0.0.0 64 # control-interface: ::1 65 # control-interface: /var/run/test.sock 66 67 # port number for remote control operations. 68 # control-port: 8953 69 70 # for localhost, you can disable use of TLS by setting this to "no" 71 # For local sockets this option is ignored, and TLS is not used. 72 # control-use-cert: "yes" 73 # control-use-cert: "yes" 74 75 # unbound server key file. 76 # server-key-file: "/etc/unbound/unbound_server.key" 77 78 # unbound server certificate file. 79 # server-cert-file: "/etc/unbound/unbound_server.pem" 80 81 # unbound-control key file. 82 # control-key-file: "/etc/unbound/unbound_control.key" 83 84 # unbound-control certificate file. 85 # control-cert-file: "/etc/unbound/unbound_control.pem"