summaryrefslogtreecommitdiff
path: root/bind
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2003-03-22 17:01:43 +0000
committerJonas Smedegaard <dr@jones.dk>2003-03-22 17:01:43 +0000
commit91641edda58085ac300374562f16e74f8620ff1b (patch)
tree88d49122b4fad3db418c935f1db030fc71a4669c /bind
parent20d87904590ed21c1708a7ba4eb8b178a7001551 (diff)
Setup jawa.homebase.dk using bind9 views to differentiate resources presented internally and to the Internet.
Diffstat (limited to 'bind')
-rw-r--r--bind/named_BASE.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/bind/named_BASE.conf b/bind/named_BASE.conf
new file mode 100644
index 0000000..372acc3
--- /dev/null
+++ b/bind/named_BASE.conf
@@ -0,0 +1,34 @@
+// This file is a replication of the zones defined by default in Debian bind9
+// named.conf.
+//
+// It is used for inclusion in each view of multiviews bind9 configurations, as
+// all zones needs to bedifined within views if nay are.
+
+// prime the server with knowledge of the root servers
+zone "." {
+ type hint;
+ file "/etc/bind/db.root";
+};
+
+// be authoritative for the localhost forward and reverse zones, and for
+// broadcast zones as per RFC 1912
+
+zone "localhost" {
+ type master;
+ file "/etc/bind/db.local";
+};
+
+zone "127.in-addr.arpa" {
+ type master;
+ file "/etc/bind/db.127";
+};
+
+zone "0.in-addr.arpa" {
+ type master;
+ file "/etc/bind/db.0";
+};
+
+zone "255.in-addr.arpa" {
+ type master;
+ file "/etc/bind/db.255";
+};