home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aux / 4741 < prev    next >
Encoding:
Internet Message Format  |  1993-01-29  |  3.6 KB

  1. Path: sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!news.iastate.edu!destroyer!caen!saimiri.primate.wisc.edu!ames!sun-barr!west.West.Sun.COM!male.EBay.Sun.COM!news2me.EBay.Sun.COM!seven-up.East.Sun.COM!sixgun.East.Sun.COM!dngsun!dennisg
  2. From: dennisg@dngsun.East.Sun.COM (Dennis Govoni - Federal Area S.E. Vienna Va.)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: setting up named under A/UX 3.0
  5. Date: 27 Jan 1993 19:22:41 GMT
  6. Organization: Sun Microsystems, Inc.
  7. Lines: 102
  8. Distribution: world
  9. Message-ID: <1k6ne1INN6d@sixgun.East.Sun.COM>
  10. References: <C1IK11.JLv@newcastle.ac.uk>
  11. Reply-To: dennisg@dngsun.East.Sun.COM
  12. NNTP-Posting-Host: dngsun.east.sun.com
  13.  
  14. In article JLv@newcastle.ac.uk, N.R.Ellis@newcastle.ac.uk (Nigel R. Ellis) writes:
  15. >Hi,
  16. >
  17. >I've just recently had a stab at setting up the named server on a Quadra 700 running
  18. >A/UX.  Given the manual page entry, supposedly all I have to do is have an entry
  19. >in named.boot such as:
  20. >
  21. >> directory       /etc
  22. >> domain          dur.ac.uk
  23. >> primary         dur.ac.uk       129.234.4.9 129.234.4.11 129.234.4.13
  24. >> cache           .               named.ca
  25.  
  26. Well, for one it says you are the primary server, but you do not have and files that
  27. map names to IP addresses. For a primary server for domain dur.ac.uk you must have
  28. a file that maps names to IP addresses. Also you must have a file that maps IP addresses to
  29. names that uses in-addr.arpa. format.
  30.  
  31. your named.boot should look something like this for a primary server:
  32.  
  33. directory /usr/local/named   /* directory where files are */
  34.  
  35. primary  dur.ac.uk        db.names /* file of names to IP addreses */
  36. primary  4.234.129.in-addr.arpa  db.129.234.4 /* Class B subnetted  IP to names */
  37. primary  0.0.127.in-arpa    db.127.0.0 /* MANDATORY for handling loopback */
  38. cache     .            named.ca   /* Root servers to you! */
  39.  
  40.  
  41. Now in db.names you need:
  42.  
  43. dur.ac.uk.    IN SOA dns2.dur.ac.uk. root.dns2.dur.ac.uk. (
  44.         1 ; Serial
  45.         10800 ; Refresh
  46.         3600 ; Retry
  47.         604800 ; Expiration
  48.         86400 ); Minimum TTL
  49.  
  50. ; name servers
  51.  
  52. dur.ac.uk.        IN NS    dns2.dur.ac.uk.
  53.  
  54. dns2.dur.ac.uk.        IN A    129.234.4.10 ; whatever Name server's addrress is 
  55.  
  56. a.dur.ac.uk.        IN A    129.234.4.11   ; a host in this domain
  57.  
  58.  
  59. /* in db.4.234.129;
  60.  
  61. 4.234.129.in-addr.apra.    IN SOA dns2.dur.ac.uk. root.dur.ac.uk. (
  62.             1 ; Serial
  63.             10800 ; Refresh
  64.             3600 ; Retry
  65.             604800 ; Expiration
  66.             86400 ); Minimum TTL
  67.  
  68.  
  69. 4.234.129.in-addr.arpa.        IN NS    dns2.dur.ac.uk.
  70. 11.4.234.129.in-addr.arpa.    IN PTR   a.dur.ac.uk.
  71.  
  72. ---------------------------------------------------------------------
  73.  
  74. the db.127.0.0 file is a loan SOA record with the loopback address and a PTR to localhost.
  75.  
  76. Please note that the periods *are important* at the end of the names. The above isn't complete
  77. and would take pages to explain. If you need a good reference on DNS I recommend:
  78.  
  79.  
  80.     DNS and BIND
  81.  
  82.     by Paul Albitz and Cricket Liu
  83.  
  84.     It's an O'reilly & Assoc. book
  85.     
  86.  
  87. Oh, the named.boot file for a secondary server is slightly different in that you should substutute "secondary" for "primary" EXCEPT FOR the loopback address.
  88.  
  89. >
  90. >and named.ca contains:
  91. >
  92. >> deneb.dur.ac.uk         86400   IN      A       129.234.4.41
  93. >> dns2.dur.ac.uk          86400   IN      CNAME   hermes.dur.ac.uk
  94. >> dur.ac.uk               120     IN      MX      9 hermes.dur.ac.uk
  95. >> durham.ac.uk            120     IN      MX      9 hermes.dur.ac.uk
  96. >> ...
  97. >
  98. >Ok?  So whay doesn't the blasted thing work?  When I setup my resolve.conf to
  99. >point to my machine:
  100. >
  101. >> nameserver 129.234.202.104
  102. >> domain dur.ac.uk
  103. >
  104. >Any pointers appreciated.
  105. >
  106. >Nigel.
  107.  
  108.  
  109.  
  110. ---
  111. Dennis Govoni                SUN Microsystems, Federal Area, SE
  112. dennis.govoni@East.Sun.COM        2650 Park Tower Drive, Vienna, VA 22180
  113.                     Phone: 1-703-204-4250
  114.                     Fax:   1-703-204-4782
  115.  
  116.