forked from ISTI-ansible-roles/ansible-roles
powerdns: Fix the also_notify template variable.
This commit is contained in:
parent
8cd9dc556f
commit
9687e342c8
|
@ -30,6 +30,7 @@ powerdns_auth_backend_data:
|
||||||
- { key: 'gpgsql-dnssec', value: '' }
|
- { key: 'gpgsql-dnssec', value: '' }
|
||||||
- { key: 'gpgsql-extra-connection-parameters', value: '' }
|
- { key: 'gpgsql-extra-connection-parameters', value: '' }
|
||||||
|
|
||||||
|
# pdns_eight_bit_query: 'no'
|
||||||
# pdns_zone_transfer_ip:
|
# pdns_zone_transfer_ip:
|
||||||
# - '0/0'
|
# - '0/0'
|
||||||
# pdns_allow_dnsupdate_from:
|
# pdns_allow_dnsupdate_from:
|
||||||
|
@ -38,8 +39,9 @@ powerdns_auth_backend_data:
|
||||||
# - '0/0'
|
# - '0/0'
|
||||||
# pdns_allow_unsigned_notify: 'yes'
|
# pdns_allow_unsigned_notify: 'yes'
|
||||||
# pdns_allow_unsigned_supermaster: 'yes'
|
# pdns_allow_unsigned_supermaster: 'yes'
|
||||||
# pdns_also_notify_from:
|
# also_notify wants IP addresses and not CIDR
|
||||||
# - '0/0'
|
# pdns_also_notify:
|
||||||
|
# - 'x.y.z.x.t'
|
||||||
# powerdns_auth_enable_api: 'no'
|
# powerdns_auth_enable_api: 'no'
|
||||||
# powerdns_auth_api_key: 'use a vault file'
|
# powerdns_auth_api_key: 'use a vault file'
|
||||||
# powerdns_auth_api_readonly: 'no'
|
# powerdns_auth_api_readonly: 'no'
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
#################################
|
#################################
|
||||||
# 8bit-dns Allow 8bit dns queries
|
# 8bit-dns Allow 8bit dns queries
|
||||||
#
|
#
|
||||||
# 8bit-dns=no
|
{% if pdns_eight_bit_query is defined %}
|
||||||
|
8bit-dns={{ pdns_eight_bit_query }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# allow-axfr-ips Allow zonetransfers only to these subnets
|
# allow-axfr-ips Allow zonetransfers only to these subnets
|
||||||
|
@ -49,8 +51,8 @@ allow-unsigned-supermaster={{ pdns_allow_unsigned_supermaster | default('yes') }
|
||||||
# also-notify When notifying a domain, also notify these nameservers
|
# also-notify When notifying a domain, also notify these nameservers
|
||||||
#
|
#
|
||||||
# also-notify=
|
# also-notify=
|
||||||
{% if pdns_also_notify_from is defined %}
|
{% if pdns_also_notify is defined %}
|
||||||
also-notify={%for ip in pdns_also_notify_from %}{{ ip }}{%if not loop.last %},{% endif %}{% endfor %}
|
also-notify={%for ip in pdns_also_notify %}{{ ip }}{%if not loop.last %},{% endif %}{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
Loading…
Reference in New Issue