You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
562 B
Plaintext
23 lines
562 B
Plaintext
zone "{{ domain }}" {
|
|
type master;
|
|
file "{{ database_file }}";
|
|
key-directory "{{ keys_directory }}";
|
|
// dnssec
|
|
inline-signing yes;
|
|
auto-dnssec maintain;
|
|
// notify & transfer
|
|
notify yes;
|
|
allow-transfer {
|
|
{% for fqdn in slaves %}
|
|
{{ hostvars[fqdn].ansible_default_ipv4.address }};
|
|
{{ hostvars[fqdn].ansible_default_ipv6.address }};
|
|
{% endfor %}
|
|
};
|
|
also-notify {
|
|
{% for fqdn in slaves %}
|
|
{{ hostvars[fqdn].ansible_default_ipv4.address }};
|
|
{{ hostvars[fqdn].ansible_default_ipv6.address }};
|
|
{% endfor %}
|
|
};
|
|
};
|