home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / sys5 / r4 / 1212 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.unix.sys5.r4
  2. Path: sparky!uunet!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!karl
  3. From: karl@ddsw1.mcs.com (Karl Denninger)
  4. Subject: Re: nameserver
  5. Message-ID: <C0nwt8.qo@ddsw1.mcs.com>
  6. Date: Sun, 10 Jan 1993 23:48:43 GMT
  7. References: <C0Lxun.D5v@news.rn.com> <4341@wzv.win.tue.nl> <1993Jan10.175137.12579@ra.msstate.edu>
  8. Organization: MCSNet, Chicago, IL
  9. Lines: 28
  10.  
  11. In article <1993Jan10.175137.12579@ra.msstate.edu> fwp@CC.MsState.Edu (Frank Peters) writes:
  12. >In article <4341@wzv.win.tue.nl> rob@wzv.win.tue.nl (Rob J. Nauta) says:
  13. >: 
  14. >: If you use SUNs and DNS via NIS, remember that gethostbyname/uid
  15. >: first use NIS, and if that fails, they use DNS. So put the neccesary
  16. >: names in your NIS hosts file for quick lookups. /etc/hosts on
  17. >: workstations doesn't work since it isn't used anymore when NIS/YP
  18. >: is up and running.
  19. >
  20. >Under SunOS 5.1 you can edit /etc/nsswitch.conf and tell the system to
  21. >search DNS, /etc/hosts and NIS+ in any order you like jut by changing
  22. >the order of entries in the "hosts:" line.
  23. >--
  24. >Frank Peters  -  UNIX Systems Programmer  -  Mississippi State University
  25. >Internet: fwp@CC.MsState.Edu  -  Phone: (601)325-7030  -  FAX: (601)325-8921
  26.  
  27. This is rather funny.
  28.  
  29. MIPS has supported this kind of functionality for YEARS in their
  30. /etc/vis.conf" file.  I find it amusing that SunSoft decided to wait until
  31. now to handle what I consider to be a rudimentary requirement.
  32.  
  33. Oh, you also didn't have to reboot to make the changes effective on the
  34. MIPS.  How about on the Sun machines?
  35.  
  36. --
  37. Karl Denninger (karl@ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
  38. Data Line: [+1 312 248-0900]
  39.