Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!ncar!gatech!usenet.ins.cwru.edu!eagle!opus.lerc.nasa.gov!eddc From: eddc@opus.lerc.nasa.gov (Dave Carek) Newsgroups: comp.sys.sgi Subject: Re: /etc/hosts and /usr/etc/resolv.conf Message-ID: <1991May8.172215.24407@eagle.lerc.nasa.gov> Date: 8 May 91 17:22:15 GMT References: <1991May8.125425.18783@mother.bates.edu> Sender: news@eagle.lerc.nasa.gov Organization: NASA Lewis Research Center [Cleveland] Lines: 27 In article <1991May8.125425.18783@mother.bates.edu> rob@mother.bates.edu (Rob Spellman) writes: >to be a kludge. Is there some way to tell the workstation to first >look in /etc/hosts before trying the nameserver? > If possible, upgrade to 3.3 3.3 has the option to specify the search order in the /usr/etc/resolv.conf file by adding the following line hostresorder local bind This tells it to check the /etc/hosts file before checking the nameserver. I don't know if this option is in 3.2 -- ----------------------------------------------------------------------- | David Carek | phone: 216-433-8396 | | NASA Lewis Research Center | | | Cleveland, Ohio 44135 | email: eddc@opus.lerc.nasa.gov | |---------------------------------------------------------------------| | Engineer -> An innovative imaginative scientist who must design the | | improbable using the impossible on a budget that is invisible | -----------------------------------------------------------------------