Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ucsfcgl!babar.mmwb.ucsf.edu!srp From: srp@babar.mmwb.ucsf.edu (Scott R. Presnell) Newsgroups: comp.sys.sgi Subject: Re: /etc/hosts and /usr/etc/resolv.conf Message-ID: Date: 11 May 91 03:31:47 GMT References: <1991May8.125425.18783@mother.bates.edu> Sender: daemon@cgl.ucsf.edu Lines: 22 rob@mother.bates.edu (Rob Spellman) writes: >Should I keep this entry for 'localhost' in my nameserver? It seems >to be a kludge. We have a "localhost IN A 127.0.0.1" record in each of our domains. Seems like a reasonably klug thing to do. >Is there some way to tell the workstation to first >look in /etc/hosts before trying the nameserver? Yes, at least in 3.3 there is: make an entry in your resolv.conf: "hostresorder local bind" (remove the quotes). Check the resolver(4) man page on your system for details. I can't remember if 3.2 had this keyword or not. - Scott -- Scott Presnell +1 (415) 476-9890 Pharm. Chem., S-926 Internet: srp@cgl.ucsf.edu University of California UUCP: ...ucbvax!ucsfcgl!srp San Francisco, CA. 94143-0446 Bitnet: srp@ucsfcgl.bitnet