-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
config.yml
55 lines (53 loc) · 1.62 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
################################################
# global configuration
# more details: https://github.com/dmachard/go-dnscollector/blob/main/docs/configuration.md#global
################################################
global:
trace:
verbose: true
log-malformed: true
filename: ""
max-size: 10
max-backups: 10
server-identity: "dns-collector"
pid-file: ""
text-format: "timestamp-rfc3339ns identity operation rcode queryip queryport family protocol length-unit qname qtype latency"
text-format-delimiter: " "
text-format-boundary: "\""
text-jinja: ""
worker:
interval-monitor: 10
buffer-size: 8192
telemetry:
enabled: false
web-path: "/metrics"
web-listen: ":9165"
prometheus-prefix: "dnscollector_exporter"
tls-support: false
tls-cert-file: ""
tls-key-file: ""
client-ca-file: ""
basic-auth-enable: false
basic-auth-login: admin
basic-auth-pwd: changeme
################################################
# Pipelining configuration
# more details: https://github.com/dmachard/go-dnscollector/blob/main/docs/running_mode.md#pipelining
# workers: https://github.com/dmachard/go-dnscollector/blob/main/docs/workers.md
# transformers: https://github.com/dmachard/go-dnscollector/blob/main/docs/transformers.md
################################################
pipelines:
- name: tap
dnstap:
listen-ip: 0.0.0.0
listen-port: 6000
transforms:
normalize:
qname-lowercase: true
qname-replace-nonprintable: true
routing-policy:
forward: [ console ]
dropped: [ ]
- name: console
stdout:
mode: text