From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810262.tru64-unix-managers.marc@archive.invalid> From: Zehra Soysert Date: Wed, 12 Feb 1997 14:35:44 +0000 To: tru64-unix-managers Subject: SUMMARY : DNS Search order X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810262 Hello, My original question was : ------------------------------------- I am looking for DNS search order on OSF environment. For example: My computer's name is : alpha.sci.ege.edu.tr when I type telnet teleferik it searches for teleferik.sci.ege.edu.tr and says host unknown. Because domain name of teleferik is eng.ege.edu.tr. I want our system to search for sci.ege.edu.tr eng.ege.edu.tr ..... etc. I know that it is possible on Windows95 (DNS Search order). I wonder if I can do the same thing on DU3.2c. (I don't want to edit /etc/hosts file for all individual hosts) Thanks in advance. ---------------------------------------------- The following people responded quickly , thanks to all. Henrik Johansson Hugh Conner Andrew Gillies Stuart Davidson Gernot Salzer Ian Martin Hans Ranke "Eric Z. Ayers" monica@alpha.qui.uam.es Mark Zander and others who may be now answering.. The solution : replace 'domain' entry in /etc/resolv.conf with: search sci.ege.edu.tr eng.ege.edu.tr Also, Dick Abraham has suggested set a domain variable called LOCALDOMAIN which should set the domain search order. e.g. in csh> setenv LOCALDOMAIN sci.ege.edu.tr eng.ege.edu.tr Thanks to all answers. Zehra Soysert