summaryrefslogtreecommitdiffstats
path: root/dns_wizard/scripts/named.conf.default
diff options
context:
space:
mode:
Diffstat (limited to 'dns_wizard/scripts/named.conf.default')
-rw-r--r--dns_wizard/scripts/named.conf.default54
1 files changed, 54 insertions, 0 deletions
diff --git a/dns_wizard/scripts/named.conf.default b/dns_wizard/scripts/named.conf.default
new file mode 100644
index 00000000..4c2dd2c5
--- /dev/null
+++ b/dns_wizard/scripts/named.conf.default
@@ -0,0 +1,54 @@
+options {
+ // DNS tables are located in the /var/named directory
+ directory "/var/named";
+ pid-file "/var/run/named/named.pid";
+
+ // Forward any unresolved requests to our ISP's name server
+ forwarders {
+ __ISPNS1__;
+ __ISPNS2__;
+ };
+ /*
+ * If there is a firewall between you and nameservers you want
+ * to talk to, you might need to uncomment the query-source
+ * directive below. Previous versions of BIND always asked
+ * questions using port 53, but BIND 8.1 uses an unprivileged
+ * port by default.
+ */
+ // query-source address * port 53;
+ };
+
+
+ zone "." {
+ type hint;
+ file "root.hints";
+ };
+ // All our DNS information is stored in /var/named/domain.name.db
+
+ zone "__dname__" {
+ type master;
+ file "__dname__.db";
+ // some security
+ allow-transfer { 127.0.0.1; };
+ };
+
+
+
+ zone "0.0.127.in-addr.arpa" {
+ notify no;
+ type master;
+ file "127.0.0.rev";
+ allow-transfer { 127.0.0.1; };
+ };
+
+
+ zone "__revnet__.in-addr.arpa" {
+ notify no;
+ type master;
+ file "__net__.rev";
+ allow-transfer { 127.0.0.1; };
+ };
+
+
+
+