Revision 15676,
1.5 KB
checked in by jweiss, 24 years ago
(diff) |
don't notify for any zones, since the only zones we're master for
are localhost relatd ones and those are only for our own benefit
|
Line | |
---|
1 | // $Id: named.conf,v 1.8 2001-02-24 03:01:44 jweiss Exp $ |
---|
2 | |
---|
3 | // Athena named configuration file |
---|
4 | |
---|
5 | // If you need to make local records, this is how: |
---|
6 | // |
---|
7 | // * Add a zone entry to the end of this file: |
---|
8 | // |
---|
9 | // zone "foo.bar.baz" { |
---|
10 | // type master; |
---|
11 | // file "named.foo"; |
---|
12 | // }; |
---|
13 | // |
---|
14 | // where foo.bar.baz is the local record you want to override |
---|
15 | // and named.foo is a filename. For example: |
---|
16 | // |
---|
17 | // zone "zephyr.sloc.ns.athena.mit.edu" { |
---|
18 | // type master; |
---|
19 | // file "named.zephyr"; |
---|
20 | // }; |
---|
21 | // |
---|
22 | // * In /etc/named.foo, put: |
---|
23 | // |
---|
24 | // @ IN SOA yourhostname.mit.edu. yourusername.mit.edu. ( |
---|
25 | // 1 ; Serial |
---|
26 | // 3600 ; Refresh 1 hour |
---|
27 | // 300 ; Retry 5 minutes |
---|
28 | // 2419200 ; Expire 28 days |
---|
29 | // 3600000 ; Minimum 1000 hours |
---|
30 | // ) |
---|
31 | // NS yourhostname.mit.edu. |
---|
32 | // |
---|
33 | // substituting your hostname for "yourhostname" and your |
---|
34 | // username for "yourusername". Make sure there is no |
---|
35 | // whitespace before the '@'. After the SOA record, put the |
---|
36 | // local record(s) themselves, without specifying the name, |
---|
37 | // e.g.: |
---|
38 | // |
---|
39 | // TXT "erato.mit.edu" |
---|
40 | // TXT "arilinn.mit.edu" |
---|
41 | // |
---|
42 | // * Run "ndc reload". |
---|
43 | |
---|
44 | options { |
---|
45 | directory "/etc"; |
---|
46 | pid-file "/var/athena/named.pid"; |
---|
47 | dump-file "/var/athena/named_dump.db"; |
---|
48 | files 255; |
---|
49 | listen-on { 127.0.0.1; }; |
---|
50 | notify no; |
---|
51 | }; |
---|
52 | |
---|
53 | zone "." { |
---|
54 | type hint; |
---|
55 | file "named.root"; |
---|
56 | }; |
---|
57 | |
---|
58 | zone "mit.edu" { |
---|
59 | type stub; |
---|
60 | masters { |
---|
61 | 18.72.0.3; |
---|
62 | 18.70.0.160; |
---|
63 | 18.71.0.151; |
---|
64 | }; |
---|
65 | file "/var/athena/named.mit"; |
---|
66 | }; |
---|
67 | |
---|
68 | zone "localhost" { |
---|
69 | type master; |
---|
70 | file "named.localhost"; |
---|
71 | }; |
---|
72 | |
---|
73 | zone "1.0.0.127.in-addr.arpa" { |
---|
74 | type master; |
---|
75 | file "named.localhost.rev"; |
---|
76 | }; |
---|
77 | |
---|
Note: See
TracBrowser
for help on using the repository browser.