home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9725 < prev    next >
Encoding:
Text File  |  1992-12-24  |  2.4 KB  |  53 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!haven.umd.edu!news.umbc.edu!umbc4.umbc.edu!paulr
  3. From: paulr@umbc4.umbc.edu (Paul Riddle)
  4. Subject: Re: DNS - Please help.
  5. Message-ID: <1992Dec24.161803.29249@umbc3.umbc.edu>
  6. Sender: newspost@umbc3.umbc.edu (News posting account)
  7. Organization: Univ. of MD, Baltimore County
  8. References: <1h8g7qINN6ga@bigboote.WPI.EDU> <ellis.725110065@nova> <u#91Hu4$kb@atlantis.psu.edu>
  9. Date: Thu, 24 Dec 1992 16:18:03 GMT
  10. Lines: 41
  11.  
  12. In article <u#91Hu4$kb@atlantis.psu.edu> barr@pop.psu.edu (David Barr) writes:
  13. >In article <ellis.725110065@nova> ellis@nova.gmi.edu (Stew Ellis) writes:
  14. >
  15. >>Another unusual
  16. >>feature of Sun's DNS is that you have to have /etc/resolv.conf on your
  17. >>primary DNS server, as well as on all of the clients.
  18. >
  19. >How is this unusual?  This is how BIND 4.8.3 behaves as well.
  20.  
  21. The way I understand it, under Sun's NIS/DNS scheme (4.1.1 at least)
  22. only the NIS servers call the resolver routines, and therefore only
  23. the NIS servers need a resolv.conf file.  If the NIS server doesn't
  24. find what it's looking for in the hosts maps, it calls the resolver.
  25. So, the client just does a NIS lookup and doesn't bother with DNS.
  26.  
  27. >>Finally, the above resolve.conf line has no place on a stock Sun
  28. >>installation.  It might be part of resolv+, but if someone has hacked
  29. >>resolv+ into your site, then you may be on your own getting all of the
  30. >>pieces of NIS and DNS to hang together properly.  I have the stock Sun stuff
  31. >>working just fine.
  32. >
  33. >You're confusing resolv+'s host.conf file and resolv.conf.  The host.conf
  34. >file specifies the resolv order (hosts file, BIND, or NIS), while the
  35. >resolv.conf file specifies _who_ to contact in order.
  36.  
  37. One of the things that has always irked me about SunOS is that there
  38. is no easy way to specify the resolv order.  The NIS/DNS method is a
  39. nice idea in principle, but you can't always use it...  For example,
  40. if you have a heterogeneous network and not all of your NIS servers
  41. support this behavior.  Ultrix's ypserv comes to mind here.
  42.  
  43. In the past I got around this one by building customized shared
  44. libraries that use the resolver routines instead of the NIS routines,
  45. but this is only a partial solution and it has its problems too.
  46.  
  47. Paul
  48. -- 
  49. If found, please return to:         |
  50. Paul Riddle                         | paulr@umbc3.umbc.edu
  51. UMBC, Academic Computing Services   |
  52. Baltimore, MD 21228                 | (410) 455-3860
  53.