source: trunk/packs/config/named.boot @ 10163

Revision 10163, 1.2 KB checked in by ghudson, 27 years ago (diff)
Change the documentation about local records: tom requested that I not use bitsy.mit.edu in the documentation for local SOAs, so direct users to use their hostnames instead. Direct users to include an NS record along with the SOA, since named wants one. Reformat the example lines a bit, to make it more clear that there shouldn't be leading whitespace and to make "yourhostname" fit.
  • Property svn:executable set to *
Line 
1; $Header: /afs/dev.mit.edu/source/repository/packs/config/named.boot,v 1.6 1997-06-11 21:05:40 ghudson Exp $
2
3directory /etc
4
5; As of release 8.1, the named.local hack will not work on Suns (it
6; still works on SGIs).  So here's the "correct" way to make local
7; records:
8;
9;       * Add a line to this file reading:
10;
11;         primary       foo.bar.baz     named.something
12;
13;         where foo.bar.baz is the local record you want to make and
14;         named.something is a filename.  For example:
15;
16;         primary       zephyr.sloc.ns.athena.mit.edu   named.zephyr
17;
18;       * In /etc/named.something, put:
19;
20;         @     IN      SOA     yourhostname.mit.edu. yourusername.mit.edu. (
21;                                       1       ; Serial
22;                                       3600    ; Refresh 1 hour
23;                                       300     ; Retry 5 minutes
24;                                       2419200 ; Expire 28 days
25;                                       3600000 ; Minimum 1000 hours
26;                                       )
27;                       NS      yourhostname.mit.edu.
28;
29;         substituting your hostname for "yourhostname" and your
30;         username for "yourusername".  Make sure there is no
31;         whitespace before the '@'.  After the SOA record, put the
32;         local record(s) themselves, without specifying the name,
33;         e.g.:
34;
35;                       TXT     "erato.mit.edu"
36;                       TXT     "arilinn.mit.edu"
37;
38;       * Restart named.
39
40; Type          Domain                  Source host/file        Backup file
41cache           .                       named.root
42primary         localhost               named.localhost
43primary         1.0.0.127.in-addr.arpa  named.localhost.rev
Note: See TracBrowser for help on using the repository browser.