Enable DNSTAP
Allows easy recording of incoming and outgoing queries.
This commit is contained in:
parent
07b18f13c3
commit
ac21a84ee9
34
unbound.conf
34
unbound.conf
@ -1114,6 +1114,40 @@ auth-zone:
|
|||||||
# name-v6: "list-v6"
|
# name-v6: "list-v6"
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Dnstap logging support, if compiled in. To enable, set the dnstap-enable
|
||||||
|
# to yes and also some of dnstap-log-..-messages to yes. And select an
|
||||||
|
# upstream log destination, by socket path, TCP or TLS destination.
|
||||||
|
# dnstap:
|
||||||
|
# dnstap-enable: no
|
||||||
|
# # if set to yes frame streams will be used in bidirectional mode
|
||||||
|
# dnstap-bidirectional: yes
|
||||||
|
# dnstap-socket-path: ""
|
||||||
|
# # if "" use the unix socket in dnstap-socket-path, otherwise,
|
||||||
|
# # set it to "IPaddress[@port]" of the destination.
|
||||||
|
# dnstap-ip: ""
|
||||||
|
# # if set to yes if you want to use TLS to dnstap-ip, no for TCP.
|
||||||
|
# dnstap-tls: yes
|
||||||
|
# # name for authenticating the upstream server. or "" disabled.
|
||||||
|
# dnstap-tls-server-name: ""
|
||||||
|
# # if "", it uses the cert bundle from the main unbound config.
|
||||||
|
# dnstap-tls-cert-bundle: ""
|
||||||
|
# # key file for client authentication, or "" disabled.
|
||||||
|
# dnstap-tls-client-key-file: ""
|
||||||
|
# # cert file for client authentication, or "" disabled.
|
||||||
|
# dnstap-tls-client-cert-file: ""
|
||||||
|
# dnstap-send-identity: no
|
||||||
|
# dnstap-send-version: no
|
||||||
|
# # if "" it uses the hostname.
|
||||||
|
# dnstap-identity: ""
|
||||||
|
# # if "" it uses the package version.
|
||||||
|
# dnstap-version: ""
|
||||||
|
# dnstap-log-resolver-query-messages: no
|
||||||
|
# dnstap-log-resolver-response-messages: no
|
||||||
|
# dnstap-log-client-query-messages: no
|
||||||
|
# dnstap-log-client-response-messages: no
|
||||||
|
# dnstap-log-forwarder-query-messages: no
|
||||||
|
# dnstap-log-forwarder-response-messages: no
|
||||||
|
|
||||||
# Response Policy Zones
|
# Response Policy Zones
|
||||||
# RPZ policies. Applied in order of configuration. QNAME and Response IP
|
# RPZ policies. Applied in order of configuration. QNAME and Response IP
|
||||||
# Address trigger are the only supported triggers. Supported actions are:
|
# Address trigger are the only supported triggers. Supported actions are:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%{?!with_python2: %global with_python2 0}
|
%{?!with_python2: %global with_python2 0}
|
||||||
%{?!with_python3: %global with_python3 1}
|
%{?!with_python3: %global with_python3 1}
|
||||||
%{?!with_munin: %global with_munin 1}
|
%{?!with_munin: %global with_munin 1}
|
||||||
%bcond_with dnstap
|
%bcond_without dnstap
|
||||||
%bcond_with systemd
|
%bcond_with systemd
|
||||||
%bcond_without doh
|
%bcond_without doh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user