From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078608810343.tru64-unix-managers.marc@archive.invalid> From: Santosh Krishnan x2815 Date: Mon, 17 Feb 1997 21:30:18 +0000 To: tru64-unix-managers Subject: DNS search order X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078608810343 Hi, Someone had asked a little while ago how to get their machine to search in different domains for a name. For example, if the target machine was a.foo.bar and the machine from which you were trying to reach it was b.bar.foo, how would you set it up so that you would only have to say: telnet b and it should automatically figure out b.bar.foo. Well, I looked in my linux machine and did the same on my alpha and it worked. Basically, in the /etc/resolv.conf file, there's a line that says: domain foo.bar I added the following search foo.bar bar bar.foo Once I did that, it worked like I illustrated above. I hope this helps that person who had asked the question earlier. Sincerely Santosh Krishnan ************************************************* * LINUX System Admin | Phone: (817)272-2815 * *-----------------------------------------------* * Center for High Energy Physics and Technology * * The University of Texas at Arlington * * Arlington, Texas 76019 * *-----------------------------------------------* * Fax: (817)272-2824 * * supervisor@heplinux1.uta.edu * *************************************************