aboutsummaryrefslogtreecommitdiff
path: root/network/yadifa/yadifad.conf
blob: c3ac19305e156d2cafe72d2ac6522adf73e978d3 (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<main>
	allow-control             ctrl-server
	chroot                    off
	daemonize                 true
	keys-path                 /var/lib/yadifa/zones/keys
	data-path                 /var/lib/yadifa/zones
	log-path                  /var/log/yadifa
	pid-file                  /var/run/yadifa/yadifad.pid
	xfr-path                  /var/lib/yadifa/zones/xfr
	max-tcp-queries           100
	tcp-query-min-rate        6000
	answer-formerr-packets    yes
	serverid                  ns-loc-01
	user                      yadifa
	group                     yadifa
	statistics                no
	statistics-max-period     60
	version                   " "
	allow-query               any
	allow-update              any
	allow-transfer            any
	axfr-max-record-by-packet 0
	axfr-max-packet-size      32768
	axfr-compress-packets     true
</main>

<control>
	enabled true
</control>

<nsid>
	ascii "yadifad example NSID"
</nsid>

include /etc/yadifa/key.conf

<acl>
	master                  127.0.0.1
	ctrl-server             127.0.0.1
	yadifa-ctrl-server      key uberkey
	operations              192.0.2.128/28;2001:DB8::/32
	order-example-1         192.0.2.128/26 ; 192.0.2.5 ;
				! 192.0.2.133 ; ! 192.0.2.0/26
	order-example-2         192.0.2.5 ; !192.0.2.133 ;
				192.0.2.128/26 ; !192.0.2.0/26
	order-example-3         !192.0.2.133 ; 192.0.2.5 ;
				!192.0.2.0/26 ; 192.0.2.128/26
</acl>

<rrl>
	responses-per-second        5
	errors-per-second           5
	slip                        10
	log-only                    off
	ipv4-prefix-length          24
	ipv6-prefix-length          56
	enabled                     no
</rrl>

<channels>
	yadifa                  yadifa.log 0644
	zone                    zone.log 0644
#	queries                 query.log 0644
#	debug                   debug.log 0644
#	statistics              stats.log 0644
</channels>

<loggers>
	database        info,warning,err,crit,alert,emerg    yadifa
	server          info,warning,err,crit,alert,emerg    yadifa
	system          info,warning,err,crit,alert,emerg    yadifa
	zone            info,warning,err,crit,alert,emerg    zone
#	stats           *                       statistics
#	queries         *                       queries

#	database        *                       debug
#	server          *                       debug
#	system          *                       debug
#	zone            *                       debug
#	stats           *                       debug
#	queries         *                       debug
</loggers>

include /etc/yadifa/zones.conf