forked from dmachard/dnsdist-config-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogging_dnstap.yml
More file actions
65 lines (54 loc) · 1.06 KB
/
logging_dnstap.yml
File metadata and controls
65 lines (54 loc) · 1.06 KB
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
56
57
58
59
60
61
62
63
64
acl:
- 0.0.0.0/0
binds:
- listen_address: "0.0.0.0:53"
reuseport: true
protocol: Do53
threads: 2
packet_caches:
- name: cache
size: 100
pools:
- name: default
packet_cache: cache
backends:
- address: "1.1.1.1:53"
protocol: Do53
pools:
- default
remote_logging:
dnstap_loggers:
- name: remote_logging
transport: tcp
address: "192.168.1.16:6000"
connection_count: 2
query_rules:
- name: "log all queries"
selector:
type: All
action:
type: DnstapLog
identity: dnsdist_v2
logger_name: remote_logging
- name: "default rule"
selector:
type: All
action:
type: Pool
pool_name: default
response_rules:
- name: log all responses
selector:
type: All
action:
type: DnstapLog
identity: dnsdist_v2
logger_name: remote_logging
cache_hit_response_rules:
- name: log all responses from cache
selector:
type: All
action:
type: DnstapLog
identity: dnsdist_v2_cache
logger_name: remote_logging