summaryrefslogtreecommitdiffstats
path: root/etc/namedb/named.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/namedb/named.conf')
-rw-r--r--etc/namedb/named.conf28
1 files changed, 17 insertions, 11 deletions
diff --git a/etc/namedb/named.conf b/etc/namedb/named.conf
index 94b6f3c..e6eff00 100644
--- a/etc/namedb/named.conf
+++ b/etc/namedb/named.conf
@@ -93,21 +93,18 @@ 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.INT" {
// NB: Don't blindly enable the examples below. :-) Use actual names
// and addresses instead.
-/*
-zone "example.com" {
- type slave;
- file "slave/example.com";
- masters {
- 192.168.1.1;
- };
+/* An example master zone
+zone "example.net" {
+ type master;
+ file "master/example.net";
};
+*/
-// An example dynamic zone
+/* An example dynamic zone
key "exampleorgkey" {
algorithm hmac-md5;
secret "sf87HJqjkqh8ac87a02lla==";
};
-
zone "example.org" {
type master;
allow-update {
@@ -115,10 +112,19 @@ zone "example.org" {
};
file "dynamic/example.org";
};
+*/
-zone "0.168.192.in-addr.arpa" {
+/* Examples of forward and reverse slave zones
+zone "example.com" {
+ type slave;
+ file "slave/example.com";
+ masters {
+ 192.168.1.1;
+ };
+};
+zone "1.168.192.in-addr.arpa" {
type slave;
- file "slave/0.168.192.in-addr.arpa";
+ file "slave/1.168.192.in-addr.arpa";
masters {
192.168.1.1;
};
OpenPOWER on IntegriCloud