ansible-role-bind/templates/named.conf.options.j2

16 lines
442 B
Text
Raw Permalink Normal View History

2017-10-08 12:55:01 +00:00
# {{ ansible_managed }}
options {
2018-03-17 17:26:08 +00:00
directory "/var/cache/bind";
2017-10-08 12:55:01 +00:00
2018-03-17 17:26:08 +00:00
auth-nxdomain no; # conform to RFC1035
listen-on { {% if bind_listen_ipv4 %}any{% else %}none{% endif %}; };
listen-on-v6 { {% if bind_listen_ipv6 %}any{% else %}none{% endif %}; };
2017-10-08 12:55:01 +00:00
2020-02-12 21:01:02 +00:00
{% for option, value in bind_options.items() %}
2018-03-21 19:30:11 +00:00
{{ option }} {% if value == True %}yes{% elif value == False %}no{% else %}{{ value }}{% endif %};
{% endfor %}
2018-03-17 17:26:08 +00:00
version none;
2017-10-08 12:55:01 +00:00
};