aboutsummaryrefslogtreecommitdiffstats
path: root/examples/dns/master/named.conf.default-zones
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dns/master/named.conf.default-zones')
-rw-r--r--examples/dns/master/named.conf.default-zones30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/dns/master/named.conf.default-zones b/examples/dns/master/named.conf.default-zones
new file mode 100644
index 0000000..355338b
--- /dev/null
+++ b/examples/dns/master/named.conf.default-zones
@@ -0,0 +1,30 @@
+// 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";
+};
+
+