summaryrefslogtreecommitdiff
path: root/network/yadifa/yadifad.conf
diff options
context:
space:
mode:
Diffstat (limited to 'network/yadifa/yadifad.conf')
-rw-r--r--network/yadifa/yadifad.conf84
1 files changed, 84 insertions, 0 deletions
diff --git a/network/yadifa/yadifad.conf b/network/yadifa/yadifad.conf
new file mode 100644
index 0000000000..c3ac19305e
--- /dev/null
+++ b/network/yadifa/yadifad.conf
@@ -0,0 +1,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