summary refs log tree commit diff
path: root/named.conf.default-zones
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2019-08-18 16:44:35 +0000
committerBen Harris <ben@tilde.team>2019-08-18 16:44:35 +0000
commitd55bd3fc79d319af1c05680cab1bcf79f52bf5cf (patch)
tree968bd1a8793f3b6dbab1b55c1b0ba0def4308294 /named.conf.default-zones
init
Diffstat (limited to 'named.conf.default-zones')
-rw-r--r--named.conf.default-zones30
1 files changed, 30 insertions, 0 deletions
diff --git a/named.conf.default-zones b/named.conf.default-zones
new file mode 100644
index 0000000..1a85ad3
--- /dev/null
+++ b/named.conf.default-zones
@@ -0,0 +1,30 @@
+// prime the server with knowledge of the root servers
+zone "." {
+	type hint;
+	file "/usr/share/dns/root.hints";
+};
+
+// 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";
+};
+
+