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

  1. Newsgroups: comp.unix.sys5.r4
  2. Path: sparky!uunet!gumby!wupost!emory!nntp.msstate.edu!news
  3. From: fwp@CC.MsState.Edu (Frank Peters)
  4. Subject: Re: nameserver
  5. Message-ID: <1993Jan10.175137.12579@ra.msstate.edu>
  6. Sender: news@ra.msstate.edu
  7. Nntp-Posting-Host: jester.cc.msstate.edu
  8. Organization: Computing Center, Mississippi State University
  9. References: <C0Lxun.D5v@news.rn.com> <4341@wzv.win.tue.nl>
  10. Date: Sun, 10 Jan 1993 17:51:37 GMT
  11. Lines: 14
  12.  
  13. In article <4341@wzv.win.tue.nl> rob@wzv.win.tue.nl (Rob J. Nauta) says:
  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.