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.
ffmyk-ansible/roles/install_bind/templates/named.conf.j2

115 lines
2.1 KiB
Plaintext

// vim:set ts=4 sw=4 et:
options {
directory "/var/named";
pid-file "/run/named/named.pid";
6 years ago
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
8 years ago
listen-on-v6 {
2a03:2260:1016::53;
8 years ago
{% for site in sites %}
{{ site.bat_ipv6 }};
{% endfor %}
};
listen-on port 53 {
127.0.0.1;
{% for site in sites %}
{{ site.bat_ipv4 }};
{% endfor %}
};
3 years ago
allow-recursion { 127.0.0.1; 10.222.0.0/16; 2001:470:cd45:ff00::/56; 2a03:2260:1016::/48; fe80::/64; };
allow-transfer { none; };
version none;
hostname none;
server-id none;
2 years ago
//dns64 64:ff9b::/96 {
// clients { any; };
//};
3 years ago
max-cache-size 1024M;
};
statistics-channels {
inet 127.0.0.1 port 8053 allow { 127.0.0.1; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
type master;
file "localhost.ip6.zone";
};
zone "255.in-addr.arpa" IN {
type master;
file "empty.zone";
};
zone "0.in-addr.arpa" IN {
type master;
file "empty.zone";
};
7 years ago
zone "ffaw" IN {
type slave;
file "bak/ffaw.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};
zone "ffcoc" IN {
type slave;
file "bak/ffcoc.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};
zone "ffems" IN {
type slave;
file "bak/ffems.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};
zone "ffko" IN {
type slave;
file "bak/ffko.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};
zone "ffmy" IN {
type slave;
file "bak/ffmy.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};
zone "ffmyk" IN {
type slave;
file "bak/ffmyk.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};
zone "ffsim" IN {
type slave;
file "bak/ffsim.zone";
allow-query { any; };
2 years ago
masters { 2a01:4f8:a0:6396:1::17; };
7 years ago
};