home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sys5.r4
- Path: sparky!uunet!gumby!wupost!emory!nntp.msstate.edu!news
- From: fwp@CC.MsState.Edu (Frank Peters)
- Subject: Re: nameserver
- Message-ID: <1993Jan10.175137.12579@ra.msstate.edu>
- Sender: news@ra.msstate.edu
- Nntp-Posting-Host: jester.cc.msstate.edu
- Organization: Computing Center, Mississippi State University
- References: <C0Lxun.D5v@news.rn.com> <4341@wzv.win.tue.nl>
- Date: Sun, 10 Jan 1993 17:51:37 GMT
- Lines: 14
-
- In article <4341@wzv.win.tue.nl> rob@wzv.win.tue.nl (Rob J. Nauta) says:
- :
- : If you use SUNs and DNS via NIS, remember that gethostbyname/uid
- : first use NIS, and if that fails, they use DNS. So put the neccesary
- : names in your NIS hosts file for quick lookups. /etc/hosts on
- : workstations doesn't work since it isn't used anymore when NIS/YP
- : is up and running.
-
- Under SunOS 5.1 you can edit /etc/nsswitch.conf and tell the system to
- search DNS, /etc/hosts and NIS+ in any order you like jut by changing
- the order of entries in the "hosts:" line.
- --
- Frank Peters - UNIX Systems Programmer - Mississippi State University
- Internet: fwp@CC.MsState.Edu - Phone: (601)325-7030 - FAX: (601)325-8921
-