From owner-freebsd-current Tue Jul 2 10:43:25 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA25077 for current-outgoing; Tue, 2 Jul 1996 10:43:25 -0700 (PDT) Received: from rocky.mt.sri.com ([206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA25072 for ; Tue, 2 Jul 1996 10:43:20 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id LAA15938; Tue, 2 Jul 1996 11:42:55 -0600 (MDT) Date: Tue, 2 Jul 1996 11:42:55 -0600 (MDT) Message-Id: <199607021742.LAA15938@rocky.mt.sri.com> From: Nate Williams To: Christoph Kukulies Cc: nate@mt.sri.com (Nate Williams), freebsd-current@freefall.freebsd.org Subject: Re: name resolution (domainname expansion) In-Reply-To: <199607021745.TAA03532@gilberto.physik.rwth-aachen.de> References: <199607021602.KAA15462@rocky.mt.sri.com> <199607021745.TAA03532@gilberto.physik.rwth-aachen.de> Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > Under 2.1.0-R I can do: > > > > > > ftp ftp.informatik > > > > > > and the system expands this to > > > > > > ftp.informatik.rwth-aachen.de (as one would expect). > > > > > > this doesn't seem to work under 2.2-current. It doesn't work for me under either 2.1R, 2.1.5, or -current on any of my boxes. > > > I'm getting unknown host instead. > > > > Do you have HOSTALIASES set on your 2.1 box? > > If you tell me where it is set. Do you mean in the environment? > No. If you set the HOSTALIASES environment variable to a filename so you can fill the file up with 'alias' for hostnames. If it's not set, check /etc/hosts. ftp.informatik doesn't exist, so whatever is expanding it is local to your 2.1R system. Nate