summaryrefslogtreecommitdiff
path: root/templates/openbsd_nsd.conf
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2025-12-16 23:02:49 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2025-12-16 23:02:49 -0500
commita468044c0337d1a2ac0dab2ce3efc4ad766f81a3 (patch)
treeca7d1523a6b43e14dc4fb6d2cd15966774faa237 /templates/openbsd_nsd.conf
parent256ed8e7653b1963e1cc2b6d30aa636e9766d07b (diff)
downloadnsd-a468044c0337d1a2ac0dab2ce3efc4ad766f81a3.tar.gz
nsd-a468044c0337d1a2ac0dab2ce3efc4ad766f81a3.tar.xz
Rework the NSD role to support more operating systems with minimal effort and duplication
Diffstat (limited to 'templates/openbsd_nsd.conf')
-rw-r--r--templates/openbsd_nsd.conf70
1 files changed, 0 insertions, 70 deletions
diff --git a/templates/openbsd_nsd.conf b/templates/openbsd_nsd.conf
deleted file mode 100644
index 70e3541..0000000
--- a/templates/openbsd_nsd.conf
+++ /dev/null
@@ -1,70 +0,0 @@
-# Manged by Ansible
-
-server:
- hide-version: yes
- verbosity: 1
- database: "" # disable database
-
-## bind to a specific address/port
-# ip-address: 192.0.2.53
-# ip-address: 192.0.2.53@5678
-# ip-address: 2001:db8::53
-
-## make packets as small as possible, on by default
-# minimal-responses: yes
-
-## respond with truncation for ANY queries over UDP and allow ANY over TCP,
-## on by default
-# refuse-any: yes
-
-remote-control:
- control-enable: yes
- control-interface: /var/run/nsd.sock
-
-## tsig key example
-#key:
-# name: "tsig1.example.com."
-# algorithm: hmac-sha256
-# secret: "bWVrbWl0YXNkaWdvYXQ="
-
-## master zone example
-#zone:
-# name: "example.com"
-# zonefile: "master/example.com"
-# notify: 192.0.2.1 NOKEY
-# provide-xfr: 192.0.2.1 NOKEY
-
-## slave zone example
-#zone:
-# name: "example.net"
-# zonefile: "slave/example.net"
-# allow-notify: 192.0.2.2 tsig1.example.com.
-# request-xfr: 192.0.2.2 tsig1.example.com.
-
-## dynamically configured zones, used with "nsd-control addzone/delzone".
-## filenames are constructed using the pattern: %s - zone name.
-## %1 - first character of zone name, %2 second, ## %3 third.
-## %z - topleveldomain label of zone, %y, %x next labels in name.
-#pattern:
-# name: "master"
-# zonefile: "master/%s.zone"
-# notify: 192.0.2.1 NOKEY
-# provide-xfr: 192.0.2.1 NOKEY
-
-
-{% if nsd_keys is defined %}
-{% for key in nsd_keys %}
-key:
- name: {{key.name}}
- algorithm: {{key.algorithm}}
- secret: "{{key.secret}}"
-{% endfor %}
-{% endif %}
-
-
-{% for zone in nsd_zones %}
-zone:
- name: {{zone}}
- zonefile: master/%s.zone
-
-{% endfor %}