|
|
1.1 root 1:
2: How to add new hosts to the name server data base:
3:
4: 1) Edit 'named.hosts' file:
5:
6: For each machine you need to enter the following information:
7: machine name, all its network addresses, host information, and common
8: aliases for it. The WKS records list well-known-services; they are
9: optional.
10:
11: This is the entry for calder.
12:
13: CALDER IN A 128.32.130.1
14: IN A 128.32.129.3
15: IN WKS 128.32.0.12 TCP TELNET FTP SMTP ECHO DOMAIN FINGER
16: IN WKS 128.32.0.12 UDP ECHO TIME TFTP
17: IN HINFO VAX-11/750 UNIX
18: UCBCALDER IN CNAME CALDER
19:
20: For the machine you are adding:
21: 1) replace 'CALDER' with the new machine name
22: 2) replace '128.32.130.1' with the new machines address
23: if there is more then one address for the machine
24: then add lines like the one with '128.32.129.3'
25: 3) replace 'VAX-11/750' with the machine type
26: 4) If it doesn't run 'UNIX' then replace UNIX with its operating system.
27:
28: 2) Edit 'named.rev' file:
29:
30: For each address of a machine you need to enter the reverse
31: address notation for the machine:
32:
33: For calder the lines look as follows:
34:
35: 12.0 IN PTR CALDER.BERKELEY.EDU.
36: 3.129 IN PTR CALDER.BERKELEY.EDU.
37:
38: Calder has two address '128.32.0.12' and '128.32.129.3'
39:
40: You take the two numbers after 128.32 and reverse them.
41: Then replace CALDER with the new machine name.
42:
43: *** Note the "." on "EDU." it needs to be there. ***
44:
45: 3) Increment the serial number on both files. If you use sccs or rcs,
46: arrange for this to happen automatically when changes are checked in.
47:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.