home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / admin / 6767 < prev    next >
Encoding:
Text File  |  1992-12-23  |  3.0 KB  |  83 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!umeecs!nova!ellis
  3. From: ellis@nova.gmi.edu (Stew Ellis)
  4. Subject: Re: DNS - Please help.
  5. Message-ID: <ellis.725110065@nova>
  6. Sender: news@zip.eecs.umich.edu (Mr. News)
  7. Organization: GMI Engineering&Management Institute, Flint, MI
  8. References: <1h8g7qINN6ga@bigboote.WPI.EDU>
  9. Date: Wed, 23 Dec 1992 11:27:45 GMT
  10. Lines: 71
  11.  
  12. broberts@wpi.WPI.EDU (broberts) writes:
  13.  
  14. >I am hoping you can help me with a problem.    I realize that this may have
  15. >been discussed a few hundred times, but I really need the help.
  16. >    
  17. >    Thanks.
  18. >The enviorment:
  19.  
  20. >    1 SUN 4/360 server - NFS NIS
  21. >    1 SUN 3/60  server - NFS
  22. >    4 SUN 1+ NFS/NIS Clients
  23. >    8 SUN IPC NFS/NIS Clients
  24. >    1 SUN 1+ Internet slip DIALUP only gateway - MAIL SERVER
  25.  
  26. >    All of the sun's are running SunOs 4.1.1
  27.  
  28. >The problem:
  29.  
  30. >    I have run through all of the steps to get DNS running correctly
  31. >    for the outside world only.  It works correctly on the 4/360
  32. >    it works fine on 1 IPC.  It works fine on the 1+ to the internet.
  33. >    The rest of the machines have various problems with it.
  34.  
  35. >    A few of the IPC's can't send outgoing mail when configured for
  36. >    DNS all of thir messages are returned by our mail server saying
  37. >    undeliverable.  When reconfigured without DNS their mail goes out
  38. >    fine.
  39.  
  40. >    The 1+'s and the rest of the IPC's have a problem with internal
  41. >    addresses when configured for DNS - They don't see anyone inside
  42. >    the bldg, but can ping the hell out of sun.com.
  43.  
  44. >/etc/resolv.conf has the following line in it.
  45.  
  46. >order nis,local,bind.
  47. >    Any help will be greatly appreciated.
  48.  
  49. >    Thanks
  50.  
  51. Your NIS server needs to be your DNS server as well.  Our setup has local
  52. name service tables running on our NIS server and all is well.  In addition,
  53. if you are running stock Sun, you need to uncomment the B=-b in the yp
  54. makefile ( /var/yp/Makefile in our case).  TFM says also that you should run
  55. ypserv -d in your rc.local, but I have been told that this is not necessary
  56. by some people, and by others that I should be running ypserv -i (an
  57. undocumented feature of SunOS4.0.3).  Go with ypserv -d.  Another unusual
  58. feature of Sun's DNS is that you have to have /etc/resolv.conf on your
  59. primary DNS server, as well as on all of the clients.
  60.  
  61. Finally, the above resolve.conf line has no place on a stock Sun
  62. installation.  It might be part of resolv+, but if someone has hacked
  63. resolv+ into your site, then you may be on your own getting all of the
  64. pieces of NIS and DNS to hang together properly.  I have the stock Sun stuff
  65. working just fine.
  66.  
  67. resolv.conf should look like:
  68.  
  69. domain your.domain
  70. nameserver IP_address_of_primary_nameserver
  71. nameserver IP_address_of_secondary_nameserver
  72.  
  73. You need a resolv.conf on every machine in your net.
  74.  
  75. Hope this works for you.
  76.  
  77.  
  78. --
  79. --                                                        ___________________
  80.   R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765  /   _____  ______ 
  81.   Humanities & Social Science,  GMI Eng.& Mgmt. Inst.   /        / /  /  / /
  82.   Flint, MI 48504      ellis@nova.gmi.edu              /________/ /  /  / /
  83.