tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY : DNS Search order
@ 1997-02-12 14:35 Zehra Soysert
  0 siblings, 0 replies; only message in thread
From: Zehra Soysert @ 1997-02-12 14:35 UTC (permalink / raw)
  To: tru64-unix-managers


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@globecom.net>
Hugh Conner <hmc@cee.hw.ac.uk> 
Andrew Gillies <A.Gillies@cns.ed.ac.uk>
Stuart Davidson <stuart.davidson@eurocontrol.be>
Gernot Salzer <salzer@logic.tuwien.ac.at>
Ian Martin <Ian.Martin@barclays.co.uk> 
Hans Ranke <Hans.Ranke@Regent.E-Technik.TU-Muenchen.DE>
"Eric Z. Ayers" <eric@compgen.com>
monica@alpha.qui.uam.es
Mark Zander <mark.zander@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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-02-12 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-12 14:35 SUMMARY : DNS Search order Zehra Soysert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox