mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
4a3d751ad2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
84 lines
2.5 KiB
Text
84 lines
2.5 KiB
Text
<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
|