aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bind/templates/named_base.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bind/templates/named_base.conf')
-rw-r--r--modules/bind/templates/named_base.conf39
1 files changed, 0 insertions, 39 deletions
diff --git a/modules/bind/templates/named_base.conf b/modules/bind/templates/named_base.conf
index 941cf196..5adba9f3 100644
--- a/modules/bind/templates/named_base.conf
+++ b/modules/bind/templates/named_base.conf
@@ -32,9 +32,6 @@ options {
version "";
directory "/var/named";
dump-file "/var/tmp/named_dump.db";
-<% if scope.function_versioncmp([lsbdistrelease, '3']) < 0 -%>
- pid-file "/var/run/named.pid";
-<% end -%>
statistics-file "/var/tmp/named.stats";
zone-statistics yes;
// datasize 256M;
@@ -103,67 +100,31 @@ zone "." IN {
zone "localdomain" IN {
type master;
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
file "named.localhost";
-<% else -%>
- file "master/localdomain.zone";
-<% end -%>
allow-update { none; };
};
zone "localhost" IN {
type master;
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
file "named.localhost";
-<% else -%>
- file "master/localhost.zone";
-<% end -%>
allow-update { none; };
};
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
zone "1.0.0.127.in-addr.arpa" IN {
-<% else -%>
-zone "0.0.127.in-addr.arpa" IN {
-<% end -%>
type master;
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
file "named.loopback";
-<% else -%>
- file "reverse/named.local";
-<% end -%>
allow-update { none; };
};
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
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" IN {
-<% else -%>
-zone "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" IN {
-<% end -%>
type master;
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
file "named.loopback";
-<% else -%>
- file "reverse/named.ip6.local";
-<% end -%>
allow-update { none; };
};
-<% if scope.function_versioncmp([lsbdistrelease, '3']) < 0 -%>
-zone "255.in-addr.arpa" IN {
- type master;
- file "reverse/named.broadcast";
- allow-update { none; };
-};
-
-<% end -%>
zone "0.in-addr.arpa" IN {
type master;
-<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%>
file "named.empty";
-<% else -%>
- file "reverse/named.zero";
-<% end -%>
allow-update { none; };
};