From 7c193e178d5b59d41b0f263e6abcfa5766ff357c Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 15 Aug 2020 16:57:24 +0200 Subject: [PATCH] Add resolver vars and update authority_server vars --- .../host.authoritydnsserver.example.org.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 inventory_template/host_vars/host.authoritydnsserver.example.org.yml diff --git a/inventory_template/host_vars/host.authoritydnsserver.example.org.yml b/inventory_template/host_vars/host.authoritydnsserver.example.org.yml new file mode 100644 index 0000000..b14e69c --- /dev/null +++ b/inventory_template/host_vars/host.authoritydnsserver.example.org.yml @@ -0,0 +1,31 @@ +--- + +knot_interfaces: + - '0.0.0.0@53' + - '::@53' + +knot_keys: + - { id: 'rndc-key', algorithm: 'hmac-md5', secret: '{{ vault_rndc_key_secret }}' } + +knot_extras: | + remote: + - id: slave01 + address: 1.2.3.4 + key: rndc-key + + acl: + - id: acl_slave + address: [1.2.3.4] + action: transfer + key: rndc-key + + template: + - id: default + storage: "/var/lib/knot" + file: "%s.zone" + acl: acl_slave + notify: [slave01] + +knot_zones: + - { name: 'mydomain.org', file: 'mydomain.org.zone', notify: '[slave01]', acl: 'acl_slave' } +