Date: Mon, 15 Sep 1997 02:41:19 +0100 From: Brian Somers <brian@awfulhak.org> To: Terry Lambert <tlambert@primenet.com> Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG Subject: Re: nfs startup - perhaps it is a problem Message-ID: <199709150141.CAA26286@awfulhak.demon.co.uk> In-Reply-To: Your message of "Sun, 14 Sep 1997 21:48:55 -0000." <199709142148.OAA22603@usr09.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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-(. Does it help if you put entries with trailing dots in /etc/hosts ? 10.0.0.1 my.machine my 10.0.0.1 my.machine. my. > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709150141.CAA26286>