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

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!atlantis.psu.edu!barr
  3. From: barr@pop.psu.edu (David Barr)
  4. Subject: Re: DNS - Please help.
  5. Message-ID: <u#91Hu4$kb@atlantis.psu.edu>
  6. Followup-To: comp.sys.sun.admin
  7. Sender: news@atlantis.psu.edu (Usenet)
  8. Organization: Penn State Population Research Institute
  9. References: <1h8g7qINN6ga@bigboote.WPI.EDU> <ellis.725110065@nova>
  10. Date: Wed, 23 Dec 92 15:30:00 GMT
  11. Lines: 34
  12.  
  13. In article <ellis.725110065@nova> ellis@nova.gmi.edu (Stew Ellis) writes:
  14. >Your NIS server needs to be your DNS server as well.  Our setup has local
  15. >name service tables running on our NIS server and all is well.  In addition,
  16. >if you are running stock Sun, you need to uncomment the B=-b in the yp
  17. >makefile ( /var/yp/Makefile in our case).  TFM says also that you should run
  18. >ypserv -d in your rc.local, but I have been told that this is not necessary
  19. >by some people, and by others that I should be running ypserv -i (an
  20. >undocumented feature of SunOS4.0.3).  Go with ypserv -d.
  21.  
  22. This is wrong.  The man page incorrectly says that the -d option is for
  23. DNS.  It is actually a debug option.  Do not use ypserv -d.
  24.  
  25. >Another unusual
  26. >feature of Sun's DNS is that you have to have /etc/resolv.conf on your
  27. >primary DNS server, as well as on all of the clients.
  28.  
  29. How is this unusual?  This is how BIND 4.8.3 behaves as well.
  30.  
  31. >Finally, the above resolve.conf line has no place on a stock Sun
  32. >installation.  It might be part of resolv+, but if someone has hacked
  33. >resolv+ into your site, then you may be on your own getting all of the
  34. >pieces of NIS and DNS to hang together properly.  I have the stock Sun stuff
  35. >working just fine.
  36.  
  37. You're confusing resolv+'s host.conf file and resolv.conf.  The host.conf
  38. file specifies the resolv order (hosts file, BIND, or NIS), while the
  39. resolv.conf file specifies _who_ to contact in order.
  40.  
  41. Followups to comp.sys.sun.admin.
  42.  
  43. --Dave
  44. -- 
  45. System Administrator, Population Research Institute    barr@pop.psu.edu
  46. #define ENOTTY          25              /* Not a typewriter */
  47.