summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/nsd.conf4
-rw-r--r--templates/run.j24
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/nsd.conf b/templates/nsd.conf
index 9c24027..246e308 100644
--- a/templates/nsd.conf
+++ b/templates/nsd.conf
@@ -22,9 +22,5 @@ key:
zone:
name: {{zone}}
zonefile: /etc/nsd/%s.zone
-{% for slave in nsd_slaves %}
- notify: {{slave.ip}} {{slave.key}}
- provide-xfr: {{slave.ip}} {{slave.key}}
-{% endfor %}
{% endfor %}
diff --git a/templates/run.j2 b/templates/run.j2
new file mode 100644
index 0000000..7173f62
--- /dev/null
+++ b/templates/run.j2
@@ -0,0 +1,4 @@
+#!/bin/sh
+# install -d -m 0755 -o nsd -g nsd /run/nsd
+exec nsd -d 2>/dev/null
+