From owner-freebsd-hackers Sun Sep 14 14:49:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA02405 for hackers-outgoing; Sun, 14 Sep 1997 14:49:03 -0700 (PDT) Received: from usr09.primenet.com (tlambert@usr09.primenet.com [206.165.6.209]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA02399 for ; Sun, 14 Sep 1997 14:49:00 -0700 (PDT) Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id OAA22603; Sun, 14 Sep 1997 14:48:56 -0700 (MST) From: Terry Lambert Message-Id: <199709142148.OAA22603@usr09.primenet.com> Subject: Re: nfs startup - perhaps it is a problem To: joerg_wunsch@uriah.heep.sax.de Date: Sun, 14 Sep 1997 21:48:55 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <19970914142725.EE13458@uriah.heep.sax.de> from "J Wunsch" at Sep 14, 97 02:27:25 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > Who told you this? rlogind does a plain gethostbyaddr(), ... > > > iijppp told me this when I tried to rlogin to myself (actually, rsh) > > to start an xterm under fvwm, and the rlogind did a getpeername(), > > then did a gethostbyaddr() that, for no good reason, sent out DNS > > packets, even though "hosts" appeared before "bin" in /etc/host.conf. > > > > So you could say that it's Empirically true, regardless of theory > > and regardless of what it's supposedly doing. > > This would mean the resolver were broken. Did you tcpdump it? I put the iijpp tcp/ip logging flag on, and watched the port 53 requests go across for an rlogin into myself. Given that it was a completely local connection that should have been handled over the loopback interface (I did use my host name, and not "localhost", however), it issuing reverse lookup requests for my machine instead of getting the data out of /etc/hosts is an error. This is compounded by the fact that I am using a non-routable network, so there's no way in hell a non-local resolver would be able to help me anyway. 8-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.