fix: remove tab and fix indent
This commit is contained in:
parent
200ce8b6b3
commit
3532526a07
3 changed files with 20 additions and 20 deletions
|
@ -5,12 +5,12 @@ include "/etc/bind/named.conf.default-zones";
|
|||
include "/etc/bind/named.conf.local";
|
||||
|
||||
logging {
|
||||
channel security_file {
|
||||
file "/var/log/named/security.log" versions 3 size 30m;
|
||||
severity dynamic;
|
||||
print-time yes;
|
||||
};
|
||||
category security {
|
||||
security_file;
|
||||
};
|
||||
channel security_file {
|
||||
file "/var/log/named/security.log" versions 3 size 30m;
|
||||
severity dynamic;
|
||||
print-time yes;
|
||||
};
|
||||
category security {
|
||||
security_file;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
{% for zone, value in bind_zones.iteritems() %}
|
||||
|
||||
zone "{{ zone }}" IN {
|
||||
type master;
|
||||
type master;
|
||||
{% if 'dnssec' in value and value.dnssec %}
|
||||
file "/etc/bind/zones/db.{{ zone }}.signed";
|
||||
file "/etc/bind/zones/db.{{ zone }}.signed";
|
||||
{% else %}
|
||||
file "/etc/bind/zones/db.{{ zone }}";
|
||||
file "/etc/bind/zones/db.{{ zone }}";
|
||||
{% endif %}
|
||||
{% if 'allow_transfer' in value and value.dnssec %}
|
||||
allow-transfer {
|
||||
allow-transfer {
|
||||
{% for ip in value.allow_transfer %}
|
||||
{{ ip }};
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
options {
|
||||
directory "/var/cache/bind";
|
||||
directory "/var/cache/bind";
|
||||
|
||||
dnssec-enable yes;
|
||||
dnssec-validation yes;
|
||||
dnssec-lookaside auto;
|
||||
dnssec-enable yes;
|
||||
dnssec-validation yes;
|
||||
dnssec-lookaside auto;
|
||||
|
||||
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 %}; };
|
||||
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 %}; };
|
||||
|
||||
version none;
|
||||
version none;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue