From owner-freebsd-hackers Sun Sep 14 03:23:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA04267 for hackers-outgoing; Sun, 14 Sep 1997 03:23:29 -0700 (PDT) Received: from usr06.primenet.com (tlambert@usr06.primenet.com [206.165.6.206]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA04260 for ; Sun, 14 Sep 1997 03:23:26 -0700 (PDT) Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id DAA15324; Sun, 14 Sep 1997 03:23:22 -0700 (MST) From: Terry Lambert Message-Id: <199709141023.DAA15324@usr06.primenet.com> Subject: Re: nfs startup - perhaps it is a problem To: joerg_wunsch@uriah.heep.sax.de Date: Sun, 14 Sep 1997 10:23:21 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <19970914083149.SG24852@uriah.heep.sax.de> from "J Wunsch" at Sep 14, 97 08:31:49 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Except rlogind ignores the hosts file and does a DNS request > > anyway when attempting to verify the source host for a user, > > even if you have hosts first in host.conf. > > Who told you this? rlogind does a plain gethostbyaddr(), so it will > use whatever address resolving gethostby*() is using. People without > name servers wouldn't be able to use r services at all otherwise. 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. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.