home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!nih-csl.dcrt.nih.gov!yog-sothoth.dcrt.nih.gov!jwa
- From: jwa@yog-sothoth.dcrt.nih.gov (James W. Adams)
- Subject: Re: DNS *with* NIS
- Message-ID: <1992Nov23.172622.1847@alw.nih.gov>
- Sender: postman@alw.nih.gov (AMDS Postmaster)
- Organization: National Institutes of Health, Bethesda, MD
- References: <MELLAN.92Nov23171630@syst06.acri.fr>
- Date: Mon, 23 Nov 1992 17:26:22 GMT
- Lines: 27
-
- In article <MELLAN.92Nov23171630@syst06.acri.fr> mellan@syst06.acri.fr (Alain Mellan) writes:
- >My problem is the following:
- >
- >I would like to resolve machines names using DNS, then /etc/hosts,
- >then the NIS. The resolv+ package allow to resolve with DNS and then
- >/etc/hosts.
- >I would like to have in /etc/resolv.conf a line that reads
- >
- > order bind,local,nis
- >
- >Before I start hacking into resolv+, I'd like to know if someone
- >already tried and/or succeeded implementing such a beast.
-
- You don't need to hack anything. Create the file /etc/host.conf
- with the lines:
-
- bind
- hosts
- nis
-
- resolv+ uses this file to determine name resolution order.
-
- --
- James W. Adams -- NIH Scientific Computing Resource Center
- Building 12A, Room 1050 phone: (301) 402-3488
- National Institutes of Health uucp: uunet!nih-csl!jwa
- Bethesda, MD 20892 Internet: jwa@alw.nih.gov
-