use separated named config files

This commit is contained in:
2024-07-22 17:15:37 +02:00
parent ffbaf250ee
commit e368d64197
2 changed files with 2 additions and 1 deletions

View File

@@ -32,7 +32,7 @@
state: present state: present
line: '\tstatistics-file "/var/cache/bind/stats";\n\tzone-statistics yes;' line: '\tstatistics-file "/var/cache/bind/stats";\n\tzone-statistics yes;'
insertafter: "options {" insertafter: "options {"
validate: "{{ named_checkconf }} %s" validate: "{{ named_checkconf }} {{ named_conf }}"
notify: restart_named notify: restart_named
- name: nameserver | snmpd | configure extend - name: nameserver | snmpd | configure extend

View File

@@ -10,6 +10,7 @@ powerdns_backends:
- package: pdns-backend-mysql - package: pdns-backend-mysql
# named / bind specific # named / bind specific
named_conf: /etc/bind/named.conf
named_conf_zones: /etc/bind/named.conf.default-zones named_conf_zones: /etc/bind/named.conf.default-zones
named_conf_options: /etc/bind/named.conf.options named_conf_options: /etc/bind/named.conf.options
named_conf_local: /etc/bind/named.conf.local named_conf_local: /etc/bind/named.conf.local