home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10848 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!gday!maslen
  2. From: maslen@gday.Eng.Sun.COM (Thomas Maslen)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: DNS & Solaris 2.1
  5. Date: 27 Jan 1993 04:11:08 GMT
  6. Organization: Sun Microsystems Inc., Mountain View, CA
  7. Lines: 39
  8. Distribution: world
  9. Message-ID: <lmc2qsINNq34@exodus.Eng.Sun.COM>
  10. References: <1k4kh2INN1nf@geraldo.cc.utexas.edu>
  11. NNTP-Posting-Host: gday
  12.  
  13. If there's a Solaris 2.x FAQ list, this is probably a candidate...
  14.  
  15. grk@ccwf.cc.utexas.edu (Glenn R. Kronschnabl) writes:
  16. >I am trying to get only DNS running on a SPARC 2 running Solaris 2.1.  From
  17. >the documentation "SunOs 5.1 Administering NIS+ and DNS", I quote:
  18.  
  19. >...copy /usr/lib/libsockdns.so into /usr/lib/libsocket.so ...
  20.  
  21. >Where the heck is libsockdns.so?  I can't find it anywhere.  Its
  22. >not in /usr/lib!
  23.  
  24. The "Setting up DNS clients" chapter of that manual is egregiously out of
  25. date.  Yes, there's a bug filed against it.  The correct procedure is more
  26. like:
  27.  
  28.       -    follow the section headed "Creating resolv.conf"
  29.     (though you probably knew all that anyway),
  30.  
  31.       -    ignore the sections headed "Modifying netconfig" and
  32.     "Copying the dynamic sockets library",
  33.  
  34.       -    instead, whack on /etc/nsswitch.conf;  it's probably easiest 
  35.     to start with the sample file "/etc/nsswitch.files" and change 
  36.     the entry for "hosts" to something like
  37.  
  38.                 hosts: files dns
  39.  
  40.       -    processes that have already read /etc/nsswitch.conf won't see your
  41.     changes until they're restarted.  If you care, the crude but effective
  42.     approach is to reboot.
  43.  
  44. >Glenn R. Kronschnabl
  45. >UT-Austin (but an Aggie at heart!)
  46. >I didn't do it, you didn't see me do it, you can't prove anything!
  47.  
  48. >Internet: grk@ccwf.cc.utexas.edu
  49.  
  50. Thomas Maslen
  51. maslen@eng.sun.com                My opinions, not Sun(Soft)'s
  52.