From 24825b4b4b41adcaa3a7835e862c40befeb19a65 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sat, 15 Aug 2020 14:17:33 +0200 Subject: [PATCH] Add template vars for Knot Auth --- .../group_vars/authority_dns_server.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 inventory_template/group_vars/authority_dns_server.yml diff --git a/inventory_template/group_vars/authority_dns_server.yml b/inventory_template/group_vars/authority_dns_server.yml new file mode 100644 index 0000000..916a19c --- /dev/null +++ b/inventory_template/group_vars/authority_dns_server.yml @@ -0,0 +1,31 @@ +--- + +knot_interfaces: + - '0.0.0.0@53' + - '::@53' + +knot_keys: + - { id: 'slavekey01', algorithm: 'hmac-md5', secret: 'YourRandomKey==' } + +knot_extras: | + remote: + - id: slave01 + address: 1.2.3.4 + key: slavekey01 + + acl: + - id: acl_slave + address: [1.2.3.4] + action: transfer + key: slavekey01 + + 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' } +