From owner-freebsd-current Tue Jul 2 12:22:16 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA02411 for current-outgoing; Tue, 2 Jul 1996 12:22:16 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA02388 for ; Tue, 2 Jul 1996 12:22:06 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA07142; Tue, 2 Jul 1996 21:21:49 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA04100; Tue, 2 Jul 1996 21:21:49 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id VAA12657; Tue, 2 Jul 1996 21:17:44 +0200 (MET DST) From: J Wunsch Message-Id: <199607021917.VAA12657@uriah.heep.sax.de> Subject: Re: name resolution (domainname expansion) To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 2 Jul 1996 21:17:44 +0200 (MET DST) Cc: kuku@gilberto.physik.rwth-aachen.de (Christoph P. Kukulies) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199607021008.MAA02216@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at "Jul 2, 96 12:08:23 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Christoph P. Kukulies wrote: > 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. > > I'm getting unknown host instead. Even if you are not in foo.bar.edu, you should sometimes read the FAQ. :-)) ======================================================================== 10.14. I'm in foo.bar.edu, and I can no longer reach hosts in bar.edu by their short names The current version of BIND that ships with FreeBSD does no longer provide default abbreviations for non-fully qualified domain names other than the domain you are in. So an unqualified host mumble must either be found as mumble.foo.bar.edu, or it will be searched for in the root domain. This is different from the previous behaviour, where the search did continue across mumble.bar.edu, and mumble.edu. Have a look at RFC 1535 for why this has been considered bad practice and even a security hole. As a good workaround, you can place the line search foo.bar.edu bar.edu instead of the previous domain foo.bar.edu into your /etc/resolv.conf. However, make sure that the search order does not go beyond the ``boundary between local and public administration'', as RFC 1535 calls ist. ======================================================================== -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)