SUMMARY : DNS Search order

From: Zehra Soysert <soysert_at_bornova.ege.edu.tr>
Date: Wed, 12 Feb 1997 17:35:44 +0300 (EET)

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 <hj_at_globecom.net>
Hugh Conner <hmc_at_cee.hw.ac.uk>
Andrew Gillies <A.Gillies_at_cns.ed.ac.uk>
Stuart Davidson <stuart.davidson_at_eurocontrol.be>
Gernot Salzer <salzer_at_logic.tuwien.ac.at>
Ian Martin <Ian.Martin_at_barclays.co.uk>
Hans Ranke <Hans.Ranke_at_Regent.E-Technik.TU-Muenchen.DE>
"Eric Z. Ayers" <eric_at_compgen.com>
monica_at_alpha.qui.uam.es
Mark Zander <mark.zander_at_sheridanc.on.ca>
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 <abrahad_at_govonca.gov.on.ca> 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
Received on Wed Feb 12 1997 - 17:10:29 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT