home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aux / 4737 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.9 KB  |  86 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!spsgate!mogate!newsgate!gpb-mac!gpb
  3. From: gpb@gpb-mac (greg berryman )
  4. Subject: Re: setting up named under A/UX 3.0
  5. Message-ID: <1993Jan28.132939.25562@newsgate.sps.mot.com>
  6. Sender: usenet@newsgate.sps.mot.com
  7. Nntp-Posting-Host: 222.1.248.85
  8. Organization: SPS
  9. X-Newsreader: Tin 1.1 PL4
  10. References: <C1IK11.JLv@newcastle.ac.uk>
  11. Date: Thu, 28 Jan 1993 13:29:39 GMT
  12. Lines: 72
  13.  
  14. N.R.Ellis@newcastle.ac.uk (Nigel R. Ellis) writes:
  15. : Hi,
  16. : I've just recently had a stab at setting up the named server on a Quadra 700 running
  17. : A/UX.  Given the manual page entry, supposedly all I have to do is have an entry
  18. : in named.boot such as:
  19. : > directory       /etc
  20. : > domain          dur.ac.uk
  21. : > primary         dur.ac.uk       129.234.4.9 129.234.4.11 129.234.4.13
  22. : > cache           .               named.ca
  23. : and named.ca contains:
  24. : > deneb.dur.ac.uk         86400   IN      A       129.234.4.41
  25. : > dns2.dur.ac.uk          86400   IN      CNAME   hermes.dur.ac.uk
  26. : > dur.ac.uk               120     IN      MX      9 hermes.dur.ac.uk
  27. : > durham.ac.uk            120     IN      MX      9 hermes.dur.ac.uk
  28. : > ...
  29. : Ok?  So whay doesn't the blasted thing work?  When I setup my resolve.conf to
  30. : point to my machine:
  31. : > nameserver 129.234.202.104
  32. : > domain dur.ac.uk
  33. : Any pointers appreciated.
  34.  
  35. OK, here are my  files:
  36. ================== /etc/named.boot=================
  37. ;
  38. ;  @(#)named.boot.slave 1.13    (Berkeley)  87/07/21
  39. ;
  40. ;  boot file for secondary name server
  41. ; Note that there should be one primary entry for each SOA record.
  42. ;
  43. ;
  44. directory       /usr/local/domain
  45. ;
  46. ; type    domain                source host/file                backup file
  47. ;
  48. domain  sps.mot.com
  49. cache     .                     root.cache
  50. forwarders      192.55.22.4
  51. primary         gpb-mac.sps.mot.com     named.local
  52.  
  53. secondary       sps.mot.com     192.55.22.4     192.55.22.5     motnamserv.bak
  54. ====================================
  55.  
  56. =============== /etc/named.local====================
  57. @       IN      SOA     gpb-mac.sps.mot.com.    gpb@gpb-mac.sps.mot.com. (
  58.         2.1     3600    300     3600000 3600 )
  59.         IN      NS      motsps.sps.mot.com.
  60. 1       IN      PTR     localhost.
  61. localhost       IN      A       127.0.0.1
  62. ===================
  63.  
  64. Note that named.boot and named.local are the files you need to set up.  The
  65. cache file is written by the named with data from the primary nameserver.
  66.  
  67. Also note that while this works in my situation, I don't know enough about it
  68. to explain why it works.
  69.  
  70. Good luck.  BTW, if any guru spots my inevitable mistakes in the above files,
  71. please feel free to flame me as long as you tell me how to fix it.
  72.  
  73. Greg.
  74. --
  75. My words, not Motorola's.   * ______ *
  76. gpb@gpb-mac.sps.mot.com     * \ BI / * I will NOT ride in the back of the bus.
  77. Greg Berryman (512)928-6014 *  \  /  *         SILENCE = DEATH
  78. Motorola Austin, Texas, USA *   \/   *     First, be true to yourself.
  79.