summaryrefslogtreecommitdiff
path: root/roles/install_bind/templates/named.conf.j2
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-03 09:46:42 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-03 09:46:42 +0200
commitd82f8524972086862f64750f325ba067ea993d86 (patch)
treeaa7634db168da40d108e43c7c30fbce299bdc7ab /roles/install_bind/templates/named.conf.j2
parent90a8a597eaa3a008eac946460b5c621eafa8ec62 (diff)
fastd working
Diffstat (limited to 'roles/install_bind/templates/named.conf.j2')
-rw-r--r--roles/install_bind/templates/named.conf.j245
1 files changed, 18 insertions, 27 deletions
diff --git a/roles/install_bind/templates/named.conf.j2 b/roles/install_bind/templates/named.conf.j2
index ac2f9bd..9966332 100644
--- a/roles/install_bind/templates/named.conf.j2
+++ b/roles/install_bind/templates/named.conf.j2
@@ -10,18 +10,22 @@ options {
auth-nxdomain no; # conform to RFC1035
- listen-on-v6 { {{ bat0_ipv6 }}; };
- listen-on port 53 { 127.0.0.1; {{ bat0_ipv4 }}; };
-
- allow-recursion { 127.0.0.1; 10.222.0.0/16; 2a01:198:70a:ff::/64; };
+ listen-on-v6 {
+{% for site in sites %}
+ {{ site.bat_ipv6 }};
+{% endfor %}
+ };
+ listen-on port 53 {
+ 127.0.0.1;
+{% for site in sites %}
+ {{ site.bat_ipv4 }};
+{% endfor %}
+ };
+
+ allow-recursion { 127.0.0.1; 10.222.0.0/16; 2001:470:cd45:ff00::/56; };
allow-transfer { none; };
allow-update { none; };
- //forwarders {
- // 85.214.20.141;
- // 213.73.91.35;
- //};
-
version none;
hostname none;
server-id none;
@@ -57,22 +61,9 @@ zone "." IN {
file "root.hint";
};
-zone "ffmyk" IN {
- type slave;
- file "bak/ffmyk.zone";
- allow-query { any; };
- masters { 10.222.100.1; };
-};
-
-//logging {
-// channel xfer-log {
-// file "/var/log/named.log";
-// print-category yes;
-// print-severity yes;
-// severity info;
-// };
-// category xfer-in { xfer-log; };
-// category xfer-out { xfer-log; };
-// category notify { xfer-log; };
+//zone "ffmyk" IN {
+// type slave;
+// file "bak/ffmyk.zone";
+// allow-query { any; };
+// masters { 10.222.100.1; };
//};
-