Clone shirenn's configuration
This commit is contained in:
16
roles/bind/templates/named.conf.local.j2
Normal file
16
roles/bind/templates/named.conf.local.j2
Normal file
@ -0,0 +1,16 @@
|
||||
//
|
||||
// Do any local configuration here
|
||||
//
|
||||
|
||||
// Consider adding the 1918 zones here, if they are not used in your
|
||||
// organization
|
||||
//include "/etc/bind/zones.rfc1918";
|
||||
|
||||
{% for domain in bind.domains %}
|
||||
zone "{{ domain.name }}" {
|
||||
type master;
|
||||
file "/var/lib/bind/{{ domain.name }}/db";
|
||||
notify yes;
|
||||
allow-transfer { {{ domain.slave }}; };
|
||||
};
|
||||
{% endfor %}
|
Reference in New Issue
Block a user