summaryrefslogtreecommitdiffstats
path: root/dns_wizard/scripts/named.conf.default
blob: 4c2dd2c5b4510598e2839766abfeffa1ebe24525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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; };
     };