home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / n / bind / bind-4.001 / bind-4~ / bind-4.9.3-BETA9 / master / README < prev    next >
Text File  |  1993-05-02  |  1KB  |  46 lines

  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.
  9.  
  10.     This is the entry for calder.
  11.  
  12. CALDER        IN    A    128.32.130.1
  13.         IN    A    128.32.129.3
  14.         IN    HINFO    VAX-11/750 UNIX
  15. UCBCALDER    IN    CNAME    CALDER
  16.  
  17.  For the machine you are adding:
  18.     1) replace 'CALDER' with the new machine name
  19.     2) replace '128.32.130.1' with the new machines address
  20.         if there is more then one address for the machine
  21.         then add lines like the one with '128.32.129.3'
  22.     3) replace 'VAX-11/750' with the machine type
  23.     4) If it doesn't run 'UNIX' then replace UNIX with its
  24.        operating system.
  25.  
  26. 2) Edit 'named.rev' file:
  27.  
  28.     For each address of a machine you need to enter the reverse
  29.     address notation for the machine:
  30.  
  31.     For calder the lines look as follows:
  32.  
  33. 12.0    IN    PTR    CALDER.BERKELEY.EDU.
  34. 3.129    IN    PTR    CALDER.BERKELEY.EDU.
  35.  
  36.     Calder has two address '128.32.0.12' and '128.32.129.3'
  37.  
  38.     You take the two numbers after 128.32 and reverse them.
  39.     Then replace CALDER with the new machine name.
  40.  
  41.     *** Note the trailing "." on "EDU." it needs to be there.  Otherwise
  42.     BIND will add the current $ORIGIN to this name, which won't work.
  43.     ***
  44.  
  45. 3) Increment the serial number on both files.  
  46.